Instructions to use lopatnov/fasttext-language-id with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- fastText
How to use lopatnov/fasttext-language-id with fastText:
from huggingface_hub import hf_hub_download import fasttext model = fasttext.load_model(hf_hub_download("lopatnov/fasttext-language-id", "model.bin")) - Notebooks
- Google Colab
- Kaggle
| language: multilingual | |
| tags: | |
| - fasttext | |
| datasets: | |
| - wikipedia | |
| - tatoeba | |
| - setimes | |
| license: cc-by-sa-4.0 | |
| library_name: fasttext | |
| inference: false | |
| ## FastText model for language identification | |
| This is duplicate of [julien-c/fasttext-language-id](https://huggingface.co/julien-c/fasttext-language-id/tree/0266da4549434de56667387618bc67dc6d2670ef) for the project: <https://github.com/lopatnov/translate> | |
| #### ♻️ Imported from https://fasttext.cc/docs/en/language-identification.html | |
| > [1] A. Joulin, E. Grave, P. Bojanowski, T. Mikolov, Bag of Tricks for Efficient Text Classification | |
| ```bibtex | |
| @article{joulin2016bag, | |
| title={Bag of Tricks for Efficient Text Classification}, | |
| author={Joulin, Armand and Grave, Edouard and Bojanowski, Piotr and Mikolov, Tomas}, | |
| journal={arXiv preprint arXiv:1607.01759}, | |
| year={2016} | |
| } | |
| ``` | |
| > [2] A. Joulin, E. Grave, P. Bojanowski, M. Douze, H. Jégou, T. Mikolov, FastText.zip: Compressing text classification models | |
| ```bibtex | |
| @article{joulin2016fasttext, | |
| title={FastText.zip: Compressing text classification models}, | |
| author={Joulin, Armand and Grave, Edouard and Bojanowski, Piotr and Douze, Matthijs and J{\'e}gou, H{\'e}rve and Mikolov, Tomas}, | |
| journal={arXiv preprint arXiv:1612.03651}, | |
| year={2016} | |
| } | |
| ``` |