NLP - Word Embeddings
What is wrong with this code snippet for training Word2Vec?
from gensim.models import Word2Vec sentences = [['cat', 'dog'], ['mouse', 'rat']] model = Word2Vec(sentences, size=50, window=3, min_count=1) model.train(sentences, total_examples=2, epochs=10)
