We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there!
I just realized that at least two changes are necessary for the newest gensim version.
The vocab-field is now a member of wv: thrones2vec.build_vocab(sentences) print("Word2Vec vocabulary-length: ", len(thrones2vec.wv.vocab))
vocab
wv
thrones2vec.build_vocab(sentences)
print("Word2Vec vocabulary-length: ", len(thrones2vec.wv.vocab))
And training now requires some parameters: thrones2vec.train(sentences, total_words=token_count, epochs=100)
thrones2vec.train(sentences, total_words=token_count, epochs=100)
I am not 100% certain if I got those training parameters right. Any chance for you to have a look?
The text was updated successfully, but these errors were encountered:
@llSourcell
These changes are needed. Here is a discussion from google group for gensim - https://groups.google.com/forum/#!topic/gensim/wTGWW1sQNGM
Sorry, something went wrong.
No branches or pull requests
Hi there!
I just realized that at least two changes are necessary for the newest gensim version.
The
vocab
-field is now a member ofwv
:thrones2vec.build_vocab(sentences)
print("Word2Vec vocabulary-length: ", len(thrones2vec.wv.vocab))
And training now requires some parameters:
thrones2vec.train(sentences, total_words=token_count, epochs=100)
I am not 100% certain if I got those training parameters right. Any chance for you to have a look?
The text was updated successfully, but these errors were encountered: