Runyambo MT (reverse)
Authors: Zephania and Isack Odero
Runyambo → Swahili lexical / phrase MT. Fine-tuned from NLLB-200 distilled 1.3B (bakeoff winner for this direction).
| Forward (quality) | nileagi/nileagi-nym-mt |
| Forward (lite) | nileagi/nileagi-nym-mt-lite |
| Collection | nileagi/nileagi-nym |
| Technical report | TECHNICAL_REPORT.tex |
Summary
| Task | Lexical / phrase MT |
| Direction | Runyambo → Swahili |
| Language codes | nym_Latn → swh_Latn |
| Base | facebook/nllb-200-distilled-1.3B |
| Primary metric | chrF2 |
| Test chrF2 | 13.6 · exact 7.8% |
| Identity baseline | ≈ chrF2 6.0 |
Bakeoff (same test): NLLB-600M 13.3 / Tiny Aya LoRA 10.3.
How to use
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("nileagi/nileagi-nym-mt-rev", use_fast=False)
model = AutoModelForSeq2SeqLM.from_pretrained("nileagi/nileagi-nym-mt-rev")
tok.src_lang = "nym_Latn"
inputs = tok("o bwongo", return_tensors="pt")
bos = tok.convert_tokens_to_ids("swh_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 nym_Latn and force BOS swh_Latn.
HTTP API
Port 8097 (nileagi-nym-mt-rev-api).
Intended use
- Lexicon lookup / short phrase Runyambo → Swahili
- Research on low-resource Bantu MT
Out of scope
- Full-sentence or document translation
- Direct English ↔ Runyambo
- Chat, legal, medical, news
- Commercial products without a NileAGI licence
Limitations
Lexical / short-phrase domain only. Not sentence MT. Mid-teens chrF2 is above identity, not production-ready.
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-rev-2026,
title = {Runyambo machine translation (Runyambo to Swahili)},
author = {Zephania and Isack Odero},
year = {2026},
howpublished = {Hugging Face},
url = {https://huggingface.co/nileagi/nileagi-nym-mt-rev},
note = {NileAGI}
}