CoolFace
Modelpublic

NeuML/language-id

sourceHugging Facecc-by-sa-3.0updated 2y agoView on Hugging Face
8likes155downloads
Model Card

Language Detection with StaticVectors

This model is an export of this FastText Language Identification model for `staticvectors`. staticvectors enables running inference in Python with NumPy. This helps it maintain solid runtime performance.

Language detection is an important task and identification with n-gram models is an efficient and highly accurate way to do it.

Usage with StaticVectors

python
from staticvectors import StaticVectors

model = StaticVectors("neuml/language-id")
model.predict(["What language is this text?"])