fasttext-language-detection-en
FastText model to classify standard English and local English.
how to use
from huggingface_hub import hf_hub_download
import fasttext
filename = hf_hub_download(
repo_id="mesolitica/fasttext-language-detection-en",
filename="fasttext.ftz"
)
lang_model = fasttext.load_model(filename)
lang_model.predict('hello my name', k = 10)
Output,
(('__label__standard-english', '__label__local-english', '__label__other'),
array([0.85033566, 0.09981849, 0.04988486]))
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
🙋
Ask for provider support