Kashmir AI Research NLLB-600M Kashmiri→English (CTranslate2 int8)
NLLB-200 distilled 600M fine-tuned for Kashmiri (Perso-Arabic script) → English by Kashmir AI Research, exported to CTranslate2 int8 for CPU inference. It powers the free Kashmiri to English translator.
Kashmir AI Research builds language technology for Kashmiri: benchmarks, open parallel data and Kashmiri↔English machine translation. Its ICRTC-2026 paper on Kashmiri MT received the conference's Best Paper Award (paper). More at kashmirairesearch.online and in the Kashmiri NLP resource hub.
Training
- Base:
facebook/nllb-200-distilled-600M - Data: 93,064 Kashmiri–English pairs from AI4Bharat BPCC
(
kas_Arab), after deduplication, length and script filtering, and removal of any sentence appearing in the evaluation sets below - Full fine-tune, Adafactor lr 1e-4, 2 epochs, effective batch 32, max 128 tokens (Kaggle T4)
Evaluation (KashEval v1, beam 4)
| Test set | Zero-shot NLLB-600M | This model |
|---|---|---|
| FLORES-200 devtest (1,012) | 28.51 BLEU | 32.16 BLEU / 59.14 chrF |
| Google SMOL (863) | 15.19 | 20.12 / 46.89 |
| IN22-Gen (1,024) | 25.52 | 33.69 |
| IN22-Conv (1,503) | 17.94 | 30.73 |
IN22 scores were measured on the full-precision checkpoint; int8 matched full precision within ±0.3 BLEU on FLORES and SMOL. BPCC and IN22 are both AI4Bharat resources, so part of the IN22 gain reflects domain similarity. SMOL is the most independent test.
More from Kashmir AI Research
- Kashmiri AI, area by area · All Kashmiri datasets · Kashmiri speech
- English to Kashmiri: what works today · Publications and research programme
- Kashmiri NLP Resource Hub: 200+ Kashmiri datasets, models, papers and tools, each with a citation
Usage
Build the source as kas_Arab <pieces> </s> and force eng_Latn as the target prefix. Some
transformers versions (5.0) silently drop NLLB's language tag, which costs about 8 BLEU, so
don't rely on the tokenizer's template.
import ctranslate2
from tokenizers import Tokenizer
from huggingface_hub import snapshot_download
path = snapshot_download("Faizanayub/kashmirai-nllb600m-ks-en-ct2")
tr = ctranslate2.Translator(path, device="cpu", compute_type="int8")
tok = Tokenizer.from_file(f"{path}/tokenizer.json")
src = "سُہ چھُ آز اکھ کامیاب ویب ڈزاینَر۔"
tokens = ["kas_Arab"] + tok.encode(src, add_special_tokens=False).tokens + ["</s>"]
out = tr.translate_batch([tokens], target_prefix=[["eng_Latn"]], beam_size=4)[0].hypotheses[0]
print(tok.decode([tok.token_to_id(t) for t in out[1:]], skip_special_tokens=True))
# He is a successful web designer today.
Limitations
- Kashmiri→English only; Perso-Arabic script only.
- Weaker on poetry, idioms, rare words and very long sentences (SMOL ≈ 20 BLEU). Treat output as a draft.
- Confidence (exp of the length-normalised beam score) below ~0.55 flags the least reliable ~11% of sentences (r = 0.73 with sentence chrF).
License and credit
CC-BY-NC-4.0, inherited from NLLB-200. Non-commercial use only. Credit Meta AI (NLLB-200), AI4Bharat (BPCC, IN22), Google (SMOL) and the FLORES-200 authors.
Citation
@misc{kashmirairesearch2026nllb600m,
title = {Kashmir AI Research NLLB-600M Kashmiri→English},
author = {Ayoub, Faizan},
year = {2026},
howpublished = {\url{https://huggingface.co/Faizanayub/kashmirai-nllb600m-ks-en-ct2}},
note = {Kashmir AI Research, https://kashmirairesearch.online}
}