Closed Raidus closed 3 years ago
Hello, it seems like gensim's api has changed, will have a look asap
On Sat, 13 Feb 2021, 19:48 Wilhelm Raider, notifications@github.com wrote:
Hi,
when using fasttext in google colab, I'll get the error module 'gensim.models.fasttext' has no attribute 'load_facebook_vectors'
Any idea?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SkBlaz/rakun/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMSEREZNXVTWQ7EJNV7DMTS63COFANCNFSM4XSMZCZA .
hello @Raidus , it seems gensim's API is fine, see the example. Which version are you using?
@SkBlaz I am using version 3.6.0 in colab.
While it has been a bit, I wanted to pop in to say that while the requirements file targets gensim >= 3.8.0
, Colab installs 3.6.0
(which isn't proper). So a quick solution is to just run ! pip3 install --upgrade gensim
(to upgrade to the current v4.0.1
) and things should be back up and running.
This was indeed the issue. As the requirements are clearly stated, I think we can safely close this one.
Hi,
when using fasttext in google colab, I'll get the error
module 'gensim.models.fasttext' has no attribute 'load_facebook_vectors'
Any idea?