Word2vec basic.py: Difference between revisions
From Algolit
Line 1: | Line 1: | ||
− | [[File:Tsne20.png|thumb|right]] | + | [[File:Tsne20.png|thumb|right|Graph generated by the word2vec_basic.py example script, trained on the book "Mankind in the Making" by H.G. Wells (http://www.gutenberg.org/ebooks/7058).]] |
The following annotated script is based on the Word2Vec tutorial provided by Tensorflow: https://www.tensorflow.org/tutorials/word2vec. | The following annotated script is based on the Word2Vec tutorial provided by Tensorflow: https://www.tensorflow.org/tutorials/word2vec. | ||
Revision as of 16:12, 3 October 2017
The following annotated script is based on the Word2Vec tutorial provided by Tensorflow: https://www.tensorflow.org/tutorials/word2vec.
Source
- original source in the script: http://mattmahoney.net/dc/text8.zip
- Mankind in the Making by H. G. Wells - http://www.gutenberg.org/ebooks/7058