Fasttext still maintained ? - Numpy compatibility issue

103 views
Skip to first unread message

B Thomas

unread,
Jun 19, 2024, 5:19:19 AMJun 19
to fastText library
Hi All,

I am not aware of any announcements that fasttext is no longer supported. However I just noticed that on Mar 19, 2024 fasttext github repository has been set to a read only archive.
Can anyone confirm that this means fasttext is no longer maintained and hence will no longer accept patches.

Note - fasttext specifies that it depends on "numpy" rather than "numpy < 2.0". The recent release of Numpy 2 seems to have broken fasttext. This results in an error such as

Unable to avoid copy while creating an array as requested.\nIf using `np.array(obj, copy=False)` replace it with `np.asarray(obj)` to allow a copy when needed (no behavior change in NumPy 1.x).\nFor more details, see https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword.

File FastText.py\", line 232, in predict
   return labels, np.array(probs, copy=False)

Juho Inkinen

unread,
Jul 5, 2024, 6:39:12 AMJul 5
to fastText library
Hi!

It certainly seems that Meta silently dropped support of fastText.

Lately we have been installing fastText for Python from https://github.com/messense/fasttext-wheel, but I assume that won't be updated for NumPy compatibility issues etc.

If anyone knows of a well maintained fastText fork, please inform about it!

-Juho
Reply all
Reply to author
Forward
0 new messages