Open rottik opened 7 years ago
Thanks for the note, I'd see if I can update the code soon.
On Jul 11, 2017 11:19 AM, "Michal Rott" notifications@github.com wrote:
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.loadword2vec
format(config['word2vec_model'], binary=True ) self.word2vec_model = models.KeyedVectors.load_word2vec_format(config['word2vec_model'], binary=True)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ng-j-p/rouge-we/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/ABgNLkuIQiL4JHjt07wBM26WFMdNfXiyks5sM5J3gaJpZM4OUZhQ .
Hi, this function
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)