Skip to content

Commit 3eee2a0

Browse files
authored
Add a note to the word2vec negative sampling outside the main diagram
1 parent 626c491 commit 3eee2a0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

site/en/tutorials/text/word2vec.ipynb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,15 @@
615615
"![word2vec_negative_sampling](https://tensorflow.org/tutorials/text/images/word2vec_negative_sampling.png)"
616616
]
617617
},
618+
{
619+
"cell_type": "markdown",
620+
"metadata": {
621+
"id": "37e53f07f67c"
622+
},
623+
"source": [
624+
"Notice that words `temperature` and `code` are not part of the input sentence. They belong to the vocabulary like certain other indices used in the diagram above."
625+
]
626+
},
618627
{
619628
"cell_type": "markdown",
620629
"metadata": {

0 commit comments

Comments
 (0)