-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
save/load_word2vec_format
fails for FastText
models
#1743
Comments
save/load_word2vec_format
fails for FastText
native modelssave/load_word2vec_format
fails for FastText
models
How could this happen? Aren't we testing |
ping @chinmayapancholi13, can you comment this? |
@menshikh-iv Hey Ivan! I don't think I made any changes to the Thanks for your patience. :) |
@menshikh-iv Hi Ivan. I was looking at the codes of the two functions Before I give a shot at trying to solve the problem, I wanted to confirm if this has already been resolved (in case there was some discussion that I was not a part of)? And if not, what is the behavior that we expect for these functions? |
Thanks @chinmayapancholi13, @shiva already fix it in #1755 |
Description
Saving and loading using
save_word2vec_format
andload_word2vec_format
fails for both native FastText models and models loaded using the wrapper.Steps/Code/Corpus to Reproduce
Example:
From a quick glance, it looks like this resulted from the changes made to
FastTextKeyedVectors
during the native implementation ofFastText
where two different matrices -syn0_vocab
andsyn0_ngrams
were created.Although, I'm not sure
save_word2vec_format
is even suitable forFastText
seeing as how the ngram vectors aren't stored to disk.The text was updated successfully, but these errors were encountered: