Skip to content
New issue

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

Minor changes for gensim 2.0.0 #5

Open
PDLBDeveloper opened this issue Apr 21, 2017 · 1 comment
Open

Minor changes for gensim 2.0.0 #5

PDLBDeveloper opened this issue Apr 21, 2017 · 1 comment

Comments

@PDLBDeveloper
Copy link

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))

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?

@adityamehra
Copy link

@llSourcell

These changes are needed. Here is a discussion from google group for gensim -
https://groups.google.com/forum/#!topic/gensim/wTGWW1sQNGM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants