We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75cc435 commit d1987efCopy full SHA for d1987ef
1 file changed
notebooks/example.ipynb
@@ -430,9 +430,10 @@
430
"outputs": [],
431
"source": [
432
"# test the TextEmbedder: it takes as input a tensor of token ids and outputs a tensor of embeddings\n",
433
+ "\n",
434
"text_embedder_output = text_embedder(input_ids=batch[\"input_ids\"], attention_mask=batch[\"attention_mask\"])\n",
435
"\n",
- "print(\"TextEmbedder input: \", text_embedder_input.input_ids)\n",
436
+ "print(\"TextEmbedder input: \", batch[\"input_ids\"])\n",
437
"print(\"TextEmbedder output shape: \", text_embedder_output.shape)"
438
]
439
},
0 commit comments