/ Модель

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

Контекст
32 768 токенов
Параметры
1 млрд
Лицензия
Своя лицензия
Архитектура
gemma3_text · dense
Базовая модель
gemma-3-1b-translate-best
Библиотека
transformers
Опубликована
14 ноя 2026

gemma-3-1b-science-sft

Генерация текстаТекст → текст3 профессии

Текстовая модель Gemma 3 примерно на 1 млрд параметров для перевода научных текстов с английского на африканские языки и дальнейшего дообучения.

148скачиваний за 30 дней0лайковвеса обновлены20 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

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

BeardedMonster/gemma-3-1b-science-sft — текстовая модель Gemma 3 с плотной архитектурой и примерно 1 млрд параметров, разработанная Aletheia AI. Это этап дообучения SFT для перевода научных текстов с английского на африканские языки. Модель продолжает BeardedMonster/gemma-3-1b-translate-best; её веса усреднены с исходной моделью в пропорции 1:1. Для готового научного перевода автор рекомендует более позднюю RL-версию, а этот чекпойнт предназначен прежде всего для дальнейшего дообучения.

Модель принимает текстовые инструкции и выдаёт текст перевода. README сообщает о дообучении на научных данных для амхарского, хауса, луганда, северного сото, йоруба и зулу; оценка на dev-наборе охватывает эти шесть языков. Метаданные указывают контекст 32 768 токенов. На AfriScience-MT dev средний chrF для предложений составил 53,52; целые статьи модель завершала в 89% случаев. Проверка ограничена небольшими dev-наборами и автоматическими метриками, без человеческой оценки и сравнения с опубликованными системами.

Лицензия обозначена как other. По карточке, коммерческое использование разрешено при обязательном указании авторства Aletheia AI и цитировании сопровождающей статьи; также применяются условия и политика допустимого использования Google Gemma 3.

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

  • перевод научных статей с английского на хауса
  • перевод научных текстов на зулу
  • перевод научных предложений на амхарский
  • перевод материалов на луганда
  • перевод на северный сото и йоруба
  • дообучение модели для научного машинного перевода

Ограничения

Модель предназначена для перевода с английского на африканские языки; README предупреждает, что 20 языковых тегов не имеют обучающих данных и не поддерживаются. Оценка проведена только на dev-наборах автоматическими метриками; перевод научного текста может искажать числа, единицы измерения и термины.

Для каких профессий подходит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-1b-science-sft

What this is: The science SFT stage of the 1B science line, and the starting point of the science RL model gemma-3-1b-science-translate-best. We took the general model gemma-3-1b-translate-best (about 1B parameters), fine-tuned it on AfriScience-MT windows and whole papers (amh, hau, lug, nso, yor, zul), and then averaged it with its start model (theta = 0.5 x start + 0.5 x science-tuned). English to African languages only. It has 125 single-token language tags <iso>, 20 of them without general SFT data and three of those with a small science top-up.

For translation use BeardedMonster/gemma-3-1b-science-translate-best instead. It adds the science RL stage, and whole papers finish 96% of the time there against 89% here on dev. Pick this SFT model as a starting point for further fine-tuning. We evaluated it on the AfriScience-MT dev split and a small general dev set only. FLORES+ devtest, NTREX, MAFAND and AfriScience-MT test were not run for it.

Headline numbers (dev): AfriScience-MT sentence chrF averaged over the 6 languages is 53.52 (general model 51.07). Whole-paper chrF is 52.96 (general model 49.21), with 89% of papers finished. On the general dev set (18 languages x 40 sentences) chrF++ is 43.76 (general model 43.90).

Quick start

One user turn, exactly as in training (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 (this is what the model sees):

<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 as one token, then the translation, then <end_of_turn>:

<yor> {Yoruba translation}<end_of_turn>

The tag tokens (<yor>, <hau>, ...) are ordinary vocabulary entries, so skip_special_tokens=True keeps them. Strip the leading tag yourself with re.sub(r"^<[a-z]{3}>\s*", "", text).

  • Use the language name from the table below in the prompt (e.g. Yoruba), never the ISO code. The tag in the answer is only an output marker.
  • Decoding: greedy (do_sample=False / temperature=0), max_new_tokens=256 for a sentence or short paragraph (the benchmarks below used 768).
  • English to African language only. One sentence or a short paragraph per prompt. For better results, split long documents into sentences.

Whole papers use the same prompt (see the science RL card). On dev, 11% of papers did not finish for this model (Amharic 0.68, Luganda 0.88), so check for a missing <end_of_turn>.

Code

Transformers

import re, torch
from transformers import AutoTokenizer, AutoModelForCausalLM   # transformers >= 4.56; older versions: torch_dtype=

repo = "BeardedMonster/gemma-3-1b-science-sft"
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-science-sft"
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()))

OpenAI-compatible server: vllm serve BeardedMonster/gemma-3-1b-science-sft --max-model-len 4096, then send the same user message to /v1/chat/completions with temperature=0.

Per-language performance of this model

On the AfriScience dev sentences, Hausa (64.1) and Zulu (63.9) score best, and Yoruba (41.4) and Amharic (42.4) score lowest. The table is AfriScience-MT dev with greedy decoding and plain chrF. This model is alpha 0.5. The other interpolation weights are there for reference and are not released here:

Language (tag)AfriScience dev sentence chrF: general model (a=0)this model (a=0.5)a=0.7a=1.0whole paper chrF: general modelthis modela=0.7a=1.0whole papers finished (this model)
Amharic (amh)40.9342.4042.2841.5830.3527.8228.8021.680.68
Hausa (hau)61.2664.0864.9164.9261.7065.5662.1657.541.00
Luganda (lug)44.8147.3149.0349.6747.4948.2547.3335.520.88
Sepedi (nso)57.2362.0863.3063.7956.3062.8066.0664.590.92
Yoruba (yor)39.9141.3642.0441.6937.4045.3541.8136.170.92
Zulu (zul)62.2763.8864.3764.8862.0267.9971.3966.430.96
macro (6)51.0753.5254.3254.4249.2152.9652.9346.990.89

General dev set: 18 languages x 40 sentences of held-out FLORES+ dev text, greedy decoding, chrF++ (word_order=2), averaged over languages:

Language (tag)general dev chrF++: general model (a=0)this model (a=0.5)diffa=1.0
Yoruba (yor)29.3430.72+1.3929.93
Hausa (hau)50.3851.44+1.0751.34
Igbo (ibo)41.1740.94-0.2340.86
Twi (twi)38.1438.33+0.1937.04
Ewe (ewe)33.2132.64-0.5730.39
Fon (fon)21.7320.94-0.7920.71
Wolof (wol)34.8034.13-0.6733.29
Swahili (swh)59.3158.02-1.2958.61
Kinyarwanda (kin)44.8144.38-0.4439.71
Somali (som)45.3945.39+0.0044.54
Oromo (orm)35.6434.67-0.9732.31
Zulu (zul)55.9255.59-0.3353.88
Xhosa (xho)50.3949.88-0.5150.04
Afrikaans (afr)66.1165.92-0.1965.91
Shona (sna)42.1241.00-1.1139.72
Chichewa (nya)48.8648.47-0.3847.23
Sesotho (sot)45.2746.06+0.8044.50
Setswana (tsn)47.6649.19+1.5447.88
macro (18)43.9043.76-0.1442.66

How measured. AfriScience-MT (Apache-2.0) dev: 843 sentences and 25 whole papers per language, greedy decoding, sacreBLEU chrF (word_order=0). The general dev set has only 40 sentences per language, so differences of a point or two between languages are small.

Comparison with other systems

We did not compare this model with published systems. They report on AfriScience-MT test, FLORES+ devtest, NTREX and MAFAND, and we did not run those for it. Within our own family (dev, same split):

modelAfriScience dev sentence chrFAfriScience dev whole-paper chrF (finished)general dev chrF++ (18 languages)
general model gemma-3-1b-translate-best (a=0)51.0749.21 (0.96)43.90
this model (SFT, a=0.5)53.5252.96 (0.89)43.76
science RL final (gemma-3-1b-science-translate-best)53.5455.93 (0.96)not measured on this set

Against the general model, this model is ahead on AfriScience dev (53.52 against 51.07 on sentences, 52.96 against 49.21 on whole papers) and about level on general dev (43.76 against 43.90). The science RL model is ahead of it on whole papers (55.93 against 52.96, with 96% finished against 89%). To compare with NLLB and others, see the cards of gemma-3-1b-science-translate-best and gemma-3-1b-translate-best.

Training summary

  1. Base model. gemma-3-1b-translate-best, itself fine-tuned from google/gemma-3-1b-it with 125 single-token language tags <iso>.
  2. Science SFT. AdamW, learning rate 3e-6, 7,168-token packs so that whole papers train intact.
  3. Interpolation. Weights averaged with the start model, alpha 0.5. That is the model in this repository. The next stage, science RL (GRPO), is not part of it, see gemma-3-1b-science-translate-best.

Languages

There are 125 tags, and the prompt uses the name in the first column. "SFT data: none" means the tag exists in the tokenizer, but the model saw no general SFT text for it and cannot translate it. The numbers in the last two columns are for this model on small dev sets, not FLORES+ devtest.

Name used in the promptTagScriptSFT datachrF++ (general dev, 40 sentences)chrF (AfriScience-MT dev, 843 sentences)
Yoruba<yor>Latinyes30.7241.36
Hausa<hau>Latinyes51.4464.08
Igbo<ibo>Latinyes40.94n/a
Pidgin<pcm>Latinyesn/an/a
Efik<efi>Latinyesn/an/a
Twi<twi>Latinyes38.33n/a
Ewe<ewe>Latinyes32.64n/a
Fon<fon>Latinyes20.94n/a
Wolof<wol>Latinyes34.13n/a
Swahili<swh>Latinyes58.02n/a
Kinyarwanda<kin>Latinyes44.38n/a
Somali<som>Latinyes45.39n/a
Oromo<orm>Latinyes34.67n/a
Amharic<amh>Ethiopic (Ge'ez)yesn/a42.40
Tigrinya<tir>Ethiopic (Ge'ez)yesn/an/a
Luganda<lug>Latinyesn/a47.31
Lingala<lin>Latinyesn/an/a
Zulu<zul>Latinyes55.5963.88
Xhosa<xho>Latinyes49.88n/a
Afrikaans<afr>Latinyes65.92n/a
Shona<sna>Latinyes41.00n/a
Chichewa<nya>Latinyes48.47n/a
Sesotho<sot>Latinyes46.06n/a
Setswana<tsn>Latinyes49.19n/a
Malagasy<mlg>Latinyesn/an/a
Ibibio<ibb>Latinscience top-up only (small)n/an/a
Urhobo<urh>Latinyesn/an/a
Bemba<bem>Latinyesn/an/a
Tumbuka<tum>Latinyesn/an/a
Kirundi<run>Latinyesn/an/a
Venda<ven>Latinyesn/an/a
Tsonga<tso>Latinyesn/an/a
Sepedi<nso>Latinyesn/a62.08
Swati<ssw>Latinyesn/an/a
South Ndebele<nbl>Latinyesn/an/a
North Ndebele<nde>Latinyesn/an/a
Sango<sag>Latinyesn/an/a
Tiv<tiv>Latinyesn/an/a
Umbundu<umb>Latinyesn/an/a
Kimbundu<kmb>Latinyesn/an/a
Mossi<mos>Latinyesn/an/a
Kikuyu<kik>Latinyesn/an/a
Luo<luo>Latinyesn/an/a
Kamba<kam>Latinyesn/an/a
Edo<bin>Latinnone (cannot translate)n/an/a
Dagbani<dag>Latinscience top-up only (small)n/an/a
Okpe<oke>Latinyesn/an/a
Tachelhit<shi>Latinyesn/an/a
Dyula<dyu>Latinyesn/an/a
Bambara<bam>Latinyesn/an/a
Kabiye<kbp>Latinyesn/an/a
Ghomala<bbj>Latinnone (cannot translate)n/an/a
Kongo<kon>Latinyesn/an/a
Kabuverdianu<kea>Latinyesn/an/a
Fante<fat>Latinnone (cannot translate)n/an/a
Kanuri<knc>Latinyesn/an/a
Ga<gaa>Latinnone (cannot translate)n/an/a
Kabyle<kab>Latinyesn/an/a
Nuer<nus>Latinyesn/an/a
Congo Swahili<swc>Latinyesn/an/a
Luba-Kasai<lua>Latinyesn/an/a
Kaonde<kqn>Latinyesn/an/a
Lunda<lun>Latinyesn/an/a
Isoko<iso>Latinyesn/an/a
Lozi<loz>Latinyesn/an/a
Wolaytta<wal>Latinyesn/an/a
Acholi<ach>Latinyesn/an/a
Tswa<tsc>Latinyesn/an/a
Makhuwa<vmw>Latinyesn/an/a
Kuanyama<kua>Latinyesn/an/a
Sena<seh>Latinyesn/an/a
Nyankore<nyn>Latinyesn/an/a
Herero<her>Latinscience top-up only (small)n/an/a
Yao<yao>Latinyesn/an/a
Sidamo<sid>Latinyesn/an/a
Ndau<ndc>Latinyesn/an/a
Mende<men>Latinnone (cannot translate)n/an/a
Krio<kri>Latinyesn/an/a
Luyia<luy>Latinnone (cannot translate)n/an/a
Esan<ish>Latinnone (cannot translate)n/an/a
Duala<dua>Latinnone (cannot translate)n/an/a
Basaa<bas>Latinyesn/an/a
Cameroon Pidgin<wes>Latinnone (cannot translate)n/an/a
Tamazight<tzm>Latinyesn/an/a
Fulah<ful>Latinyesn/an/a
Gun<guw>Latinyesn/an/a
Luvale<lue>Latinyesn/an/a
Tetela<tll>Latinyesn/an/a
Zande<zne>Latinyesn/an/a
Luba-Katanga<lub>Latinyesn/an/a
Seychellois Creole<crs>Latinyesn/an/a
Mauritian Creole<mfe>Latinyesn/an/a
Ruund<rnd>Latinyesn/an/a
Nyaneka<nyk>Latinyesn/an/a
Kwangali<kwn>Latinyesn/an/a
Ndonga<ndo>Latinyesn/an/a
Zarma<dje>Latinyesn/an/a
Adangme<ada>Latinyesn/an/a
Egyptian Arabic<arz>Arabicyesn/an/a
Songe<sop>Latinyesn/an/a
Mambwe<mgr>Latinyesn/an/a
Konzo<koo>Latinyesn/an/a
Chokwe<cjk>Latinyesn/an/a
Coptic<cop>Copticyesn/an/a
Lelemi<dop>Latinyesn/an/a
Bulu<bum>Latinyesn/an/a
Nyemba<nba>Latinyesn/an/a
Nyungwe<nyu>Latinyesn/an/a
Dinka<dik>Latinyesn/an/a
Chopi<cce>Latinyesn/an/a
Chuabo<chw>Latinyesn/an/a
Tooro<ttj>Latinyesn/an/a
Lamba<lam>Latinyesn/an/a
Nupe<nup>Latinyesn/an/a
Tamasheq<taq>Latinyesn/an/a
Alur<alz>Latinyesn/an/a
Tonga<toi>Latinyesn/an/a
Berber<ber>Latinnone (cannot translate)n/an/a
Standard Moroccan Tamazight<zgh>Tifinaghnone (cannot translate)n/an/a
Afar<aar>Latinnone (cannot translate)n/an/a
Baoule<bci>Latinnone (cannot translate)n/an/a
Moroccan Arabic<ary>Arabicnone (cannot translate)n/an/a
Tunisian Arabic<aeb>Arabicnone (cannot translate)n/an/a
Teso<teo>Latinnone (cannot translate)n/an/a
Adhola<adh>Latinnone (cannot translate)n/an/a

Intended use and limitations

Use: the science SFT checkpoint, a starting point for science RL or further fine-tuning.

  • Science quality is measured for six languages, on dev only. Whole papers do not always finish. There are no test-split, FLORES+ devtest, NTREX or MAFAND numbers for this model.
  • English to African language only.
  • Twenty tags have no general SFT data and cannot be translated. The weak general languages are the same as in the general card.
  • Automatic metrics only, no human evaluation.
  • Machine translations of scientific text may alter numbers, units and terms.

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
Ревизия весов
b7c4005

0 моделей