Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. # Train your word2vec with Gensim
  2. model = Word2Vec(sentences = sentences, size=100, window=7, min_count=100, workers=8, seed=1234, iter=25, callbacks=callbacks)
  3.  
  4. model.wv.most_similar('milk')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement