Closed poke1024 closed 2 years ago
Yes, thank you for the report! I'll try to update it
Any updates on this! We were hoping to use this awesome library in our stack but we are using v4+ of gensim
.
Actually, the migration to gensim 4.0.0+ is turned to be harder than expected. Gensim has completely rewritten the internal API of their models, and it will require lots of duct tape to adapt the library to these changes while still supporting the models that have already been compressed and published.
@poke1024 @desilinguist, I would appreciate if you helped to write or at least review a pull request with this migration: https://github.com/avidale/compress-fasttext/pull/7
You can test new Gensim by pip install git+https://github.com/avidale/compress-fasttext@gensim-4
, but please make sure that you are using the models that are supported by new Gensim.
I'll be happy to contribute and/or review.
@desilinguist @poke1024 I have updated the library: its 0.1.0
version is based on gensim>=4.0.0
.
However, for some models previously compressed, the backward compatibility is lost. You still can use them with compress-fasttext==0.0.7
.
Please give a try to the new version and open new issues if something undesirable happens.
At the moment, this seems not to work with gensim 4.0.0. Any plans to fix this?