Bashkir LID
A compact language identification model for deciding whether short text is Bashkir or Russian. It is intended for Bashkir corpus filtering and local applications where speed and a small footprint matter.
Usage
from lid import LanguageIdentifier
lid = LanguageIdentifier()
print(lid.predict(["Мин башҡорт телен яратам."]))
Requires onnxruntime and numpy.
Model
Character TF-IDF n-grams (char_wb, 2–4) and a linear classifier exported to ONNX. Training texts are not redistributed.
Limitations
This is a binary ba vs ru classifier. It is not designed to reliably distinguish Tatar, Chuvash, or other languages. Short strings, names, OCR artifacts, and mixed-language text may be ambiguous.
License and provenance
The code and model export are released under Apache-2.0. Training texts remain in the source project and are not included here.
Citation
@software{failed09_bashkir_lid,
title = {Bashkir LID},
author = {failed09},
year = {2026},
publisher = {Hugging Face},
url = {https://huggingface.co/failed09/bashkir-lid}
}
An open-source tool for the Bashkir language.