Instructions to use facebook/fasttext-language-identification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- fastText
How to use facebook/fasttext-language-identification with fastText:
from huggingface_hub import hf_hub_download import fasttext model = fasttext.load_model(hf_hub_download("facebook/fasttext-language-identification", "model.bin")) - Notebooks
- Google Colab
- Kaggle
Difference from the official site and License
Hi,
Thanks for sharing this model.
What is the diffrence between this model and those published on https://fasttext.cc/docs/en/language-identification.html ?
It seems significantly bigger, and with MIT license now.
Hi @AdielC thank you for your comment. This is the latest model as noted here. We'll fix the LICENSE field and update documentation (both here and the official fastText website) about those differences. Thanks again!
The model page has been updated with information about older models. To clarify, the NLLB project was under MIT License whereas this new LID model (which was released as part of the NLLB project) is under cc-by-nc-4.0. The official fastText website will be updated accordingly β thanks again for your comment!