Skip to content

Commit 0e6eb1f

Browse files
fix: missing variable
1 parent 75401ba commit 0e6eb1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

notebooks/example.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,9 +430,10 @@
430430
"outputs": [],
431431
"source": [
432432
"# test the TextEmbedder: it takes as input a tensor of token ids and outputs a tensor of embeddings\n",
433+
"\n",
433434
"text_embedder_output = text_embedder(input_ids=batch[\"input_ids\"], attention_mask=batch[\"attention_mask\"])\n",
434435
"\n",
435-
"print(\"TextEmbedder input: \", text_embedder_input.input_ids)\n",
436+
"print(\"TextEmbedder input: \", batch[\"input_ids\"])\n",
436437
"print(\"TextEmbedder output shape: \", text_embedder_output.shape)"
437438
]
438439
},

0 commit comments

Comments
 (0)