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
Upload model.ftz
Browse filesmodel.ftz is a quantized version of the original model.bin.
This is the model that is referred to here
> This LID (Language IDentification) model is used to predict the language of the input text, and the hosted version (lid218e) was released as part of the NLLB project and can detect 217 languages.