You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I would like to apply the accuracy method from run_embed.py on a word2vec model that I load using Word2VecKeyedVectors.load_word2vec_format(), but it gives me an AttributeError: 'KeyedVectors' object has no attribute 'dictionary'.
What is the correct way to load a model to apply the script?
Thank you
The text was updated successfully, but these errors were encountered:
Hi Radim,
You want me to try to tackle that?
I'm flattered, but I'm not sure that I understand sufficiently how the new
gensim models have changed. What are they before, versus now?
Thanks!
Sasha
On Wed, Apr 4, 2018, 13:48 Radim Řehůřek, ***@***.***> wrote:
Sorry, I don't think this repo has been updated in 3 years.
It shouldn't be too difficult to update the accuracy method here to work
with the newer gensim models -- a PR will be welcome!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANjEItYw7_c3-UDL6BW3_JkNNSrf8qOMks5tlQdVgaJpZM4TGyGK>
.
Hi,
I would like to apply the accuracy method from run_embed.py on a word2vec model that I load using Word2VecKeyedVectors.load_word2vec_format(), but it gives me an AttributeError: 'KeyedVectors' object has no attribute 'dictionary'.
What is the correct way to load a model to apply the script?
Thank you
The text was updated successfully, but these errors were encountered: