SmartEmbed
SmartEmbed copied to clipboard
Models Incompatible with Gensim-3.8.x and later
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?
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! :)