Skip to content

Models Incompatible with Gensim-3.8.x and later #5

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

Open
andrew-certora opened this issue Sep 8, 2023 · 1 comment
Open

Models Incompatible with Gensim-3.8.x and later #5

andrew-certora opened this issue Sep 8, 2023 · 1 comment

Comments

@andrew-certora
Copy link

I am trying to run your tool to try it out, but I am running into an issue with gensim when I try to run the app in todo/app.py​. My gemsim package version is gemsim-3.2.0, and I get this error:

TypeError: Pre-gensim-3.8.x fastText models with nonstandard hashing are no longer compatible. Loading your old model into gensim-3.8.3 & re-saving may create a model compatible with gensim 4.x.

It looks like your pre-trained models used an older version of gemsim. I tried rolling back my gemsim version but then I just run into other compatibility issues. Have you given any though to trying to update your pre-trained models to work with the latest version of gemsim? Or do you have any other suggestions about how to get around this issue?

@beyondacm
Copy link
Owner

For those who had compatible issues, I checked the specific versions of SmartEmbed as follows:
('flask:', '1.1.4')
('wtforms:', '2.3.3')
('pymysql:', '0.10.1')
('numpy:', '1.16.1')
('scipy:', '1.2.1')
('gensim:', '3.8.3')
('sys:', '2.7.18 |Anaconda, Inc.| (default, Apr 23 2020, 22:42:48) \n[GCC 7.3.0]')
For sure, we will update SmartEmbed to the latest version of gensim as soon as possible! :)

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