Views
No views yet
nri, Glottocode: chok1243) is a Tibeto-Burman language spoken by approximately 100,000 people in Phek District, Nagaland, northeast India. It belongs to the Angami sub-group of the Kuki-Chin-Naga branch branch of the Sino-Tibetan language family and was not supported by any prior machine translation system.| Base model | facebook/nllb-200-distilled-600M |
| Architecture | Encoder-decoder (M2M-100 based) |
| Parameters | ~600M (distilled) |
| Training data | ~8,000 verified human-translated Chokri–English sentence pairs |
| Primary corpus | Chokri New Testament (Bible Society of India, NAG5BSI) |
| Institutional partner | Chakhesang Chokri Literature Board (CCLB) |
| Script | Latin-based practical orthography |
| Word order | SOV (Subject–Object–Verb) |
1from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
2
3model_name = "knbliss/chokri-nllb-finetuned"
4tokenizer = AutoTokenizer.from_pretrained(model_name)
5model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
6
7# Chokri → English
8# Note: model uses "lus_Latn" (Mizo) as a proxy token for Chokri during training
9inputs = tokenizer("U nü bazo ho.", return_tensors="pt", src_lang="lus_Latn")
10translated = model.generate(
11 **inputs,
12 forced_bos_token_id=tokenizer.convert_tokens_to_ids("eng_Latn"),
13 num_beams=4,
14 max_new_tokens=128,
15 no_repeat_ngram_size=3,
16 repetition_penalty=1.5
17)
18print(tokenizer.batch_decode(translated, skip_special_tokens=True))
19
20# English → Chokri
21inputs = tokenizer("Where are you going?", return_tensors="pt", src_lang="eng_Latn")
22translated = model.generate(
23 **inputs,
24 forced_bos_token_id=tokenizer.convert_tokens_to_ids("lus_Latn"),
25 num_beams=4,
26 max_new_tokens=128,
27 no_repeat_ngram_size=3,
28 repetition_penalty=1.5
29)
30print(tokenizer.batch_decode(translated, skip_special_tokens=True))nri (Chokri) was absent from NLLB-200's original vocabulary, this model uses lus_Latn (Mizo) as a proxy language token. Mizo is a closely related Tibeto-Burman language that also uses Latin script, making it the best available proxy in the NLLB token space.facebook/nllb-200-distilled-600M on ~8,000 verified human-translated Chokri–English sentence pairs. The primary training corpus is the Chokri New Testament (Bible Society of India), supplemented by community-contributed sentence pairs collected through a live data pipeline with active contributors and reviewers.1@misc{nienu2025chokri,
2 author = {Nienu, Kuyi},
3 title = {Chokri--English Translation Model},
4 year = {2025},
5 publisher = {Hugging Face},
6 url = {https://huggingface.co/knbliss/chokri-nllb-finetuned}
7}