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"))
Right now because of some commit of numpy the use can have some problems with model.predict()
model.predict()
· Sign up or log in to comment