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

new version of gensim #2

Open
rottik opened this issue Jul 11, 2017 · 1 comment
Open

new version of gensim #2

rottik opened this issue Jul 11, 2017 · 1 comment

Comments

@rottik
Copy link

rottik commented Jul 11, 2017

Hi,
this function

models.Word2Vec.load_word2vec_format

is deprecated in new gensim.
It's solved by replacing Word2Vec by KeyedVectors.
#self.word2vec_model = models.Word2Vec.load_word2vec_format(config['word2vec_model'], binary=True )
self.word2vec_model = models.KeyedVectors.load_word2vec_format(config['word2vec_model'], binary=True)

@ng-j-p
Copy link
Owner

ng-j-p commented Jul 11, 2017 via email

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