Instructions to use BeardedMonster/gemma-3-385m-translate-best with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BeardedMonster/gemma-3-385m-translate-best with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="BeardedMonster/gemma-3-385m-translate-best")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("BeardedMonster/gemma-3-385m-translate-best") model = AutoModelForCausalLM.from_pretrained("BeardedMonster/gemma-3-385m-translate-best", device_map="auto") - Notebooks
- Google Colab
- Kaggle
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-385m-translate-best
What this is. A 385M-parameter Gemma 3 model (Gemma3ForCausalLM) that translates English into African languages only. There is no African-to-English direction. We grew it from google/gemma-3-270m-it, fine-tuned it on English-to-X data, then trained it with GRPO using quality-estimation rewards that need no reference. It has 125 single-token language tags (<yor>, <hau>, <ibo>, ...), and 58 of them have reference-based scores for this model. See the language table. The science version is BeardedMonster/gemma-3-385m-science-translate-best.
With greedy decoding, the language-macro chrF++ is 31.66 on FLORES+ devtest (54 languages, AfriCOMET 0.627 over 40), 37.17 on NTREX-128 (24 languages) and 40.78 on MAFAND-MT (15 languages).
Quick start (read first)
Send one user turn, exactly as in training. Use the language name, never the ISO code, and keep the two spaces after the colon:
Translate the text to Yoruba: Good morning, how are you?
Build the turn with the Gemma 3 chat template (tokenizer.apply_chat_template(..., add_generation_prompt=True)), which adds <bos>. The model answers with the language tag as one token, a space, the translation and <end_of_turn>:
<yor> <translation in Yoruba><end_of_turn>
Strip the leading tag yourself, as the snippets below do. The exact language names are in the "Languages" table, for example Pidgin, Sesotho, Setswana, Sepedi, Chichewa, Kirundi and Zulu.
- Use greedy decoding (
temperature=0) withmax_new_tokens=256for sentences, and stop at<end_of_turn>(id 106). The benchmarks used 768. - In vLLM,
frequency_penalty=0.1is an optional guard against repetition. It lifted average chrF++ from 34.55 to 34.84 over 93 language-benchmark cells. - The model only goes from English to African languages. Give it one sentence or a short paragraph at a time and split longer text into sentences.
Code
Transformers
import re, torch
from transformers import AutoTokenizer, AutoModelForCausalLM
repo = "BeardedMonster/gemma-3-385m-translate-best"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype=torch.bfloat16) # older transformers: torch_dtype=
model = model.to("cuda").eval()
TAG = re.compile(r"^\s*<[a-z]{3}>\s*") # the answer starts with the language tag token
END_OF_TURN = tok.convert_tokens_to_ids("<end_of_turn>") # id 106 in Gemma 3
def translate(text, language_name, max_new_tokens=256):
msgs = [{"role": "user", "content": f"Translate the text to {language_name}: {text}"}] # two spaces after the colon
enc = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt", return_dict=True).to("cuda")
out = model.generate(**enc, max_new_tokens=max_new_tokens, do_sample=False,
eos_token_id=[tok.eos_token_id, END_OF_TURN])
answer = tok.decode(out[0, enc["input_ids"].shape[1]:], skip_special_tokens=True)
return TAG.sub("", answer).strip()
print(translate("Good morning, how are you?", "Yoruba"))
vLLM
import re
from vllm import LLM, SamplingParams
repo = "BeardedMonster/gemma-3-385m-translate-best"
llm = LLM(repo, dtype="bfloat16", max_model_len=4096)
tok = llm.get_tokenizer()
TAG = re.compile(r"^\s*<[a-z]{3}>\s*")
def build(text, language_name):
msgs = [{"role": "user", "content": f"Translate the text to {language_name}: {text}"}]
prompt = tok.apply_chat_template(msgs, add_generation_prompt=True, tokenize=False) # already contains <bos>
return {"prompt_token_ids": tok(prompt, add_special_tokens=False)["input_ids"]} # exactly one <bos>, as in training
params = SamplingParams(temperature=0.0, max_tokens=256, stop_token_ids=[106]) # add frequency_penalty=0.1 for the optional repetition guard
out = llm.generate([build("Where is the market?", "Hausa")], params)
print(TAG.sub("", out[0].outputs[0].text).strip())
One sentence into five languages (vLLM, one batch):
sentence = "The meeting starts at nine tomorrow."
targets = ["Yoruba", "Hausa", "Swahili", "Zulu", "Amharic"] # language NAMES, see the table below
outs = llm.generate([build(sentence, name) for name in targets], params)
for name, o in zip(targets, outs):
print(f"{name:10s} {TAG.sub('', o.outputs[0].text).strip()}")
With Transformers, call translate(sentence, name) in a loop over targets. In vLLM we pass prompt_token_ids because the template already contains <bos>, and a second one would change the output.
Per-language performance of this model
Best five FLORES+ languages by chrF++: Afrikaans 64.13, Swahili 58.36, Sepedi 49.01, Zulu 48.27, Tsonga 46.86. Weakest five: Standard Moroccan Tamazight 4.07, Tunisian Arabic 4.12, Moroccan Arabic 6.88, Egyptian Arabic 9.18, Tamasheq 11.06. Seven of the 54 FLORES+ languages score below 15 chrF++ and are not usable: Tamasheq, Egyptian Arabic, Moroccan Arabic, Tunisian Arabic, Standard Moroccan Tamazight, Dinka and Kanuri.
| language | tag | FLORES+ chrF++ | FLORES+ spBLEU | FLORES+ AfriCOMET | FLORES+ finished / loop (n = 1,012) | NTREX chrF++ (n sentences) | MAFAND chrF++ (n sentences) |
|---|---|---|---|---|---|---|---|
| Afrikaans | <afr> |
64.13 | 43.83 | 0.755 | 1.00 / 0.00 | 63.92 (1992) | n/a |
| Amharic | <amh> |
26.62 | 15.44 | 0.592 | 1.00 / 0.00 | 18.05 (1992) | 18.33 (1014) |
| Bambara | <bam> |
27.17 | 6.91 | 0.521 | 1.00 / 0.00 | n/a | n/a |
| Bemba | <bem> |
33.88 | 9.59 | 0.561 | 1.00 / 0.01 | 34.79 (1992) | n/a |
| Chichewa | <nya> |
42.21 | 15.23 | 0.651 | 1.00 / 0.00 | 44.23 (1992) | 40.95 (1003) |
| Chokwe | <cjk> |
23.02 | 3.31 | n/a | 1.00 / 0.01 | n/a | n/a |
| Dinka | <dik> |
14.06 | 2.56 | n/a | 1.00 / 0.40 | n/a | n/a |
| Dyula | <dyu> |
18.97 | 3.05 | n/a | 1.00 / 0.00 | n/a | n/a |
| Egyptian Arabic | <arz> |
9.18 | 0.68 | n/a | 0.87 / 0.19 | n/a | n/a |
| Ewe | <ewe> |
31.17 | 9.73 | 0.608 | 1.00 / 0.00 | 31.58 (1992) | n/a |
| Fon | <fon> |
22.25 | 5.41 | 0.603 | 1.00 / 0.00 | n/a | n/a |
| Hausa | <hau> |
46.46 | 22.02 | 0.644 | 1.00 / 0.01 | 48.57 (1992) | 32.80 (1498) |
| Igbo | <ibo> |
40.14 | 19.27 | 0.659 | 1.00 / 0.00 | 44.87 (1992) | 44.89 (1458) |
| Kabiye | <kbp> |
24.88 | 6.25 | 0.661 | 1.00 / 0.01 | n/a | n/a |
| Kabuverdianu | <kea> |
39.18 | 17.36 | n/a | 1.00 / 0.00 | n/a | n/a |
| Kabyle | <kab> |
26.69 | 7.29 | 0.674 | 1.00 / 0.00 | n/a | n/a |
| Kamba | <kam> |
25.92 | 6.57 | 0.503 | 1.00 / 0.00 | n/a | n/a |
| Kanuri | <knc> |
14.22 | 1.63 | n/a | 1.00 / 0.48 | n/a | n/a |
| Kikuyu | <kik> |
33.28 | 10.91 | 0.662 | 1.00 / 0.00 | n/a | n/a |
| Kimbundu | <kmb> |
26.62 | 4.65 | 0.500 | 1.00 / 0.00 | n/a | n/a |
| Kinyarwanda | <kin> |
38.66 | 14.67 | 0.656 | 1.00 / 0.00 | 37.13 (1992) | 46.41 (1005) |
| Kirundi | <run> |
33.88 | 11.09 | 0.639 | 1.00 / 0.01 | n/a | n/a |
| Lingala | <lin> |
44.35 | 16.78 | 0.617 | 1.00 / 0.00 | n/a | n/a |
| Luba-Kasai | <lua> |
33.37 | 8.31 | 0.556 | 1.00 / 0.00 | n/a | n/a |
| Luganda | <lug> |
31.73 | 7.54 | 0.577 | 1.00 / 0.01 | n/a | 39.57 (1500) |
| Luo | <luo> |
34.49 | 11.25 | 0.664 | 1.00 / 0.00 | n/a | 32.62 (1500) |
| Makhuwa | <vmw> |
27.14 | 5.78 | n/a | 1.00 / 0.00 | n/a | n/a |
| Malagasy | <mlg> |
44.73 | 17.74 | 0.634 | 1.00 / 0.00 | 40.85 (1992) | n/a |
| Mauritian Creole | <mfe> |
37.93 | 12.59 | n/a | 1.00 / 0.01 | n/a | n/a |
| Moroccan Arabic | <ary> |
6.88 | 0.93 | n/a | 0.97 / 0.11 | n/a | n/a |
| Mossi | <mos> |
22.79 | 4.52 | 0.548 | 1.00 / 0.01 | n/a | n/a |
| North Ndebele | <nde> |
n/a | n/a | n/a | n/a | 32.95 (1992) | n/a |
| Nuer | <nus> |
24.82 | 9.26 | 0.624 | 1.00 / 0.00 | n/a | n/a |
| Oromo | <orm> |
30.18 | 5.73 | 0.610 | 1.00 / 0.00 | 27.33 (1992) | n/a |
| Pidgin | <pcm> |
n/a | n/a | n/a | n/a | n/a | 53.34 (1562) |
| Sango | <sag> |
34.31 | 9.06 | n/a | 1.00 / 0.00 | n/a | n/a |
| Sena | <seh> |
29.65 | 6.33 | n/a | 1.00 / 0.00 | n/a | n/a |
| Sepedi | <nso> |
49.01 | 24.80 | 0.689 | 1.00 / 0.00 | 32.73 (1992) | n/a |
| Sesotho | <sot> |
42.72 | 17.36 | 0.642 | 1.00 / 0.00 | n/a | n/a |
| Setswana | <tsn> |
45.05 | 21.14 | 0.675 | 1.00 / 0.00 | 48.71 (1992) | 53.10 (1500) |
| Shona | <sna> |
37.56 | 13.30 | 0.619 | 1.00 / 0.00 | 39.23 (1992) | 32.91 (1004) |
| Somali | <som> |
39.71 | 14.81 | 0.620 | 1.00 / 0.00 | 44.23 (1992) | n/a |
| Standard Moroccan Tamazight | <zgh> |
4.07 | 0.85 | n/a | 0.97 / 0.46 | n/a | n/a |
| Swahili | <swh> |
58.36 | 35.68 | 0.709 | 1.00 / 0.00 | 58.73 (1992) | 51.79 (1822) |
| Swati | <ssw> |
37.86 | 12.86 | 0.606 | 1.00 / 0.00 | 38.80 (1992) | n/a |
| Tachelhit | <shi> |
n/a | n/a | n/a | n/a | 1.16 (1992) | n/a |
| Tamasheq | <taq> |
11.06 | 1.41 | n/a | 0.99 / 0.56 | n/a | n/a |
| Tigrinya | <tir> |
18.74 | 8.64 | 0.651 | 1.00 / 0.00 | 17.00 (1992) | n/a |
| Tsonga | <tso> |
46.86 | 22.42 | 0.667 | 1.00 / 0.00 | n/a | n/a |
| Tumbuka | <tum> |
34.27 | 10.64 | 0.605 | 1.00 / 0.00 | n/a | n/a |
| Tunisian Arabic | <aeb> |
4.12 | 0.52 | n/a | 0.96 / 0.25 | n/a | n/a |
| Twi | <twi> |
35.07 | 12.39 | 0.648 | 1.00 / 0.00 | n/a | 34.14 (1500) |
| Umbundu | <umb> |
25.46 | 3.15 | 0.550 | 1.00 / 0.01 | n/a | n/a |
| Venda | <ven> |
n/a | n/a | n/a | n/a | 38.81 (1992) | n/a |
| Wolof | <wol> |
30.58 | 11.05 | 0.653 | 1.00 / 0.00 | 30.37 (1992) | n/a |
| Xhosa | <xho> |
45.43 | 20.74 | 0.638 | 1.00 / 0.00 | 42.36 (1992) | 51.78 (1001) |
| Yoruba | <yor> |
30.33 | 14.06 | 0.706 | 1.00 / 0.00 | 32.10 (1992) | 33.45 (1550) |
| Zulu | <zul> |
48.27 | 23.92 | 0.674 | 1.00 / 0.00 | 43.50 (1992) | 45.58 (998) |
How measured. We used FLORES+ devtest (54 languages, 1,012 sentences each), NTREX-128 (24 languages) and MAFAND-MT (15 languages), English to X, with greedy decoding and up to 768 new tokens. Scores are chrF++ (word order 2) and spBLEU (flores200 tokenizer) from sacreBLEU on NFC text, plus AfriCOMET (masakhane/africomet-stl-1.1, 40 FLORES+ languages). AfriCOMET was also used during RL, so read it with care. In the table, "finished" is the share of outputs that end with <end_of_turn>, and "loop" is the repetition flag from the RL reward.
Comparison with other systems
The numbers are language-macro chrF++. This model uses greedy decoding and NLLB uses beam 4. The intervals are 95% bootstraps over test sentences.
FLORES+ devtest, identical sentences, 44 languages (AfriCOMET: 40), 42,680 sentences:
| system | chrF++ [95% CI] | AfriCOMET-STL | RL minus system, chrF++ [CI] | languages where RL is above (of 44) |
|---|---|---|---|---|
| 385M RL (this model) | 34.88 [34.60, 35.18] | 0.6234 | ||
| 385M SFT (start point) | 25.59 | 0.5502 | +9.30 [+9.00, +9.55] | 44 |
| NLLB-200-distilled-600M | 35.94 [35.59, 36.27] | 0.6615 | -1.05 [-1.24, -0.86] | 15 |
| NLLB-200-3.3B | 38.09 [37.76, 38.40] | 0.6770 | -3.21 [-3.38, -3.02] | 7 |
The 19 TranslatePsy languages, 17,380 sentences (afr amh hau ibo kin lin lug mlg nya orm sna som sot swh tsn wol xho yor zul):
| system | chrF++ | AfriCOMET | RL minus system, chrF++ [CI] |
|---|---|---|---|
| 385M RL (this model) | 41.04 | 0.6422 | |
| NLLB-200-distilled-600M | 42.58 | 0.6878 | -1.54 [-1.78, -1.28] |
| NLLB-200-3.3B | 44.66 | 0.7007 | -3.62 [-3.84, -3.39] |
| TranslatePsy-AfriSLM-0.8B | 45.27 | 0.7167 | -4.23 [-4.39, -4.07] |
NTREX-128 (21 languages) and MAFAND-MT (14 languages). The NLLB-3.3B values are language-level aggregates from an earlier run on the same rows, so there is no AfriCOMET for it:
| benchmark | this model | NLLB-3.3B (aggregate) | RL minus NLLB-3.3B [language bootstrap] | languages RL above |
|---|---|---|---|---|
| NTREX (21) | 39.00 [38.73, 39.25] | 43.26 | -4.26 [-5.22, -3.24] | 1 of 21 |
| MAFAND (14) | 39.88 [39.71, 40.03] | 44.61 | -4.73 [-6.56, -3.12] | 1 of 14 |
AfriqueLLM family. This is a rougher comparison. It uses the AfroBench-Lite 5-shot setup on 21 languages, with base models and different prompts, and we did not verify its chrF++ code or its FLORES split. In that setup this model scores 39.40 chrF++. AfriqueQwen3.5-4B-50Langs is 2.31 above it at 41.71, and AfriqueGemma-12B is 0.83 below it at 38.58. The rest are lower: AfriqueLlama-8B 36.71, AfriqueQwen-14B 36.67, AfriqueQwen-8B 35.06, AfriqueGemma-4B 31.12, Gemma3-12B 18.82, Gemma3-4B 14.78 and Llama3.1-8B 16.45.
The model is well ahead of its SFT starting point, by 9.30 chrF++ on the 44 FLORES+ languages, and it beats NLLB-200-distilled-600M in 15 of those 44. It is still behind every NLLB model on average. It sits 3.21 chrF++ below NLLB-3.3B on identical sentences, and the largest gaps are Amharic (-11.3), Kinyarwanda (-9.6), Kabuverdianu (-8.6), Kirundi (-7.7), Ewe (-7.2) and Luganda (-6.8).
It also trails TranslatePsy-0.8B on its 19 languages and AfriqueQwen3.5-4B-50Langs. Its 1B sibling (gemma-3-1b-translate-best) is better too, with 37.93 against 34.88 on the 44 FLORES+ languages.
Training summary
- Base model:
google/gemma-3-270m-it, grown to 385M parameters, with its own single-token tag for each of the 125 languages (<yor>,<ibo>,<nso>, ...). - SFT: English-to-X pairs and instruction data covering the 125 tags. Muon plus AdamW, 4,096-token packs, one pass.
- RL (GRPO): group of 16, Muon at 2e-6, KL coefficient 0.05. The reward is reference-free quality estimation (AfriCOMET-QE and SSA-COMET), with guards for language ID, copying, repetition and length.
Languages
The model has 125 tags and takes English as the source. The first column is the exact name to use in the prompt. The script column follows the labels we used in training, except for shi, ber and tzm, where it is a default we did not verify. n/a means the model was not scored on that benchmark. For 67 languages there is no score on any of the three benchmarks.
| language (name in the prompt) | tag | script | FLORES+ chrF++ | NTREX chrF++ | MAFAND chrF++ |
|---|---|---|---|---|---|
| Acholi | <ach> |
Latin | n/a | n/a | n/a |
| Adangme | <ada> |
Latin | n/a | n/a | n/a |
| Adhola | <adh> |
Latin | n/a | n/a | n/a |
| Afar | <aar> |
Latin | n/a | n/a | n/a |
| Afrikaans | <afr> |
Latin | 64.13 | 63.92 | n/a |
| Alur | <alz> |
Latin | n/a | n/a | n/a |
| Amharic | <amh> |
Ethiopic | 26.62 | 18.05 | 18.33 |
| Bambara | <bam> |
Latin | 27.17 | n/a | n/a |
| Baoule | <bci> |
Latin | n/a | n/a | n/a |
| Basaa | <bas> |
Latin | n/a | n/a | n/a |
| Bemba | <bem> |
Latin | 33.88 | 34.79 | n/a |
| Berber | <ber> |
Latin or Tifinagh (not verified) | n/a | n/a | n/a |
| Bulu | <bum> |
Latin | n/a | n/a | n/a |
| Cameroon Pidgin | <wes> |
Latin | n/a | n/a | n/a |
| Chichewa | <nya> |
Latin | 42.21 | 44.23 | 40.95 |
| Chokwe | <cjk> |
Latin | 23.02 | n/a | n/a |
| Chopi | <cce> |
Latin | n/a | n/a | n/a |
| Chuabo | <chw> |
Latin | n/a | n/a | n/a |
| Congo Swahili | <swc> |
Latin | n/a | n/a | n/a |
| Coptic | <cop> |
Coptic | n/a | n/a | n/a |
| Dagbani | <dag> |
Latin | n/a | n/a | n/a |
| Dinka | <dik> |
Latin | 14.06 | n/a | n/a |
| Duala | <dua> |
Latin | n/a | n/a | n/a |
| Dyula | <dyu> |
Latin | 18.97 | n/a | n/a |
| Edo | <bin> |
Latin | n/a | n/a | n/a |
| Efik | <efi> |
Latin | n/a | n/a | n/a |
| Egyptian Arabic | <arz> |
Arabic | 9.18 | n/a | n/a |
| Esan | <ish> |
Latin | n/a | n/a | n/a |
| Ewe | <ewe> |
Latin | 31.17 | 31.58 | n/a |
| Fante | <fat> |
Latin | n/a | n/a | n/a |
| Fon | <fon> |
Latin | 22.25 | n/a | n/a |
| Fulah | <ful> |
Latin | n/a | n/a | n/a |
| Ga | <gaa> |
Latin | n/a | n/a | n/a |
| Ghomala | <bbj> |
Latin | n/a | n/a | n/a |
| Gun | <guw> |
Latin | n/a | n/a | n/a |
| Hausa | <hau> |
Latin | 46.46 | 48.57 | 32.80 |
| Herero | <her> |
Latin | n/a | n/a | n/a |
| Ibibio | <ibb> |
Latin | n/a | n/a | n/a |
| Igbo | <ibo> |
Latin | 40.14 | 44.87 | 44.89 |
| Isoko | <iso> |
Latin | n/a | n/a | n/a |
| Kabiye | <kbp> |
Latin | 24.88 | n/a | n/a |
| Kabuverdianu | <kea> |
Latin | 39.18 | n/a | n/a |
| Kabyle | <kab> |
Latin | 26.69 | n/a | n/a |
| Kamba | <kam> |
Latin | 25.92 | n/a | n/a |
| Kanuri | <knc> |
Latin | 14.22 | n/a | n/a |
| Kaonde | <kqn> |
Latin | n/a | n/a | n/a |
| Kikuyu | <kik> |
Latin | 33.28 | n/a | n/a |
| Kimbundu | <kmb> |
Latin | 26.62 | n/a | n/a |
| Kinyarwanda | <kin> |
Latin | 38.66 | 37.13 | 46.41 |
| Kirundi | <run> |
Latin | 33.88 | n/a | n/a |
| Kongo | <kon> |
Latin | n/a | n/a | n/a |
| Konzo | <koo> |
Latin | n/a | n/a | n/a |
| Krio | <kri> |
Latin | n/a | n/a | n/a |
| Kuanyama | <kua> |
Latin | n/a | n/a | n/a |
| Kwangali | <kwn> |
Latin | n/a | n/a | n/a |
| Lamba | <lam> |
Latin | n/a | n/a | n/a |
| Lelemi | <dop> |
Latin | n/a | n/a | n/a |
| Lingala | <lin> |
Latin | 44.35 | n/a | n/a |
| Lozi | <loz> |
Latin | n/a | n/a | n/a |
| Luba-Kasai | <lua> |
Latin | 33.37 | n/a | n/a |
| Luba-Katanga | <lub> |
Latin | n/a | n/a | n/a |
| Luganda | <lug> |
Latin | 31.73 | n/a | 39.57 |
| Lunda | <lun> |
Latin | n/a | n/a | n/a |
| Luo | <luo> |
Latin | 34.49 | n/a | 32.62 |
| Luvale | <lue> |
Latin | n/a | n/a | n/a |
| Luyia | <luy> |
Latin | n/a | n/a | n/a |
| Makhuwa | <vmw> |
Latin | 27.14 | n/a | n/a |
| Malagasy | <mlg> |
Latin | 44.73 | 40.85 | n/a |
| Mambwe | <mgr> |
Latin | n/a | n/a | n/a |
| Mauritian Creole | <mfe> |
Latin | 37.93 | n/a | n/a |
| Mende | <men> |
Latin | n/a | n/a | n/a |
| Moroccan Arabic | <ary> |
Arabic | 6.88 | n/a | n/a |
| Mossi | <mos> |
Latin | 22.79 | n/a | n/a |
| Ndau | <ndc> |
Latin | n/a | n/a | n/a |
| Ndonga | <ndo> |
Latin | n/a | n/a | n/a |
| North Ndebele | <nde> |
Latin | n/a | 32.95 | n/a |
| Nuer | <nus> |
Latin | 24.82 | n/a | n/a |
| Nupe | <nup> |
Latin | n/a | n/a | n/a |
| Nyaneka | <nyk> |
Latin | n/a | n/a | n/a |
| Nyankore | <nyn> |
Latin | n/a | n/a | n/a |
| Nyemba | <nba> |
Latin | n/a | n/a | n/a |
| Nyungwe | <nyu> |
Latin | n/a | n/a | n/a |
| Okpe | <oke> |
Latin | n/a | n/a | n/a |
| Oromo | <orm> |
Latin | 30.18 | 27.33 | n/a |
| Pidgin | <pcm> |
Latin | n/a | n/a | 53.34 |
| Ruund | <rnd> |
Latin | n/a | n/a | n/a |
| Sango | <sag> |
Latin | 34.31 | n/a | n/a |
| Sena | <seh> |
Latin | 29.65 | n/a | n/a |
| Sepedi | <nso> |
Latin | 49.01 | 32.73 | n/a |
| Sesotho | <sot> |
Latin | 42.72 | n/a | n/a |
| Setswana | <tsn> |
Latin | 45.05 | 48.71 | 53.10 |
| Seychellois Creole | <crs> |
Latin | n/a | n/a | n/a |
| Shona | <sna> |
Latin | 37.56 | 39.23 | 32.91 |
| Sidamo | <sid> |
Latin | n/a | n/a | n/a |
| Somali | <som> |
Latin | 39.71 | 44.23 | n/a |
| Songe | <sop> |
Latin | n/a | n/a | n/a |
| South Ndebele | <nbl> |
Latin | n/a | n/a | n/a |
| Standard Moroccan Tamazight | <zgh> |
Tifinagh | 4.07 | n/a | n/a |
| Swahili | <swh> |
Latin | 58.36 | 58.73 | 51.79 |
| Swati | <ssw> |
Latin | 37.86 | 38.80 | n/a |
| Tachelhit | <shi> |
Latin or Tifinagh (not verified) | n/a | 1.16 | n/a |
| Tamasheq | <taq> |
Latin / Tifinagh | 11.06 | n/a | n/a |
| Tamazight | <tzm> |
Latin or Tifinagh (not verified) | n/a | n/a | n/a |
| Teso | <teo> |
Latin | n/a | n/a | n/a |
| Tetela | <tll> |
Latin | n/a | n/a | n/a |
| Tigrinya | <tir> |
Ethiopic | 18.74 | 17.00 | n/a |
| Tiv | <tiv> |
Latin | n/a | n/a | n/a |
| Tonga | <toi> |
Latin | n/a | n/a | n/a |
| Tooro | <ttj> |
Latin | n/a | n/a | n/a |
| Tsonga | <tso> |
Latin | 46.86 | n/a | n/a |
| Tswa | <tsc> |
Latin | n/a | n/a | n/a |
| Tumbuka | <tum> |
Latin | 34.27 | n/a | n/a |
| Tunisian Arabic | <aeb> |
Arabic | 4.12 | n/a | n/a |
| Twi | <twi> |
Latin | 35.07 | n/a | 34.14 |
| Umbundu | <umb> |
Latin | 25.46 | n/a | n/a |
| Urhobo | <urh> |
Latin | n/a | n/a | n/a |
| Venda | <ven> |
Latin | n/a | 38.81 | n/a |
| Wolaytta | <wal> |
Latin | n/a | n/a | n/a |
| Wolof | <wol> |
Latin | 30.58 | 30.37 | n/a |
| Xhosa | <xho> |
Latin | 45.43 | 42.36 | 51.78 |
| Yao | <yao> |
Latin | n/a | n/a | n/a |
| Yoruba | <yor> |
Latin | 30.33 | 32.10 | 33.45 |
| Zande | <zne> |
Latin | n/a | n/a | n/a |
| Zarma | <dje> |
Latin | n/a | n/a | n/a |
| Zulu | <zul> |
Latin | 48.27 | 43.50 | 45.58 |
Intended use and limitations
Use it to translate short English texts into African languages, a sentence or a short paragraph at a time.
- English to X only. Other source languages and reverse directions are not supported.
- Long inputs can loop or stop unfinished. 99.5% of FLORES+ outputs finish, but the loop flag still fires on 4.8%, and 95% of those are in seven near-failed languages. Split documents into sentences.
- The Arabic dialects (Tunisian, Moroccan, Egyptian), Tamazight, Tamasheq, Dinka and Kanuri score 4 to 14 chrF++. For
dag,bbjandibb, which had no SFT data, the model produced the wrong tag 93-95% of the time during RL. 67 of the 125 tags have no score, so do not assume quality there. - Automatic metrics only. We did no human evaluation. chrF++, spBLEU and AfriCOMET are imperfect, especially for the lowest-resource languages, and we had one reference per sentence.
- It is not a replacement for NLLB-class systems on average. It is 3.21 chrF++ below NLLB-3.3B on identical sentences.
- Outputs are machine translations without human verification. Review them before use where errors matter.
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.
- Downloads last month
- 118