-
-
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
Gensim 3.1.0 Phrase loader incompatible with older models due to introduction of common_terms #1751
Comments
Thanks for the report @dldx . Ping @alexgarel, can you fix the |
hi @menshikh-iv, I can do it. But should I base on master or develop ? |
@alexgarel |
* backward compatibility for Phrases models without common_terms * Phraser also needs compatible load for versions without scoring or common_terms * minor: simplify persitence tests in test_phrases by using a context manager for temporary file management * using six for python compatibility in phrases * better tests for phrases load backward compatibility (this also fix a bug in loading phrases model before scoring). Also moving temporary_file context manager in gensim.test.utils * pep8 fix * fix imports, reuse datapath * remove unused import
Thanks for the quick fix! |
Had the same issue. Helped me a bit, still heading around. |
@Raghuvar please update your gensim version to latest |
@menshikh-iv Done it and got rid of the issues. Now it's working great. |
@Raghuvar say thanks to @alexgarel (it's a fix from him) :) |
I have a Phrases model that was computed using Gensim 2.2.0 but because of changes in 3.1.0 (I believe), I cannot load it anymore. This is the error I get:
Cheers!
The text was updated successfully, but these errors were encountered: