Request access

Describe your intended use below. Downloads unlock after approval.

Weights are released under CC BY-NC-SA 4.0 for non-commercial research and education. Credit NileAGI, keep adaptations under the same licence, and contact us before any commercial product or paid service. Do not use the model to harm people, break the law, or present outputs as human writing.

Log in or Sign Up to review the conditions and access this model content.

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.

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}
}
Downloads last month
-
Safetensors
Model size
1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including nileagi/nileagi-nym-mt-lite