Closed hkhatod closed 6 years ago
Should you be using model.embed instead of model.embed_matrix on line 129 of file 04_word2vec_visualize.py ?
embed is the embedding of only the current batch of center words. we want to visualize the most frequent words, so we extract their embedding from embed_matrix.
Should you be using model.embed instead of model.embed_matrix on line 129 of file 04_word2vec_visualize.py ?