/ Модель

Характеристики

Контекст
32 768 токенов
Параметры
257 млн
Лицензия
Своя лицензия
Архитектура
gemma3_text · dense
Базовая модель
gemma-3-270m-it
Библиотека
transformers
Опубликована
20 окт 2026

gemma-3-270m-translate-best

Генерация текстаТекст → текст3 профессии
139скачиваний за 30 дней0лайковвеса обновлены20 ноя 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Компактная модель Aletheia AI для перевода коротких английских текстов на 77 африканских языков.

BeardedMonster/gemma-3-270m-translate-best — текстовая модель перевода, созданная Aletheia AI на основе Google Gemma 3 270M Instruct полным дообучением и последующей оптимизацией GRPO. Она переводит короткие тексты с английского на 77 африканских языков; ещё восемь языков обозначены как неподдерживаемые zero-shot. Модель содержит 257 млн параметров, использует архитектуру Gemma3ForCausalLM и поддерживает контекст до 32 768 токенов. Для работы требуется формат запроса из обучающих данных: один пользовательский ход без системного сообщения.

Модель предназначена для черновых переводов предложений и коротких абзацев, пакетной обработки и офлайн-экспериментов, в том числе на CPU. Качество неоднородно: результаты лучше для некоторых языков, включая африкаанс и суахили, и заметно слабее для амхарского, тигринья, дьюла, фон и канури. Длинные тексты могут обрезаться, пропускаться или повторяться; возможны копирование английского, ошибки с диакритикой и неподтверждённое качество для ряда языков. Оценка проводилась автоматическими метриками без проверки носителями языка. Лицензия разрешает коммерческое использование с обязательной атрибуцией «Translation models by Aletheia AI» и ссылкой на сопровождающую статью; также действуют условия использования и политика запрещённого использования Gemma.

Сценарии применения

  • черновой перевод английских предложений на африкаанс
  • перевод коротких сообщений с английского на суахили
  • пакетный перевод коротких английских текстов на африканские языки
  • офлайн-эксперименты с переводом на языки Африки
  • подготовка черновика перевода для последующей проверки носителем языка

Ограничения

Предназначена для перевода с английского на целевые африканские языки и не рассчитана на перевод в обратном направлении или между африканскими языками; восемь zero-shot языков не поддерживаются надёжно. Качество по языкам различается, длинные входы могут обрезаться или обрабатываться с пропусками и повторами, а оценка выполнена автоматическими метриками без проверки носителями.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus

Бенчмарки пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

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-270m-translate-best

What this is: A 270M-parameter model that translates English into 77 African languages. We fine-tuned google/gemma-3-270m-it with supervised fine-tuning, then GRPO reinforcement learning. It only goes from English to an African language. You pick the target language by name in the prompt, and the model writes a three-letter language tag in front of the translation.

On FLORES+ devtest (45 languages, greedy decoding) the model averages chrF++ 31.7 on the core subset and 34.1 on the extended subset. Before RL it scored 25.1 and 28.7. Core is the 48-sentence FLORES+ subset and extended is a larger FLORES+ subset (sentence counts are in the tables). On the 44 languages we share with NLLB-200, the model is 3.1 chrF++ below NLLB-200-3.3B and 0.7 below NLLB-200-distilled-600M (core subset).

Quick start

Use one user turn, written exactly as in training. Put two spaces after the colon and send no system message:

Translate the text to {Language}:  {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 {tag} {translation}: the three-letter tag, a space, the translation, then <end_of_turn>. For the example above the output starts with yor and then the Yoruba text. Strip the tag yourself (text[len(tag)+1:] if the output starts with tag + " ").

  • Put the language name from the table below in the prompt (for example Yoruba, Pidgin or Congo Swahili), never the ISO code.
  • Decode greedily (do_sample=False) with max_new_tokens 256 for a sentence, or about 1,024 for a paragraph. Stop at <end_of_turn> (token id 106) or <eos> (id 1). Beam search with 4 beams gives +0.66 chrF++ over greedy (20 languages x 200 sentences). A repetition penalty of 1.1 lowers chrF++ by 1.48, and sampling is worse than greedy.
  • English to African language only. Use one sentence or a short paragraph per prompt. On whole documents, greedy decoding finishes 98, 97, 92, 65, 42 and 31% of them at about 64, 256, 512, 1,024, 2,048 and 4,096 source tokens. Split long documents into sentences.

Code

Transformers

import torch
from transformers import AutoTokenizer, AutoModelForCausalLM

repo = "BeardedMonster/gemma-3-270m-translate-best"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype=torch.bfloat16, device_map="auto")
STOP = [tok.eos_token_id, tok.convert_tokens_to_ids("<end_of_turn>")]   # 1 and 106

def translate(text, language, tag, 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(model.device)
    out = model.generate(**enc, max_new_tokens=max_new_tokens, do_sample=False, eos_token_id=STOP)
    s = tok.decode(out[0, enc["input_ids"].shape[1]:], skip_special_tokens=True).strip()
    return s[len(tag) + 1:] if s.startswith(tag + " ") else s    # drop the leading language tag

print(translate("Good morning, how are you?", "Yoruba", "yor"))

# one sentence into five languages
sentence = "The clinic opens at eight o'clock every morning."
for language, tag in [("Yoruba", "yor"), ("Hausa", "hau"), ("Swahili", "swh"), ("Zulu", "zul"), ("Igbo", "ibo")]:
    print(f"{language:10s} {translate(sentence, language, tag)}")

vLLM

from vllm import LLM, SamplingParams

llm = LLM("BeardedMonster/gemma-3-270m-translate-best", dtype="bfloat16", max_model_len=4096)
params = SamplingParams(temperature=0.0, max_tokens=256, stop_token_ids=[106])
sentence = "The clinic opens at eight o'clock every morning."
langs = [("Yoruba", "yor"), ("Hausa", "hau"), ("Swahili", "swh"), ("Zulu", "zul"), ("Igbo", "ibo")]
convs = [[{"role": "user", "content": f"Translate the text to {name}:  {sentence}"}] for name, _ in langs]
for (name, tag), out in zip(langs, llm.chat(convs, params)):      # llm.chat applies the model's chat template
    text = out.outputs[0].text.strip()
    print(name, text[len(tag) + 1:] if text.startswith(tag + " ") else text)

Languages

The prompt accepts 85 language names. 77 of them are target languages we trained with RL. The other 8 are marked "zero-shot (unsupported)" (nde, fat, knc, gaa, men, luy, tzm, ful). We did not train them as targets, so we do not recommend them, and for nde and knc the model does not write the tag. The script is Latin except for Amharic and Tigrinya, which use Ethiopic. The last column is the FLORES+ devtest core-subset chrF++ where the language is in FLORES+. Otherwise it is the first available of NTREX, MAFAND, SmolSent, SALT, GlotStoryBook, IbomMT and FLORES-MOZ, with the benchmark and sentence count in brackets. Values from different benchmarks are not comparable. 19 languages have no human-reference benchmark, so they are not measured.

Name in promptTagScriptSupportchrF++ (benchmark, n)
AcholiachLatintrained22.9 (SmolSent, 76)
AfrikaansafrLatintrained61.2 (FLORES+, 48)
AmharicamhEthiopictrained15.9 (FLORES+, 48)
BambarabamLatintrained23.3 (FLORES+, 48)
BasaabasLatintrainednot measured (no human-reference benchmark)
BembabemLatintrained32.3 (FLORES+, 48)
Cameroon PidginwesLatintrainednot measured (no human-reference benchmark)
ChichewanyaLatintrained40.8 (FLORES+, 48)
Congo SwahiliswcLatintrainednot measured (no human-reference benchmark)
DagbanidagLatintrained28.5 (GlotStoryBook, 106)
DualaduaLatintrainednot measured (no human-reference benchmark)
DyuladyuLatintrained16.9 (FLORES+, 48)
EdobinLatintrainednot measured (no human-reference benchmark)
EfikefiLatintrained23.4 (SmolSent, 76)
EsanishLatintrainednot measured (no human-reference benchmark)
EweeweLatintrained27.2 (FLORES+, 48)
FantefatLatinzero-shot (unsupported)not measured
FonfonLatintrained19.7 (FLORES+, 48)
FulahfulLatinzero-shot (unsupported)not measured
GagaaLatinzero-shot (unsupported)not measured
GhomalabbjLatintrainednot measured (no human-reference benchmark)
HausahauLatintrained44.9 (FLORES+, 48)
HereroherLatintrained25.0 (GlotStoryBook, 510)
IbibioibbLatintrained20.4 (IbomMT, 48)
IgboiboLatintrained37.8 (FLORES+, 48)
IsokoisoLatintrainednot measured (no human-reference benchmark)
KabiyekbpLatintrained19.9 (FLORES+, 48)
KabuverdianukeaLatintrained25.4 (FLORES+, 48)
KabylekabLatintrained26.1 (FLORES+, 48)
KambakamLatintrained22.7 (FLORES+, 48)
KanurikncLatinzero-shot (unsupported)14.2 (FLORES+, 48)
KaondekqnLatintrained34.0 (GlotStoryBook, 387)
KikuyukikLatintrained28.7 (FLORES+, 48)
KimbundukmbLatintrained24.1 (FLORES+, 48)
KinyarwandakinLatintrained39.5 (FLORES+, 48)
KirundirunLatintrained29.7 (FLORES+, 48)
KongokonLatintrained15.3 (SmolSent, 76)
KriokriLatintrained21.1 (SmolSent, 76)
KuanyamakuaLatintrained31.6 (GlotStoryBook, 487)
LingalalinLatintrained38.6 (FLORES+, 48)
LozilozLatintrained35.5 (GlotStoryBook, 897)
Luba-KasailuaLatintrained31.2 (FLORES+, 48)
LugandalugLatintrained30.7 (FLORES+, 48)
LundalunLatintrained29.1 (GlotStoryBook, 387)
LuoluoLatintrained30.0 (FLORES+, 48)
LuyialuyLatinzero-shot (unsupported)not measured
MakhuwavmwLatintrained26.2 (FLORES+, 48)
MalagasymlgLatintrained39.4 (FLORES+, 48)
MendemenLatinzero-shot (unsupported)not measured
MossimosLatintrained22.1 (FLORES+, 48)
NdaundcLatintrained19.6 (SmolSent, 76)
North NdebelendeLatinzero-shot (unsupported)29.2 (NTREX, 1201)
NuernusLatintrained21.6 (FLORES+, 48)
NyankorenynLatintrained21.4 (SmolSent, 76)
OkpeokeLatintrainednot measured (no human-reference benchmark)
OromoormLatintrained28.0 (FLORES+, 48)
PidginpcmLatintrained60.7 (MAFAND, 1358)
SangosagLatintrained32.9 (FLORES+, 48)
SenasehLatintrained28.1 (FLORES-MOZ, 48)
SepedinsoLatintrained45.9 (FLORES+, 48)
SesothosotLatintrained41.8 (FLORES+, 48)
SetswanatsnLatintrained42.7 (FLORES+, 48)
ShonasnaLatintrained35.4 (FLORES+, 48)
SidamosidLatintrainednot measured (no human-reference benchmark)
SomalisomLatintrained36.5 (FLORES+, 48)
South NdebelenblLatintrained30.6 (SmolSent, 76)
SwahiliswhLatintrained51.8 (FLORES+, 48)
SwatisswLatintrained33.9 (FLORES+, 48)
TachelhitshiLatintrainednot meaningful (NTREX reference is Arabic script, model writes Latin)
TamazighttzmLatinzero-shot (unsupported)not measured
TigrinyatirEthiopictrained12.1 (FLORES+, 48)
TivtivLatintrained22.4 (SmolSent, 76)
TsongatsoLatintrained41.3 (FLORES+, 48)
TswatscLatintrained17.9 (GlotStoryBook, 100)
TumbukatumLatintrained30.8 (FLORES+, 48)
TwitwiLatintrained34.9 (FLORES+, 48)
UmbunduumbLatintrained24.7 (FLORES+, 48)
UrhobourhLatintrainednot measured (no human-reference benchmark)
VendavenLatintrained38.7 (NTREX, 1201)
WolayttawalLatintrainednot measured (no human-reference benchmark)
WolofwolLatintrained28.3 (FLORES+, 48)
XhosaxhoLatintrained43.7 (FLORES+, 48)
YaoyaoLatintrainednot measured (no human-reference benchmark)
YorubayorLatintrained27.4 (FLORES+, 48)
ZuluzulLatintrained43.4 (FLORES+, 48)

Per-language performance of this model

On the core subset the best five FLORES+ languages by chrF++ are Afrikaans 61.2, Swahili 51.8, Sepedi 45.9, Hausa 44.9 and Xhosa 43.7. The weakest five are Tigrinya 12.1, Kanuri 14.2, Amharic 15.9, Dyula 16.9 and Fon 19.7. Kanuri is a zero-shot language, and Amharic and Tigrinya are the two Ethiopic-script languages.

Cells show chrF++ with the sentence count in brackets. Core is the 48-sentence FLORES+ subset and extended is a larger FLORES+ subset (spBLEU is shown after the slash). "n/a" means there is no such benchmark for the language.

LanguageTagFLORES+ core chrF++ (n)FLORES+ extended chrF++ / spBLEU (n)NTREX core (n)MAFAND core (n)SmolSent core (n)Other benchmarksAfriCOMET (FLORES+ extended, n)
Acholiachn/an/an/an/a22.9 (76)SALT 25.6 (78)n/a
Afrikaansafr61.2 (48)63.5 / 42.7 (1012)61.2 (1201)n/a46.9 (76)n/a0.746 (1012)
Amharicamh15.9 (48)18.9 / 7.3 (1012)13.0 (1201)14.5 (778)12.0 (76)n/a0.490 (1012)
Bambarabam23.3 (48)24.9 / 5.5 (1012)n/an/a17.4 (76)n/a0.472 (1012)
Basaabasn/an/an/an/an/an/an/a
Bembabem32.3 (48)34.0 / 9.6 (1012)33.0 (1201)n/a23.8 (76)n/a0.587 (1012)
Cameroon Pidginwesn/an/an/an/an/an/an/a
Chichewanya40.8 (48)43.3 / 16.1 (1012)42.7 (1201)42.3 (1001)30.9 (76)n/a0.681 (1012)
Congo Swahiliswcn/an/an/an/an/an/an/a
Dagbanidagn/an/an/an/an/aGlotStoryBook 28.5 (106)n/a
Dualaduan/an/an/an/an/an/an/a
Dyuladyu16.9 (48)18.3 / 3.0 (1012)n/an/a18.0 (76)n/a0.369 (1012)
Edobinn/an/an/an/an/an/an/a
Efikefin/an/an/an/a23.4 (76)IbomMT 29.0 (48)n/a
Esanishn/an/an/an/an/an/an/a
Eweewe27.2 (48)31.0 / 9.5 (1012)30.4 (1201)n/a23.4 (76)n/a0.616 (1012)
Fantefatn/an/an/an/an/an/an/a
Fonfon19.7 (48)21.6 / 4.8 (1012)n/an/a15.7 (76)n/a0.608 (1012)
Fulahfuln/an/an/an/an/an/an/a
Gagaan/an/an/an/an/an/an/a
Ghomalabbjn/an/an/an/an/an/an/a
Hausahau44.9 (48)45.4 / 20.9 (170)47.9 (1201)33.6 (1093)33.9 (76)n/a0.611 (170)
Hererohern/an/an/an/an/aGlotStoryBook 25.0 (510)n/a
Ibibioibbn/an/an/an/an/aIbomMT 20.4 (48)n/a
Igboibo37.8 (48)38.5 / 17.6 (453)43.8 (1201)43.5 (131)38.6 (76)SALT 35.9 (78)0.661 (453)
Isokoison/an/an/an/an/an/an/a
Kabiyekbp19.9 (48)21.7 / 3.7 (1012)n/an/an/an/a0.574 (1012)
Kabuverdianukea25.4 (48)26.8 / 6.5 (1012)n/an/an/an/an/a
Kabylekab26.1 (48)26.7 / 7.1 (1012)n/an/a20.8 (76)n/a0.671 (1012)
Kambakam22.7 (48)24.9 / 5.9 (1012)n/an/an/an/a0.489 (1012)
Kanuriknc14.2 (48)14.8 / 2.6 (1012)n/an/an/an/an/a
Kaondekqnn/an/an/an/an/aGlotStoryBook 34.0 (387)n/a
Kikuyukik28.7 (48)32.0 / 9.5 (1012)n/an/a25.1 (76)n/a0.670 (1012)
Kimbundukmb24.1 (48)25.6 / 4.2 (1012)n/an/an/an/a0.490 (1012)
Kinyarwandakin39.5 (48)42.2 / 17.7 (1012)37.5 (1201)49.3 (1001)27.9 (76)n/a0.693 (1012)
Kirundirun29.7 (48)34.0 / 10.5 (1012)n/an/a25.7 (76)n/a0.658 (1012)
Kongokonn/an/an/an/a15.3 (76)n/an/a
Kriokrin/an/an/an/a21.1 (76)n/an/a
Kuanyamakuan/an/an/an/an/aGlotStoryBook 31.6 (487)n/a
Lingalalin38.6 (48)42.0 / 14.0 (1012)n/an/a30.8 (76)n/a0.622 (1012)
Lozilozn/an/an/an/an/aGlotStoryBook 35.5 (897)n/a
Luba-Kasailua31.2 (48)33.3 / 8.3 (1012)n/an/an/an/a0.581 (1012)
Lugandalug30.7 (48)35.1 / 10.1 (1010)n/a45.8 (1497)24.1 (76)SALT 36.3 (78)0.624 (1010)
Lundalunn/an/an/an/an/aGlotStoryBook 29.1 (387)n/a
Luoluo30.0 (48)33.0 / 10.3 (1012)n/a32.6 (1386)22.4 (76)n/a0.680 (1012)
Luyialuyn/an/an/an/an/an/an/a
Makhuwavmw26.2 (48)27.0 / 5.4 (1012)n/an/an/an/an/a
Malagasymlg39.4 (48)43.0 / 15.6 (1012)38.6 (1201)n/a32.0 (76)n/a0.618 (1012)
Mendemenn/an/an/an/an/an/an/a
Mossimos22.1 (48)22.9 / 4.2 (1012)n/an/a16.1 (76)n/a0.563 (1012)
Ndaundcn/an/an/an/a19.6 (76)n/an/a
North Ndebelenden/an/a29.2 (1201)n/an/an/an/a
Nuernus21.6 (48)20.8 / 6.9 (1012)n/an/an/an/a0.521 (1012)
Nyankorenynn/an/an/an/a21.4 (76)SALT 25.7 (78)n/a
Okpeoken/an/an/an/an/an/an/a
Oromoorm28.0 (48)31.3 / 6.9 (988)27.8 (1201)n/a24.0 (76)n/a0.644 (988)
Pidginpcmn/an/an/a60.7 (1358)54.6 (76)n/an/a
Sangosag32.9 (48)34.7 / 9.2 (1012)n/an/an/an/a0.570 (1012)
Senasehn/an/an/an/an/aFLORES-MOZ 28.1 (48)n/a
Sepedinso45.9 (48)48.9 / 24.6 (1012)32.1 (1201)n/a35.0 (76)n/a0.700 (1012)
Sesothosot41.8 (48)45.4 / 20.1 (1012)n/an/a32.5 (76)n/a0.677 (1012)
Setswanatsn42.7 (48)46.1 / 21.9 (982)48.1 (1201)53.5 (1494)39.4 (76)n/a0.696 (982)
Shonasna35.4 (48)39.4 / 14.5 (1012)38.8 (1201)34.5 (1000)29.6 (76)n/a0.647 (1012)
Sidamosidn/an/an/an/an/an/an/a
Somalisom36.5 (48)40.6 / 15.8 (1012)43.0 (1201)n/a27.9 (76)n/a0.647 (1012)
South Ndebelenbln/an/an/an/a30.6 (76)GlotStoryBook 23.3 (305)n/a
Swahiliswh51.8 (48)58.4 / 35.9 (1012)56.4 (1201)52.2 (1616)42.7 (76)SALT 55.9 (78)0.721 (1012)
Swatissw33.9 (48)37.5 / 12.3 (1012)37.6 (1201)n/a29.0 (76)n/a0.619 (1012)
Tachelhitshin/an/a0.9 (1201) (script mismatch)n/an/an/an/a
Tamazighttzmn/an/an/an/an/an/an/a
Tigrinyatir12.1 (48)13.8 / 4.0 (1012)11.7 (1201)n/a8.8 (76)n/a0.588 (1012)
Tivtivn/an/an/an/a22.4 (76)n/an/a
Tsongatso41.3 (48)46.0 / 20.8 (1012)n/an/a35.1 (76)n/a0.667 (1012)
Tswatscn/an/an/an/an/aGlotStoryBook 17.9 (100)n/a
Tumbukatum30.8 (48)33.9 / 10.2 (1012)n/an/a27.7 (76)n/a0.606 (1012)
Twitwi34.9 (48)37.3 / 14.5 (1012)n/a36.7 (1486)25.9 (76)n/a0.671 (1012)
Umbunduumb24.7 (48)25.4 / 3.1 (1012)n/an/an/an/a0.567 (1012)
Urhobourhn/an/an/an/an/an/an/a
Vendavenn/an/a38.7 (1201)n/a26.9 (76)n/an/a
Wolayttawaln/an/an/an/an/an/an/a
Wolofwol28.3 (48)29.6 / 10.0 (1012)28.5 (1201)n/a22.3 (76)n/a0.658 (1012)
Xhosaxho43.7 (48)44.9 / 19.6 (1012)40.9 (1201)52.0 (999)32.3 (76)n/a0.654 (1012)
Yaoyaon/an/an/an/an/an/an/a
Yorubayor27.4 (48)27.2 / 11.3 (657)29.5 (1201)30.4 (247)23.9 (76)n/a0.701 (657)
Zuluzul43.4 (48)48.6 / 24.3 (976)42.1 (1201)45.9 (547)36.8 (76)n/a0.693 (976)

The NTREX reference for Tachelhit (shi) is in Arabic script and the model writes Latin, so the score of about 1 is a script mismatch and not a quality measure. Kongo (kon) is scored on SmolSent only, and the references may use a different Kikongo variety, which could explain part of the low score. 19 languages have no human-reference benchmark, so their quality is unverified: urh bin oke bbj fat gaa swc iso wal yao sid men luy ish dua bas wes tzm ful.

How measured. Greedy decoding (max_new_tokens 768) with the language tag stripped, scored per language with sacreBLEU chrF++ (word_order=2) and spBLEU (flores200 tokenizer), then averaged over the 45 FLORES+ languages: chrF++ 31.7 (core), 34.08 (extended) and spBLEU 12.4 (extended). The benchmarks are the test splits of FLORES+ devtest, NTREX-128, MAFAND-MT, SmolSent, SALT, GlotStoryBook, IbomMT and FLORES-MOZ, and AfriCOMET is masakhane/africomet-stl-1.1.

Comparison with other systems

We scored every system ourselves on the same FLORES+ devtest sentences (English to X) and averaged chrF++ over languages. The NLLB models ran with CTranslate2 and beam 4. TranslatePsy-AfriSLM used the prompt from its model card with greedy decoding. Core and extended mean the same subsets as above.

Language set (FLORES+ devtest, English -> X)Systemcore chrF++extended chrF++
43 languages covered by NLLB-200this model32.2634.70
NLLB-200-distilled-600M33.0036.43
NLLB-200-3.3B35.2938.41
19 TranslatePsy languagesthis model38.4141.21
NLLB-200-distilled-600M39.0942.58
NLLB-200-3.3B41.5044.66
TranslatePsy-AfriSLM-0.8B41.9145.27
9 languages scored for TranslatePsy-2Bthis model38.9141.29
NLLB-200-distilled-600M40.7244.18
NLLB-200-3.3B43.5346.29
TranslatePsy-AfriSLM-0.8B43.6346.61
TranslatePsy-AfriSLM-2B44.1346.44

Learned metrics on the extended subset are below. AfriCOMET was also used during RL, so read it with care, and neural metrics tend to favour NLLB-like output.

SystemAfriCOMET (ref-based stl-1.1), 43 NLLB languages (42 scored)AfriCOMET, 19 TranslatePsy languagesSSA-COMET-MTL x100 (ref-based), 22 languagesSSA-COMET-MTL x100, 19 TranslatePsy languages
this model0.6200.65751.952.8
NLLB-200-distilled-600M0.6540.68856.756.7
NLLB-200-3.3B0.6690.70159.359.1
TranslatePsy-AfriSLM-0.8Bn/a (not run on the 43 set)0.717n/a (not run on the 22 set)60.8

On the 21 languages we share with the AfriqueLLM models, this model scores 39.1 chrF++ (extended subset). Their published 5-shot numbers are 36.7 for AfriqueLlama-8B and AfriqueQwen-14B, 38.6 for AfriqueGemma-12B and 41.7 for the 50-language Qwen3.5-4B variant. They come from a different harness and split, so treat the gap as a rough guide. The Gemma-3-270m-it base model with the same prompt scores 13.0 chrF++ (core subset, 45 languages), and this model is 5.2 chrF++ and 0.061 AfriCOMET above its own SFT start on identical sentences.

Where this model is behind: NLLB-200-3.3B is ahead on the 44 languages we share with it, 34.99 against 31.86 chrF++ on the core subset and 38.09 against 34.25 on the extended subset. This model is higher in 11 of those 44 languages. NLLB-3.3B also leads on NTREX-128 (+4.10 chrF++ over 21 languages), MAFAND-MT (+3.49, 14 languages) and SmolSent (+5.45, 36 languages). NLLB-200-distilled-600M has 2.3x the parameters and is ahead by 0.67 (core) and 1.68 (extended) chrF++ over 44 languages, but this model is higher in 23 of them, for example Wolof, Fon, Twi, Yoruba, Igbo, Luganda, Swahili and Tumbuka. TranslatePsy-AfriSLM-0.8B is ahead in all 19 of its languages (+4.1 chrF++ on extended, and AfriCOMET 0.717 against 0.657). NLLB is far ahead on the Ethiopic-script languages (Amharic 37.3 vs 19.0, Tigrinya 22.4 vs 13.8, extended subset), on Cushitic, Berber and Nilo-Saharan languages, and on Kabuverdianu (44.1 vs 26.7). What this model offers is its size (270M, so it can run on a CPU) and its breadth (77 target languages).

Training summary

  1. Base model: google/gemma-3-270m-it, full fine-tuning, no adapters.
  2. SFT: public English-to-African parallel data for the 77 target languages, packed into 4,096-token packs with one language per pack and filtered with AfriCOMET-QE where it covers the language. AdamW, then Muon, at 131,072 tokens per step.
  3. RL (GRPO): groups of 16 samples at temperature 1, KL penalty 0.05, learning rate 1e-6 to 3e-6 with a KL guard. Inputs get longer as training goes on. The reward is reference-free quality estimation (AfriCOMET-QE), plus guards for language ID, copying, repetition and length.

Intended use and limitations

Use it to translate short English texts (a sentence or a short paragraph) into African languages: drafts, batch jobs, offline and CPU experiments, or a base for more fine-tuning.

  • English to African language only. It does not do African to English or African to African, and languages outside the table are unsupported.
  • The zero-shot tags (nde, fat, knc, gaa, men, luy, tzm, ful) cannot be translated reliably. The 19 languages without a human benchmark are unverified.
  • Weak languages: group means on FLORES+ are about 15-27 chrF++. Amharic, Tigrinya, Dyula, Fon and Kanuri are the weakest, and Tachelhit has no usable reference. Languages with many tone marks lose diacritics or invent words (Yoruba, Fon, Ewe). Ethiopic script is far behind NLLB-200 (Amharic 19.0 vs 38.0 and Tigrinya 13.8 vs 24.7 chrF++ for NLLB-200-3.3B, extended subset).
  • Short inputs: long inputs get omitted, repeated or truncated, so split text into sentences. The output may skip sentences, copy English or loop. 270M parameters are shared by 77 languages, and the tokenizer breaks Yoruba and Tigrinya into about 1.5-1.7 times more pieces than Swahili.
  • Automatic metrics only, no human evaluation. We did no native-speaker review and no safety or toxicity testing, and AfriCOMET and chrF++ are imperfect, especially for the lowest-resource languages. Outputs may carry biases from the training data and the base model. They are machine translations, so have someone 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.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Gemma3ForCausalLM
Ревизия весов
3df38cb

0 моделей