NeuML/language-id
8161
1---2tags:3 - text-classification4 - language-identification5inference: false6license: cc-by-sa-3.07language: multilingual8library_name: staticvectors9---10 11# Language Detection with StaticVectors12 13This model is an export of this [FastText Language Identification model](https://fasttext.cc/docs/en/language-identification.html) for [`staticvectors`](https://github.com/neuml/staticvectors). `staticvectors` enables running inference in Python with NumPy. This helps it maintain solid runtime performance.14 15Language detection is an important task and identification with n-gram models is an efficient and highly accurate way to do it.16 17## Usage with StaticVectors18 19```python20from staticvectors import StaticVectors21 22model = StaticVectors("neuml/language-id")23model.predict(["What language is this text?"])24```25 