License: Free for commercial use, with required attribution to the author's work. If you use this model, or text it generated, in a product, service or publication, credit "Translation models by Aletheia AI" and cite the accompanying paper. This model is a derivative of Google Gemma 3, so the Gemma Terms of Use and Prohibited Use Policy also apply.
gemma-3-1b-translate-best
What this is. Our best general-purpose English to African-language translator at the 1B scale. It is Gemma-3-1B-it (about 1.0B parameters) fine-tuned with SFT and then GRPO reinforcement learning. It translates from English only, into 125 language tags. 105 of them have SFT data. The other 20 have none, so the model cannot translate them.
On FLORES+ devtest (54 languages, greedy) it scores chrF++ 35.28, spBLEU 14.03 and AfriCOMET 0.681 (40 languages). NTREX-128 gives 40.05 (24 languages) and MAFAND-MT 44.21 (15 languages).
Quick start
One user turn (two spaces after the colon):
Translate the text to {Language name}: {English text}
Example: Translate the text to Yoruba: Good morning, how are you?
Rendered with the chat template:
<bos><start_of_turn>user
Translate the text to Yoruba: Good morning, how are you?<end_of_turn>
<start_of_turn>model
The model answers with the language tag first (one token), then the translation, then <end_of_turn>:
<yor> {Yoruba translation}<end_of_turn>
The tags (<yor>, <hau>, ...) are ordinary tokens, so skip_special_tokens=True keeps them. Strip the leading tag yourself with re.sub(r"^<[a-z]{3}>\s*", "", text).
- Put the language name from the table below in the prompt (
Yoruba), not the ISO code. The tag in the answer is only a marker. - Use greedy decoding (
do_sample=Falseortemperature=0) withmax_new_tokens=256for a sentence or short paragraph. The benchmarks used 768. In vLLM you can addfrequency_penalty=0.1to guard against repetition loops on long inputs. - English to African language only. Send one sentence or a short paragraph per prompt, and split long documents into sentences.
Code
Transformers
import re, torch
from transformers import AutoTokenizer, AutoModelForCausalLM # transformers >= 4.56; older versions: torch_dtype=
repo = "BeardedMonster/gemma-3-1b-translate-best"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype=torch.bfloat16).cuda().eval()
def translate(text, language, max_new_tokens=256):
msgs = [{"role": "user", "content": f"Translate the text to {language}: {text}"}] # two spaces after the colon
enc = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt", return_dict=True).to("cuda")
with torch.no_grad():
out = model.generate(**enc, max_new_tokens=max_new_tokens, do_sample=False)
raw = tok.decode(out[0, enc["input_ids"].shape[1]:], skip_special_tokens=True) # "<yor> ..."
return re.sub(r"^<[a-z]{3}>\s*", "", raw.strip())
print(translate("Good morning, how are you?", "Yoruba"))
# one sentence into five languages
for language in ["Yoruba", "Hausa", "Igbo", "Swahili", "Zulu"]:
print(language, "->", translate("The meeting starts at nine tomorrow.", language))
vLLM
import re
from vllm import LLM, SamplingParams
repo = "BeardedMonster/gemma-3-1b-translate-best"
llm = LLM(repo, dtype="bfloat16", max_model_len=4096)
tok = llm.get_tokenizer()
def build(language, text):
msgs = [{"role": "user", "content": f"Translate the text to {language}: {text}"}]
return tok.apply_chat_template(msgs, add_generation_prompt=True, tokenize=False)
sentence = "The meeting starts at nine tomorrow."
languages = ["Yoruba", "Hausa", "Igbo", "Swahili", "Zulu"]
params = SamplingParams(temperature=0, max_tokens=256, frequency_penalty=0.1) # greedy; the penalty is optional
outs = llm.generate([build(l, sentence) for l in languages], params) # one batch, five languages
for language, o in zip(languages, outs):
print(language, "->", re.sub(r"^<[a-z]{3}>\s*", "", o.outputs[0].text.strip()))
For an OpenAI-compatible server, run vllm serve BeardedMonster/gemma-3-1b-translate-best --max-model-len 4096, then send the same user message to /v1/chat/completions with temperature=0.
Languages
There are 125 tags. Put the name from the first column in the prompt. The model answers with the tag. "SFT data: none" means the tag is in the tokenizer but the model saw no SFT text for it, so its output is unusable. The last column is the FLORES+ devtest chrF++ (greedy). Where FLORES+ has no such language it shows NTREX or MAFAND, and otherwise n/a.
| Name used in the prompt | Tag | Script | SFT data | chrF++ (benchmark) |
|---|---|---|---|---|
| Yoruba | <yor> | Latin | yes | 31.97 (FLORES+) |
| Hausa | <hau> | Latin | yes | 50.16 (FLORES+) |
| Igbo | <ibo> | Latin | yes | 41.92 (FLORES+) |
| Pidgin | <pcm> | Latin | yes | 51.52 (MAFAND) |
| Efik | <efi> | Latin | yes | n/a |
| Twi | <twi> | Latin | yes | 38.46 (FLORES+) |
| Ewe | <ewe> | Latin | yes | 33.60 (FLORES+) |
| Fon | <fon> | Latin | yes | 22.95 (FLORES+) |
| Wolof | <wol> | Latin | yes | 32.24 (FLORES+) |
| Swahili | <swh> | Latin | yes | 62.03 (FLORES+) |
| Kinyarwanda | <kin> | Latin | yes | 44.62 (FLORES+) |
| Somali | <som> | Latin | yes | 42.50 (FLORES+) |
| Oromo | <orm> | Latin | yes | 35.19 (FLORES+) |
| Amharic | <amh> | Ethiopic (Ge'ez) | yes | 34.53 (FLORES+) |
| Tigrinya | <tir> | Ethiopic (Ge'ez) | yes | 22.25 (FLORES+) |
| Luganda | <lug> | Latin | yes | 35.96 (FLORES+) |
| Lingala | <lin> | Latin | yes | 48.26 (FLORES+) |
| Zulu | <zul> | Latin | yes | 52.88 (FLORES+) |
| Xhosa | <xho> | Latin | yes | 49.30 (FLORES+) |
| Afrikaans | <afr> | Latin | yes | 65.60 (FLORES+) |
| Shona | <sna> | Latin | yes | 42.27 (FLORES+) |
| Chichewa | <nya> | Latin | yes | 45.44 (FLORES+) |
| Sesotho | <sot> | Latin | yes | 46.14 (FLORES+) |
| Setswana | <tsn> | Latin | yes | 48.28 (FLORES+) |
| Malagasy | <mlg> | Latin | yes | 49.05 (FLORES+) |
| Ibibio | <ibb> | Latin | none (cannot translate) | n/a |
| Urhobo | <urh> | Latin | yes | n/a |
| Bemba | <bem> | Latin | yes | 37.81 (FLORES+) |
| Tumbuka | <tum> | Latin | yes | 38.41 (FLORES+) |
| Kirundi | <run> | Latin | yes | 38.21 (FLORES+) |
| Venda | <ven> | Latin | yes | 42.40 (NTREX) |
| Tsonga | <tso> | Latin | yes | 50.14 (FLORES+) |
| Sepedi | <nso> | Latin | yes | 51.66 (FLORES+) |
| Swati | <ssw> | Latin | yes | 40.31 (FLORES+) |
| South Ndebele | <nbl> | Latin | yes | n/a |
| North Ndebele | <nde> | Latin | yes | 34.35 (NTREX) |
| Sango | <sag> | Latin | yes | 35.85 (FLORES+) |
| Tiv | <tiv> | Latin | yes | n/a |
| Umbundu | <umb> | Latin | yes | 27.49 (FLORES+) |
| Kimbundu | <kmb> | Latin | yes | 27.27 (FLORES+) |
| Mossi | <mos> | Latin | yes | 24.83 (FLORES+) |
| Kikuyu | <kik> | Latin | yes | 35.05 (FLORES+) |
| Luo | <luo> | Latin | yes | 37.35 (FLORES+) |
| Kamba | <kam> | Latin | yes | 27.15 (FLORES+) |
| Edo | <bin> | Latin | none (cannot translate) | n/a |
| Dagbani | <dag> | Latin | none (cannot translate) | n/a |
| Okpe | <oke> | Latin | yes | n/a |
| Tachelhit | <shi> | Latin | yes | 1.19 (NTREX) |
| Dyula | <dyu> | Latin | yes | 20.62 (FLORES+) |
| Bambara | <bam> | Latin | yes | 30.20 (FLORES+) |
| Kabiye | <kbp> | Latin | yes | 27.23 (FLORES+) |
| Ghomala | <bbj> | Latin | none (cannot translate) | n/a |
| Kongo | <kon> | Latin | yes | n/a |
| Kabuverdianu | <kea> | Latin | yes | 38.00 (FLORES+) |
| Fante | <fat> | Latin | none (cannot translate) | n/a |
| Kanuri | <knc> | Latin | yes | 14.69 (FLORES+) |
| Ga | <gaa> | Latin | none (cannot translate) | n/a |
| Kabyle | <kab> | Latin | yes | 30.28 (FLORES+) |
| Nuer | <nus> | Latin | yes | 25.23 (FLORES+) |
| Congo Swahili | <swc> | Latin | yes | n/a |
| Luba-Kasai | <lua> | Latin | yes | 35.55 (FLORES+) |
| Kaonde | <kqn> | Latin | yes | n/a |
| Lunda | <lun> | Latin | yes | n/a |
| Isoko | <iso> | Latin | yes | n/a |
| Lozi | <loz> | Latin | yes | n/a |
| Wolaytta | <wal> | Latin | yes | n/a |
| Acholi | <ach> | Latin | yes | n/a |
| Tswa | <tsc> | Latin | yes | n/a |
| Makhuwa | <vmw> | Latin | yes | 27.51 (FLORES+) |
| Kuanyama | <kua> | Latin | yes | n/a |
| Sena | <seh> | Latin | yes | 30.53 (FLORES+) |
| Nyankore | <nyn> | Latin | yes | n/a |
| Herero | <her> | Latin | none (cannot translate) | n/a |
| Yao | <yao> | Latin | yes | n/a |
| Sidamo | <sid> | Latin | yes | n/a |
| Ndau | <ndc> | Latin | yes | n/a |
| Mende | <men> | Latin | none (cannot translate) | n/a |
| Krio | <kri> | Latin | yes | n/a |
| Luyia | <luy> | Latin | none (cannot translate) | n/a |
| Esan | <ish> | Latin | none (cannot translate) | n/a |
| Duala | <dua> | Latin | none (cannot translate) | n/a |
| Basaa | <bas> | Latin | yes | n/a |
| Cameroon Pidgin | <wes> | Latin | none (cannot translate) | n/a |
| Tamazight | <tzm> | Latin | yes | n/a |
| Fulah | <ful> | Latin | yes | n/a |
| Gun | <guw> | Latin | yes | n/a |
| Luvale | <lue> | Latin | yes | n/a |
| Tetela | <tll> | Latin | yes | n/a |
| Zande | <zne> | Latin | yes | n/a |
| Luba-Katanga | <lub> | Latin | yes | n/a |
| Seychellois Creole | <crs> | Latin | yes | n/a |
| Mauritian Creole | <mfe> | Latin | yes | 43.46 (FLORES+) |
| Ruund | <rnd> | Latin | yes | n/a |
| Nyaneka | <nyk> | Latin | yes | n/a |
| Kwangali | <kwn> | Latin | yes | n/a |
| Ndonga | <ndo> | Latin | yes | n/a |
| Zarma | <dje> | Latin | yes | n/a |
| Adangme | <ada> | Latin | yes | n/a |
| Egyptian Arabic | <arz> | Arabic | yes | 21.80 (FLORES+) |
| Songe | <sop> | Latin | yes | n/a |
| Mambwe | <mgr> | Latin | yes | n/a |
| Konzo | <koo> | Latin | yes | n/a |
| Chokwe | <cjk> | Latin | yes | 24.97 (FLORES+) |
| Coptic | <cop> | Coptic | yes | n/a |
| Lelemi | <dop> | Latin | yes | n/a |
| Bulu | <bum> | Latin | yes | n/a |
| Nyemba | <nba> | Latin | yes | n/a |
| Nyungwe | <nyu> | Latin | yes | n/a |
| Dinka | <dik> | Latin | yes | 18.26 (FLORES+) |
| Chopi | <cce> | Latin | yes | n/a |
| Chuabo | <chw> | Latin | yes | n/a |
| Tooro | <ttj> | Latin | yes | n/a |
| Lamba | <lam> | Latin | yes | n/a |
| Nupe | <nup> | Latin | yes | n/a |
| Tamasheq | <taq> | Latin | yes | 16.46 (FLORES+) |
| Alur | <alz> | Latin | yes | n/a |
| Tonga | <toi> | Latin | yes | n/a |
| Berber | <ber> | Latin | none (cannot translate) | n/a |
| Standard Moroccan Tamazight | <zgh> | Tifinagh | none (cannot translate) | 16.13 (FLORES+) |
| Afar | <aar> | Latin | none (cannot translate) | n/a |
| Baoule | <bci> | Latin | none (cannot translate) | n/a |
| Moroccan Arabic | <ary> | Arabic | none (cannot translate) | 21.27 (FLORES+) |
| Tunisian Arabic | <aeb> | Arabic | none (cannot translate) | 15.90 (FLORES+) |
| Teso | <teo> | Latin | none (cannot translate) | n/a |
| Adhola | <adh> | Latin | none (cannot translate) | n/a |
Per-language performance of this model
Best five FLORES+ languages by chrF++: Afrikaans 65.6, Swahili 62.0, Zulu 52.9, Sepedi 51.7, Hausa 50.2. Weakest five: Kanuri 14.7, Tunisian Arabic 15.9, Standard Moroccan Tamazight 16.1, Tamasheq 16.5, Dinka 18.3. aeb, ary and zgh have no SFT data, which is why they are among the weakest. The Arabic dialects, Tamazight and Kanuri also come out with the wrong tag.
The main numbers are greedy with no frequency penalty.
| Language (tag) | FLORES+ chrF++ | FLORES+ chrF++, freq. pen. 0.1 | FLORES+ spBLEU | FLORES+ AfriCOMET | NTREX chrF++ | MAFAND chrF++ | MAFAND sentences (n) |
|---|---|---|---|---|---|---|---|
Afrikaans (afr) | 65.60 | 65.58 | 45.58 | 0.794 | 67.23 | n/a | n/a |
Amharic (amh) | 34.53 | 34.44 | 24.60 | 0.729 | 22.70 | 21.48 | 1,014 |
Bambara (bam) | 30.20 | 30.23 | 8.39 | 0.586 | n/a | n/a | n/a |
Bemba (bem) | 37.81 | 37.91 | 12.35 | 0.637 | 38.20 | n/a | n/a |
Chichewa (nya) | 45.44 | 45.45 | 18.02 | 0.710 | 48.30 | 44.72 | 1,003 |
Chokwe (cjk) | 24.97 | 25.07 | 3.80 | n/a | n/a | n/a | n/a |
Dinka (dik) | 18.26 | 19.36 | 3.73 | n/a | n/a | n/a | n/a |
Dyula (dyu) | 20.62 | 20.62 | 3.44 | n/a | n/a | n/a | n/a |
Egyptian Arabic (arz) | 21.80 | 22.09 | 6.19 | n/a | n/a | n/a | n/a |
Ewe (ewe) | 33.60 | 33.53 | 11.32 | 0.658 | 33.32 | n/a | n/a |
Fon (fon) | 22.95 | 22.90 | 5.70 | 0.621 | n/a | n/a | n/a |
Hausa (hau) | 50.16 | 50.19 | 26.09 | 0.719 | 50.92 | 34.76 | 1,498 |
Igbo (ibo) | 41.92 | 41.94 | 21.24 | 0.702 | 46.20 | 49.35 | 1,458 |
Kabiye (kbp) | 27.23 | 27.34 | 7.93 | 0.697 | n/a | n/a | n/a |
Kabuverdianu (kea) | 38.00 | 38.08 | 16.06 | n/a | n/a | n/a | n/a |
Kabyle (kab) | 30.28 | 30.32 | 10.16 | 0.705 | n/a | n/a | n/a |
Kamba (kam) | 27.15 | 27.19 | 7.09 | 0.537 | n/a | n/a | n/a |
Kanuri (knc) | 14.69 | 15.80 | 2.49 | n/a | n/a | n/a | n/a |
Kikuyu (kik) | 35.05 | 35.11 | 12.41 | 0.698 | n/a | n/a | n/a |
Kimbundu (kmb) | 27.27 | 27.44 | 4.99 | 0.520 | n/a | n/a | n/a |
Kinyarwanda (kin) | 44.62 | 44.67 | 20.16 | 0.732 | 41.70 | 52.00 | 1,005 |
Kirundi (run) | 38.21 | 38.27 | 14.41 | 0.711 | n/a | n/a | n/a |
Lingala (lin) | 48.26 | 48.33 | 19.36 | 0.684 | n/a | n/a | n/a |
Luba-Kasai (lua) | 35.55 | 35.61 | 9.29 | 0.612 | n/a | n/a | n/a |
Luganda (lug) | 35.96 | 35.98 | 10.23 | 0.641 | n/a | 45.68 | 1,500 |
Luo (luo) | 37.35 | 37.40 | 12.87 | 0.712 | n/a | 36.79 | 1,500 |
Makhuwa (vmw) | 27.51 | 27.81 | 6.14 | n/a | n/a | n/a | n/a |
Malagasy (mlg) | 49.05 | 49.05 | 22.64 | 0.724 | 44.92 | n/a | n/a |
Mauritian Creole (mfe) | 43.46 | 43.53 | 17.79 | n/a | n/a | n/a | n/a |
Moroccan Arabic (ary) | 21.27 | 21.35 | 6.55 | n/a | n/a | n/a | n/a |
Mossi (mos) | 24.83 | 24.86 | 5.46 | 0.594 | n/a | n/a | n/a |
North Ndebele (nde) | n/a | n/a | n/a | n/a | 34.35 | n/a | n/a |
Nuer (nus) | 25.23 | 25.30 | 9.29 | 0.639 | n/a | n/a | n/a |
Oromo (orm) | 35.19 | 35.23 | 9.09 | 0.694 | 30.95 | n/a | n/a |
Pidgin (pcm) | n/a | n/a | n/a | n/a | n/a | 51.52 | 1,562 |
Sango (sag) | 35.85 | 35.81 | 10.03 | n/a | n/a | n/a | n/a |
Sena (seh) | 30.53 | 30.60 | 5.93 | n/a | n/a | n/a | n/a |
Sepedi (nso) | 51.66 | 51.71 | 26.91 | 0.730 | 34.34 | n/a | n/a |
Sesotho (sot) | 46.14 | 46.16 | 20.57 | 0.694 | n/a | n/a | n/a |
Setswana (tsn) | 48.28 | 48.32 | 24.61 | 0.720 | 52.84 | 55.18 | 1,500 |
Shona (sna) | 42.27 | 42.25 | 17.52 | 0.682 | 43.95 | 36.81 | 1,004 |
Somali (som) | 42.50 | 42.49 | 17.19 | 0.684 | 46.45 | n/a | n/a |
Standard Moroccan Tamazight (zgh) | 16.13 | 16.48 | 4.14 | n/a | n/a | n/a | n/a |
Swahili (swh) | 62.03 | 61.93 | 40.73 | 0.765 | 62.44 | 54.87 | 1,822 |
Swati (ssw) | 40.31 | 40.40 | 15.18 | 0.670 | 41.05 | n/a | n/a |
Tachelhit (shi) | n/a | n/a | n/a | n/a | 1.19 | n/a | n/a |
Tamasheq (taq) | 16.46 | 17.92 | 2.35 | n/a | n/a | n/a | n/a |
Tigrinya (tir) | 22.25 | 22.29 | 12.58 | 0.733 | 19.93 | n/a | n/a |
Tsonga (tso) | 50.14 | 50.18 | 25.45 | 0.716 | n/a | n/a | n/a |
Tumbuka (tum) | 38.41 | 38.41 | 13.78 | 0.681 | n/a | n/a | n/a |
Tunisian Arabic (aeb) | 15.90 | 16.34 | 4.55 | n/a | n/a | n/a | n/a |
Twi (twi) | 38.46 | 38.54 | 15.12 | 0.688 | n/a | 36.47 | 1,500 |
Umbundu (umb) | 27.49 | 27.46 | 3.79 | 0.595 | n/a | n/a | n/a |
Venda (ven) | n/a | n/a | n/a | n/a | 42.40 | n/a | n/a |
Wolof (wol) | 32.24 | 32.30 | 12.21 | 0.679 | 32.45 | n/a | n/a |
Xhosa (xho) | 49.30 | 49.34 | 25.11 | 0.687 | 44.87 | 58.33 | 1,001 |
Yoruba (yor) | 31.97 | 31.98 | 15.06 | 0.734 | 33.66 | 35.99 | 1,550 |
Zulu (zul) | 52.88 | 52.90 | 29.92 | 0.734 | 46.84 | 49.20 | 998 |
How measured. We used FLORES+ devtest (openlanguagedata/flores_plus, 54 languages), NTREX-128 (24 languages) and MAFAND-MT (15 languages), all with greedy decoding. chrF++ (word_order=2) and spBLEU (flores200 tokenizer) come from sacreBLEU. AfriCOMET is masakhane/africomet-stl-1.1, which was not part of the RL reward. It covers 40 FLORES+ languages.
Comparison with other systems
FLORES+ devtest, 44 languages shared with NLLB (AfriCOMET: 40 of them)
| system | chrF++ | AfriCOMET-STL (held out) | languages above NLLB-600M / NLLB-3.3B (of 44) |
|---|---|---|---|
| 385M SFT (general) | 25.59 | 0.550 | n/a |
| 385M RL (general) | 34.88 | 0.623 | 15 |
| NLLB-200-distilled-600M | 35.94 | 0.662 | n/a |
| 1B SFT (frequency penalty 0.1) | 31.87 | 0.613 | 8 |
1B RL (gemma-3-1b-translate-best) | 37.93 | 0.681 | 36 / 21 |
1B science RL (gemma-3-1b-science-translate-best) | 37.92 | 0.677 | 36 |
| NLLB-200-3.3B | 38.09 | 0.677 | n/a |
TranslatePsy languages (19: afr amh hau ibo kin lin lug mlg nya orm sna som sot swh tsn wol xho yor zul), FLORES+ devtest
| system | chrF++ | AfriCOMET-STL |
|---|---|---|
| 385M RL | 41.04 | n/a |
| NLLB-200-distilled-600M | 42.58 | n/a |
| NLLB-200-3.3B | 44.66 | 0.701 |
| 1B RL | 45.18 | 0.711 |
| TranslatePsy-AfriSLM-0.8B | 45.27 | 0.717 |
NTREX-128 and MAFAND-MT (language sets of the stored NLLB-3.3B aggregates: NTREX 21, MAFAND 14 languages)
| system | NTREX chrF++ (21 languages) | MAFAND chrF++ (14 languages) |
|---|---|---|
| 385M RL | 39.00 | 39.88 |
| 1B RL | 42.06 | 43.69 |
| NLLB-200-3.3B (corpus-level aggregates of an earlier run on the same rows) | 43.26 | 44.61 |
AfriqueLLM family. The AfroBench-Lite 5-shot harness has per-language values for 21 of our languages (afr amh ewe hau ibo kin lin lug nya orm sna som sot swh tir tsn twi wol xho yor zul). On those, this model scores 43.03 chrF++ (greedy, FLORES+ devtest). The base models in that harness average 41.71 for AfriqueQwen3.5-4B-50Langs, 38.58 for AfriqueGemma-12B, 36.71 for AfriqueLlama-8B, 36.67 for AfriqueQwen-14B, 31.12 for AfriqueGemma-4B, 18.82 for Gemma3-12B and 16.45 for Llama3.1-8B. So the 1B model is ahead of all of them, and ahead of the best one, AfriqueQwen3.5-4B-50Langs, by 1.32 chrF++. Take this as a rough guide only. Those are 5-shot base models, and we did not check the harness's chrF++ implementation or its FLORES split.
Where this model is behind. NLLB-3.3B is slightly ahead on the 44 shared languages (by 0.16 chrF++ overall), and this model is lower in 23 of them. The biggest gaps are Kabuverdianu, Kanuri, Ewe and Kinyarwanda. NLLB-3.3B is also ahead on NTREX and MAFAND. TranslatePsy-0.8B is ahead on its 19 languages by 0.09 chrF++ and 0.006 AfriCOMET. Languages with no or thin SFT data are weak.
Training summary
- Base model:
google/gemma-3-1b-it, with 125 single-token language tags (<yor>,<ibo>,<nso>, ...) added to the tokenizer. - SFT on language-stratified 4,096-token packs, 131,072 tokens per step, with Muon plus AdamW and fp32 master weights.
- RL with GRPO: groups of 16 (15 samples plus the greedy output), learning rate 2e-6, KL 0.05 with a KL guard at 0.15, Muon, dynamic sampling and a beam guide on 25% of prompts. The reward is reference-free quality estimation (AfriCOMET-QE and SSA-COMET), with guards against wrong language, copying, repetition and bad length.
Intended use and limitations
Use it for English to African-language translation of short texts (a sentence or a short paragraph), for drafting, for batch translation with vLLM, and as a base for further fine-tuning.
- English to African language only. Other source languages and reverse directions are not supported.
- Twenty tags have no SFT data (see the language table), so the model cannot translate them. For
aeb,aryandzgh, FLORES+ chrF++ is 16 to 22 and the output never starts with the requested tag. Kanuri (knc) is not one of the twenty, but it also has a 0% correct-tag rate and chrF++ 15.9. RL cannot add a language the model never saw. - Some languages are weak. The lowest FLORES+ chrF++ values belong to Kanuri, Tamasheq, Dinka, Standard Moroccan Tamazight, the Arabic dialects, Chokwe, Dyula, Tigrinya, Egyptian Arabic and Fon. Treat output in these as a rough draft at best, since chrF++ below about 25 means most words are wrong. Tachelhit (
shi) scores chrF++ 1.2 on NTREX even though it has SFT data. - Keep inputs short. RL prompts were capped at 256 source tokens, so long inputs were not RL-trained. Repetition loops and omissions grow with input length, and the benchmark rows are single sentences. Split documents into sentences.
- Automatic metrics only, no human evaluation. AfriCOMET and chrF++ are imperfect, especially for the lowest-resource languages. The AfriCOMET checkpoint we report was not in the RL reward, but AfriCOMET-QE was, so read it with care.
- Outputs are machine translations without human verification. Review them before use where errors matter, for example medical, legal or safety-critical text.
Citation and licence
Paper in preparation
@misc{Gemma_mt_2026,
title = {English-to-African-language translation with small Gemma-3 models: supervised fine-tuning and reinforcement learning},
author = {{AletheiaAI}},
year = {2026},
}
Licence. license: other (commercial-use-with-attribution). Commercial and non-commercial use, modification and redistribution are allowed, with required attribution: credit "Translation models by Aletheia AI" and cite the accompanying paper. These weights are a derivative of Google Gemma 3, so the Gemma Terms of Use and Prohibited Use Policy also apply.