luso-mt-small

luso-mt-small translates between English and Chichewa, and between English and Tumbuka, in a single 87.7M-parameter model built for apps that need the best quality on a phone. It is part of the luso-mt family (luso-mt-tiny, luso-mt-small, luso-mt-3b), released by Rexplore Research Labs under Apache-2.0.

Announcement: rexplore.ai/blog/introducing-luso-mt · Technical report: rexplore.ai/blog/luso-mt-technical-report · Benchmark (all test outputs and scores): suru8-ai/luso-mt-benchmark

How to use

from transformers import AutoModelForSeq2SeqLM, AutoTokenizer

tok = AutoTokenizer.from_pretrained("suru8-ai/luso-mt-small")
model = AutoModelForSeq2SeqLM.from_pretrained("suru8-ai/luso-mt-small")

def translate(text, to):          # to: "en", "ny" (Chichewa) or "tum" (Tumbuka)
    batch = tok(f"<2{to}> {text}", return_tensors="pt")
    out = model.generate(**batch, num_beams=4, max_new_tokens=192)
    return tok.decode(out[0], skip_special_tokens=True)

print(translate("Where is the nearest clinic?", "ny"))

The target language is the tag at the start of the input (<2en>, <2ny>, <2tum>); the source language is not needed. Outputs of this checkpoint for a few inputs (beam 4):

Input Output
<2ny> Where is the nearest clinic? Kodi chipatala chapafupi ndi chakuti?
<2en> Kodi chipatala chapafupi chili kuti? Where is the nearby hospital?
<2tum> The rains came early this year. Mvula yikafika kukwambilira kwa chaka ichi.
<2ny> Please wash your hands before eating. Please wash your hands before eating.
<2tum> Where is the nearest clinic? Kasi chipatala icho chili pafupi chomene chili kuti?
<2en> Gandhi nayo akagomezganga mundondomeko ya vyachuma nakulondezga nthowa zambula viwawa. Gandhi also believed in the economic system and followed non-violent methods.

Model details

Architecture encoder-decoder Transformer, T5 v1.1 form (RMSNorm, gated-GELU, relative positions), deep encoder / shallow decoder
Size d_model 512, heads 8 × 64, d_ff 2048, 12 encoder layers, 4 decoder layers
Parameters 87.7M (tied input and output embeddings)
Vocabulary 32,000 SentencePiece unigram pieces shared by English, Chichewa and Tumbuka
Training from scratch by sequence-level knowledge distillation from MADLAD-400 3B fine-tuned on our data
File size 350.9 MB (fp32), 153.5 MB with int8 dynamic quantisation
CPU speed 2.96 sentences/s greedy, 3.11 with beam 4, 7.28 int8 greedy (8 vCPU, batch 1, news sentences)
Developed by Byamasu Patrick Paul, Rexplore Research Labs (Lilongwe, Malawi)
Licence Apache-2.0

Training data

Only the public-source partition of our corpus was used:

  • Malawian Chichewa web text (news, blogs, Wikipedia): 90,441 pairs, English by machine translation (Gemini 3.8 Flash, Gemma 3 27B);
  • Tumbuka Wikipedia and Tumbuka news sites: about 50,000 pairs, English by machine translation (Gemini 3.8 Flash);
  • professional translations from SMOL (Google, CC-BY-4.0);
  • the teacher's translations of the same sources (285,952).

Every pair is used in both directions; machine-made source sentences are tagged (<bt>). Text whose terms do not permit redistribution (the restricted partition, used only for luso-mt-3b) was not used. Test and development sentences, and any training pair sharing an 8-word window with them, were removed before training. The dataset is not released.

Evaluation

Held-out test sets: NTREX-128 news (500 sentences, en ↔ ny) and SMOL everyday sentences (500 sentences, en ↔ tum). chrF++ / BLEU (sacreBLEU), beam 4. Every system's outputs on these sentences are in suru8-ai/luso-mt-benchmark.

Model en→ny ny→en en→tum tum→en
luso-mt-small 47.6 / 20.1 46.9 / 23.6 35.8 / 8.2 30.0 / 8.8
luso-mt-tiny 46.3 / 19.1 45.5 / 22.0 34.9 / 8.1 29.1 / 7.9
luso-mt-3b (2.9B) 51.7 / 23.1 54.9 / 32.9 40.7 / 12.6 36.3 / 14.2
luso-mt teacher (MADLAD-400 3B, fine-tuned) 49.9 / 21.9 53.8 / 31.4 37.5 / 9.7 34.7 / 12.7
NLLB-200-distilled-600M (reference, non-commercial) 50.0 / 20.1 55.2 / 34.2 38.2 / 13.0 32.7 / 12.0
MADLAD-400 3B (zero-shot) 37.8 / 11.5 51.3 / 30.7 not supported 26.8 / 5.9
OPUS-MT en-ny / ny-en / tum-en (75M each) 41.0 / 12.0 42.7 / 18.6 not available 24.1 / 5.4

Language identity (GlotLID): the model writes the requested language in 98-100% of test outputs.

Training-to-development gap, chrF++ on 500 human-translated training pairs minus dev, per direction: 6.4 | 9.6 | 14.8 | 21.2.

Limitations

  • Scores are automatic metrics on small, single-reference test sets; no human evaluation has been completed yet.
  • Trained mostly on news and web text; conversation, medicine and law are weaker.
  • Most English training targets are machine translations, so English output can be literal; ny→en is 8.3 chrF++ below NLLB-200.
  • Tumbuka has less data and is up-sampled in training; the gap between training and development scores is larger for Tumbuka (see above), so Tumbuka quality is lower and less even than Chichewa.
  • Names, numbers and dates should be checked.
  • Very short sentences, especially instructions, are sometimes copied untranslated or translated with a repeated phrase (see the examples above).
  • Not for legal, medical or safety-critical translation without human review.

Citation

@techreport{luso-mt-2026,
  title       = {luso-mt: Compact Machine Translation for English, Chichewa and Tumbuka},
  author      = {Byamasu, Patrick Paul},
  institution = {Rexplore Research Labs},
  year        = {2026},
  url         = {https://rexplore.ai/blog/luso-mt-technical-report}
}

Contact: research@rexplore.ai

Downloads last month
63
Safetensors
Model size
87.7M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train suru8-ai/luso-mt-small

Evaluation results