Runyambo MT (lite)
Authors: Zephania and Isack Odero
Swahili → Runyambo (Orunyambo) lexical / phrase MT. Fine-tuned from NLLB-200 distilled 1.3B (bakeoff sibling to the quality 600M SKU).
Prefer nileagi/nileagi-nym-mt as the default promote; use lite when you want the larger backbone.
| Quality sibling | nileagi/nileagi-nym-mt |
| Reverse | nileagi/nileagi-nym-mt-rev |
| Collection | nileagi/nileagi-nym |
| Technical report | TECHNICAL_REPORT.tex |
Summary
| Task | Lexical / phrase MT |
| Direction | Swahili → Runyambo |
| Language codes | swh_Latn → nym_Latn |
| Base | facebook/nllb-200-distilled-1.3B |
| Primary metric | chrF2 |
| Test chrF2 | 16.6 (BLEU 3.4 · exact 0.2%) |
Identity baseline (copy Swahili) ≈ chrF2 8.0. Tied with quality on primary chrF2; small BLEU / exact edge over 600M.
How to use
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("nileagi/nileagi-nym-mt-lite", use_fast=False)
model = AutoModelForSeq2SeqLM.from_pretrained("nileagi/nileagi-nym-mt-lite")
tok.src_lang = "swh_Latn"
inputs = tok("habari", return_tensors="pt")
bos = tok.convert_tokens_to_ids("nym_Latn")
out = model.generate(**inputs, forced_bos_token_id=bos, max_new_tokens=64)
print(tok.decode(out[0], skip_special_tokens=True))
Always set swh_Latn and force BOS nym_Latn.
HTTP API
Port 8096 with NILEAGI_MT_SKU=lite (nileagi-nym-mt-api).
Intended use / out of scope
Same as the quality card: lexical / short-phrase research only — not sentence MT, not English→Runyambo, not commercial without a NileAGI licence.
Access
Weights are gated under CC BY-NC-SA 4.0.
Attribute NileAGI. Adapted weights must stay CC BY-NC-SA 4.0. Commercial: hi@nileagi.com.
License
Weights: CC BY-NC-SA 4.0.
See LICENSE and NOTICE.md.
Citation
@misc{nileagi-nym-mt-lite-2026,
title = {Runyambo machine translation lite (Swahili to Runyambo)},
author = {Zephania and Isack Odero},
year = {2026},
howpublished = {Hugging Face},
url = {https://huggingface.co/nileagi/nileagi-nym-mt-lite},
note = {NileAGI}
}