/ Модель

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

Размер весов
51,6 ГБ
Лицензия
Gemma
Архитектура
gemma4 · dense
Базовая модель
gemma-4-26B-A4B-it
Библиотека
transformers
Опубликована
11 сен 2026

en-indic-translate-26b

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

Дообученная Gemma 4 для перевода сложных англоязычных документов на 11 индийских языков с сохранением формул, кода и структуры.

60скачиваний за 30 дней0лайковвеса обновлены11 сен 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

En-Indic Translate 26B — дообученная модель на базе google/gemma-4-26B-A4B-it, представленная автором карточки как система перевода с английского на 11 индийских языков: ассамский, бенгальский, гуджарати, хинди, каннада, малаялам, маратхи, одиа, пенджаби, тамильский и телугу. Она предназначена для перевода сложных, длинных документов с формулами и структурированным содержимым.

Модель сохраняет LaTeX-формулы, блоки кода, заголовки и структуру документа. Базовая Gemma 4 — мультимодальная модель, но README описывает именно перевод текста; указанная архитектура — Gemma4ForConditionalGeneration, формат весов — safetensors, библиотека — Transformers. В карточке приведена оценка на 500 документах, где отдельно измерялись сохранность математических элементов, кода и склонность к циклическим повторам.

Возможность модели обрабатывать тысячи токенов согласованно заявлена в README, но точная длина контекста в предоставленных сведениях не приведена. Автор сообщает о тестировании на AMD MI300X с ROCm; для NVIDIA CUDA могут потребоваться корректировки версий пакетов. Лицензия — Gemma.

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

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

Ограничения

README сообщает о тестировании на AMD MI300X с ROCm; для работы в окружении NVIDIA CUDA могут потребоваться корректировки версий пакетов. Оценка основана на 500 документах и метриках сохранения структуры, формул, кода и циклических повторов.

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

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

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

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

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

Открыть на Hugging Face

En-Indic Translate 26B

English to 11 Indic language translation model. Translates English text to Assamese, Bengali, Gujarati, Hindi, Kannada, Malayalam, Marathi, Odia, Punjabi, Tamil, and Telugu while preserving LaTeX formulas, code blocks, and document structure.

Base Model

Fine-tuned from google/gemma-4-26B-A4B-it (a Mixture-of-Experts model with 26B total parameters, 4B active).

Baseline: Sarvam-Translate

The comparison baseline is sarvamai/sarvam-translate, a strong open En→Indic translation model. Translating complex scientific documents is hard in a way that ordinary sentence translation is not: the inputs are long, densely structured, and formula-heavy, so a model has to translate the prose while leaving LaTeX math, section headings, and fenced code untouched — and stay coherent over thousands of tokens without collapsing into a repetition loop. The evaluation below measures whether the document survived the translation, not just whether the sentences read well.

Evaluation and metrics

The model is evaluated on a held-out set of 500 complex English documents (~45 per language, across all 11 Indic languages), scored reference-free — each translation is judged against its own source document for whether the math, structure, and layout survived, so no human gold translation is required. The table below places this model in context alongside its two siblings and the Sarvam-Translate baseline.

Higher is better on every row except degeneracy rate and loop period (lower is better). Values are means / pass-rates over the 500 documents.

MetricOurs (E4B)Ours (26B)Ours (E2B)Sarvam
Degeneracy (loop) rate ↓1.8% (9/500)2.2% (11/500)7.8% (39/500)17.4% (87/500)
Loop period — max (chars) ↓2541972161,540
Loop period — median (chars) ↓10102342
Math preservation ↑0.9790.9800.9340.364
Structure integrity ↑0.9880.9910.9630.607
Renderable ↑98.2%95.8%96.2%84.6%
Heading match ↑97.0%97.2%92.2%17.6%
Code-fence match ↑100%100%100%92.0%

Supporting math detail

MetricOurs (E4B)Ours (26B)Ours (E2B)Sarvam
Math counts match (exact) ↑69.4%69.8%56.2%7.2%
Extra / invented math fraction ↓0.0010.0010.0150.172
Mean inline-math delta (kept vs source)-1.1-2.0-3.8-34.3

On average Sarvam drops ~34 inline math elements per document; our models drop ~1–4. Code-fence match is the closest column (100% vs 92%) — a clear but modest win.

How to read these metrics

All metrics are reference-free (no gold translation needed). Higher is better on everything except degeneracy rate and loop period, where lower is better.

  • Degeneracy (loop) rate — the share of documents where the model falls into a repetition loop, repeating the same span over and over until it runs out of budget, producing unusable output for that document.
  • Loop period — when a model does loop, how long the repeated chunk is: a 5-character stutter is recoverable, a 1,500-character block repeated over and over is catastrophic.
  • Math preservation — the fraction of the source document's math (LaTeX equations and symbols) that survives intact in the translation.
  • Structure integrity — how much of the document's skeleton (section headings and fenced code blocks) is reproduced in the right shape in the translation.
  • Renderable — whether the translated document actually displays correctly, with its math and markup rendering with no errors.
  • Heading match — whether the translation keeps exactly the same set of section-heading levels as the source: no headings dropped, merged, or invented.
  • Code-fence match — whether every fenced code block is copied through byte-for-byte, exactly as in the source.

4-way metric comparison

Sample translations

Side-by-side examples on short, math-rich excerpts. The first set shows the source next to this model's output; the second set adds the Sarvam-Translate baseline for contrast on languages where the baseline visibly breaks down.

Source | this model

Bengali (bn) Source and 26B translation, Bengali

Marathi (mr) Source and 26B translation, Marathi

Telugu (te) Source and 26B translation, Telugu

Punjabi (pa) Source and 26B translation, Punjabi

Source | this model | Sarvam-Translate

Hindi (hi) Source, 26B translation, and Sarvam-Translate, Hindi

Kannada (kn) Source, 26B translation, and Sarvam-Translate, Kannada

Tamil (ta) Source, 26B translation, and Sarvam-Translate, Tamil

Malayalam (ml) Source, 26B translation, and Sarvam-Translate, Malayalam

Supported Languages

CodeLanguage
asAssamese
bnBengali
guGujarati
hiHindi
knKannada
mlMalayalam
mrMarathi
orOdia
paPunjabi
taTamil
teTelugu

Usage with HuggingFace Transformers

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "sulabhkatiyar/en-indic-translate-26b"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", torch_dtype="bfloat16")

text = "Your English text here"
target_lang = "Hindi"  # or any supported language
prompt = f"Translate English to {target_lang}:\n{text}"

messages = [{"role": "user", "content": prompt}]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt", add_generation_prompt=True).to(model.device)

outputs = model.generate(inputs, max_new_tokens=4096, do_sample=False)
result = tokenizer.decode(outputs[0][inputs.shape[-1]:], skip_special_tokens=True)
print(result)

Usage with vLLM

from vllm import LLM, SamplingParams
from transformers import AutoTokenizer

model_id = "sulabhkatiyar/en-indic-translate-26b"
tokenizer = AutoTokenizer.from_pretrained(model_id)
llm = LLM(model=model_id, max_model_len=32768)

text = "Your English text here"
target_lang = "Hindi"
prompt = f"Translate English to {target_lang}:\n{text}"

messages = [{"role": "user", "content": prompt}]
prompt_text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)

outputs = llm.generate([prompt_text], SamplingParams(temperature=0, max_tokens=4096))
print(outputs[0].outputs[0].text)

Example

Input (English):

Gradient descent is the workhorse of modern machine learning. Given a loss function $L(\theta)$, the parameters are updated iteratively using the rule $\theta_{t+1} = \theta_t - \eta \nabla L(\theta_t)$, where $\eta$ is the learning rate. For a neural network with $N$ layers, the gradient is computed via backpropagation:

$$\frac{\partial L}{\partial W^{(l)}} = \delta^{(l)} \cdot (a^{(l-1)})^\top$$

where $\delta^{(l)}$ denotes the error signal at layer $l$. A minimal training loop in Python looks like this:

```python
for epoch in range(num_epochs):
    loss = model(x_train, y_train)
    loss.backward()
    optimizer.step()
    optimizer.zero_grad()
```

When $\eta$ is too large, the loss oscillates; when too small, convergence stalls. Adaptive methods like Adam adjust $\eta$ per-parameter using running estimates of $\mathbb{E}[g^2]$.

Output (Hindi):

ग्रेडिएंट डिसेंट आधुनिक मशीन लर्निंग का वर्कहॉर्स है। एक हानि फ़ंक्शन $L(\theta)$ दिए जाने पर, मापदंडों को नियम $\theta_{t+1} = \theta_t - \eta \nabla L(\theta_t)$ का उपयोग करके पुनरावृत्ति से अपडेट किया जाता है, जहाँ $\eta$ सीखने की दर है। $N$ परतों वाले एक न्यूरल नेटवर्क के लिए, ग्रेडिएंट की गणना बैकप्रोपैगेशन के माध्यम से की जाती है:

$$\frac{\partial L}{\partial W^{(l)}} = \delta^{(l)} \cdot (a^{(l-1)})^\top$$

जहाँ $\delta^{(l)}$ परत $l$ पर त्रुटि संकेत को दर्शाता है। पायथन में एक न्यूनतम प्रशिक्षण लूप इस प्रकार दिखता है:

```python
for epoch in range(num_epochs):
    loss = model(x_train, y_train)
    loss.backward()
    optimizer.step()
    optimizer.zero_grad()
```

जब $\eta$ बहुत बड़ा होता है, तो हानि दोलन करती है; जब बहुत छोटा होता है, तो अभिसरण रुक जाता है। एडम जैसे अनुकूली तरीके $\mathbb{E}[g^2]$ के रनिंग अनुमानों का उपयोग करके प्रति-पैरामीटर $\eta$ को समायोजित करते हैं।

Caveats

This model was developed and tested on AMD MI300X GPUs (ROCm). Some package versions may need adjustment for NVIDIA CUDA environments.

License

This model inherits the Gemma license from its base model.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Gemma4ForConditionalGeneration
Ревизия весов
521a6ab

0 моделей