Chitonga ↔ English translator (a050)
A translator between Chitonga (Tonga of southern Zambia, ISO 639-3 toi) and English, fine-tuned from Meta's
NLLB-200 distilled 1.3B. The language code is toi_Latn, a new code added to NLLB and started from Bemba's
(bem_Latn). This is the translator the project uses today: it runs the public demonstration at zamai.pro/tonga and
writes the Chitonga of a teacher assistant under development.
a050 is a 50/50 weight average (in the style of WiSE-FT) of two of our fine-tunes of the same base: the stage 13 translator, published as zamai-zambia/chitonga-nllb-s13, and the stage 16 translator. Every tensor is 0.5 × stage 13 + 0.5 × stage 16.
How it was trained
Sixteen fine-tuning stages, adding data step by step:
- children's storybooks and the sentences of Hopgood's grammar;
- answers from paid bilingual Chitonga speakers;
- school books, novels and cultural books typed as printed and translated in context;
- sets from a grammar engine that inflects attested words and never invents them;
- back-translation that protects names;
- in stages 15 and 16, public notices, civic, health and environmental material, folktales, a group of real sentences chosen for the words an earlier model got wrong, and longer multi-sentence segments.
Stage 13 and stage 16 were each trained with two seeds and averaged; a050 averages the two averages.
Evaluation
Meaning (dynamic equivalence), not letter overlap: chrF and BLEU are not used as evidence here.
500 unseen lines, both directions, judged blind by one AI judge (Claude), 22 Oct 2026. The served figures include the serving layer described below; the raw figures are these weights alone, which is what you download.
| direction | system | right | partly | wrong |
|---|---|---|---|---|
| English → Chitonga | served | 216 (43%) | 238 (48%) | 46 (9%) |
| English → Chitonga | raw weights | 223 (45%) | 209 (42%) | 68 (14%) |
| Chitonga → English | served | 178 (36%) | 204 (41%) | 118 (24%) |
| Chitonga → English | raw weights | 177 (35%) | 193 (39%) | 130 (26%) |
In plain words, English → Chitonga as served: the main meaning comes through in 9 of 10 sentences, about 4 in 10 are complete and faithful, and 1 in 11 is wrong. From the weights alone, 1 in 7 is wrong.
- One judge, not speakers. The judge agreed with itself on a second pass at kappa 0.77 (English → Chitonga) and 0.84 (Chitonga → English). These are proxy labels, a steer, not a speaker's verdict.
- Part of this is teaching to the test. Part of stage 16's data was chosen from real sentences carrying the words an earlier model got wrong on this same 500-line set (never the test lines themselves). The English → Chitonga gain holds beyond those words; the Chitonga → English gain is mostly on the taught items and should not be read as general.
- Against stage 13 on 150 held-out document lines, judged blind by Claude: a050 better on 59, worse on 23, the rest level.
- Speakers' verdicts are pending. A blind test by two native Chitonga speakers on 170 different Grade 1-4 classroom sentences (plus 30 shared, to measure their agreement) is running. Its result will be added to this card.
Known weaknesses
- Domain vocabulary, the main failure: a fluent, wrong near word from the same field (one pest for another, potato for sweet potato, a civic word such as "programme" or "rights" rendered as "customs").
- Weather-forecast categories ("normal / above normal / below normal rainfall") are often lost or reversed.
- Negation and restriction: rare, but still present: in a sweep of 150 negation sentences, 9 lost or reversed the negation. In Chitonga → English, words like "forbidden" or "under 18" are sometimes read as their opposite.
- Numbers, ages, quantities, dates and directions slip (north for south, a changed age). Check number words, weekday names and dates against the English.
- Tense and aspect, and person and respect plurals (a respectful plural for one person read as "they").
- Long sentences (over 20 words) are right about half as often as short ones, and parts of the meaning get dropped: omission is the second commonest error after vocabulary.
Intended use and limits
This is a proof of concept for research and education: drafting translations that a Chitonga speaker checks, and as a reader (back-translator) for automatic checks.
- Not for unsupervised use in health, safety, legal or emergency messages. A person who speaks Chitonga should check every output that matters.
- Other languages: fine-tuning removed NLLB's other directions. Use it for Chitonga ↔ English only.
- The serving layer is not in these weights. In our own service a term guard blocks known wrong-sense words, a glossary of speaker-confirmed terms chooses among the model's own candidate translations, and a translation memory reuses checked sentences; none of that is included here.
Files
| path | what |
|---|---|
root (model-0000x-of-00002.safetensors, tokenizer, configs) | the full model for Hugging Face transformers (5.5 GB, float32) |
ct2-int8/ | the same model converted to CTranslate2, int8 (1.4 GB): the exact file the project serves. About half a second to one second per short sentence on a mini PC's CPU |
paper/ | paper 1 (preprint v1) |
How to run it
With transformers:
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
m = "zamai-zambia/chitonga-nllb-a050"
tok = AutoTokenizer.from_pretrained(m)
model = AutoModelForSeq2SeqLM.from_pretrained(m)
tok.src_lang = "toi_Latn" # English > Chitonga: src_lang="eng_Latn", target "toi_Latn"
x = tok("Bana baya kucikolo.", return_tensors="pt")
y = model.generate(**x, forced_bos_token_id=tok.convert_tokens_to_ids("eng_Latn"), num_beams=4, max_new_tokens=128)
print(tok.batch_decode(y, skip_special_tokens=True)[0])
With CTranslate2 (fast on CPU), from the ct2-int8/ folder:
import ctranslate2, transformers
from huggingface_hub import snapshot_download
d = snapshot_download("zamai-zambia/chitonga-nllb-a050", # 1.4 GB: int8 + tokenizer, not the 5.5 GB weights
allow_patterns=["ct2-int8/*", "*.json", "sentencepiece.bpe.model"])
tr = ctranslate2.Translator(d + "/ct2-int8", device="cpu", compute_type="int8")
tok = transformers.AutoTokenizer.from_pretrained(d)
tok.src_lang = "eng_Latn"
src = tok.convert_ids_to_tokens(tok.encode("Wash your hands with soap before eating."))
out = tr.translate_batch([src], target_prefix=[["toi_Latn"]], beam_size=4)
print(tok.decode(tok.convert_tokens_to_ids(out[0].hypotheses[0][1:]), skip_special_tokens=True))
Translate one sentence at a time: NLLB tends to drop the second sentence of a two-sentence input.
Licence
CC BY-NC 4.0, the licence of the base model, Meta's NLLB-200: free for non-commercial use, with attribution. No training data and no test sets are included in this repository.
Citation
Lindinger, C. J. (2026). No Data Centre Required: Adapting Open Models to Chitonga with Paid Bilingual Speakers, Printed Books and a Verifying Harness (preprint). Zenodo. https://doi.org/10.5281/zenodo.23487563
@misc{lindinger2026chitonga,
author = {Lindinger, Christoph Johannes},
title = {No Data Centre Required: Adapting Open Models to Chitonga with Paid Bilingual Speakers, Printed Books and a Verifying Harness},
year = {2026},
publisher = {Zenodo},
note = {Preprint},
doi = {10.5281/zenodo.23487563}
}
Base model: NLLB Team (2024), Scaling neural machine translation to 200 languages, Nature 630.
Funded by Yumi Milling Ltd. Built with Claude Code.
Contact
Christoph Lindinger, ZamAi (zamai.pro): chris@zamai.pro. AI agents can write to agent@zamai.pro.