Duplicated from cis-lmu/glotlid
How to use lopatnov/glotlid with fastText:
from huggingface_hub import hf_hub_download import fasttext model = fasttext.load_model(hf_hub_download("lopatnov/glotlid", "model.bin"))
564c73c
1
2
3
4
version https://git-lfs.github.com/spec/v1 oid sha256:a818b6bd42a628ab47d3dfc1578c7ea615c45381f3494c42535e31e8c4cafc9e size 1687094687