/ Модель

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

Параметры
157 млн
Лицензия
Apache 2.0
Архитектура
mt5 · dense
Базовая модель
mt5-small
Библиотека
transformers
Опубликована
13 сен 2026

garhwali-hindi-mt-v2

ПереводТекст → текст3 профессии
19скачиваний за 30 дней2лайкавеса обновлены13 сен 2026

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

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

Дообученная mT5-small для экспериментального перевода между хинди и гархвали, с ограниченным качеством вне обучающих шаблонов.

Модель vineetkukreti/garhwali-hindi-mt-v2 — дообученная версия mT5-small с 157,4 млн параметров для машинного перевода между хинди и гархвали. Она принимает текст с префиксом вида «translate {Source} to {Target}: » и переводит в обоих направлениях; оба языка записаны письмом деванагари. Модель опубликована как воспроизводимый экспериментальный базовый вариант для низкоресурсного языка гархвали.

В обучении использовались около 20 тысяч пар, сгенерированных по 27 фиксированным шаблонам. Из-за совпадения шаблонов в обучающей и тестовой выборках опубликованные показатели BLEU 24,5 и chrF++ 68,4 завышают качество для новых фраз. На незнакомых сочетаниях слов модель демонстрирует схлопывание словаря, а в 22,1% случаев допускает утечку хинди в перевод на гархвали. Версия архивирована, не предназначена для производственного применения и уступает последующим версиям линейки.

Модель основана на google/mt5-small, использует архитектуру MT5ForConditionalGeneration и распространяется в формате safetensors по лицензии Apache-2.0.

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

  • перевод коротких фраз с хинди на гархвали
  • перевод коротких фраз с гархвали на хинди
  • эксперименты с машинным переводом низкоресурсных языков

Ограничения

Качество на новых сочетаниях слов низкое из-за схлопывания словаря; тестовые метрики завышены из-за пересечения шаблонов между обучением и тестом. В 22,1% случаев модель допускает утечку хинди, и автор не рекомендует использовать её в производстве.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Garhwali ↔ Hindi MT — v2 (mT5-small) · template baseline

Neural machine translation between Hindi (hi) and Garhwali (gbm), both in Devanagari. Garhwali is a Central Pahari language of Uttarakhand, India.

This is v2, published as a reproducible baseline and a cautionary data point. It is archived and two generations behind production.

BLEU24.5
chrF++68.4
Hindi leakage22.1%
Training pairs19,982 (from 27 fixed templates)
Statusarchived

Read this before citing v2's scores

v2 was trained on ~20k pairs expanded from 27 fixed sentence templates. Its test set shared those templates with training, so its reported scores overstate real translation quality.

On unseen lexical combinations v2 exhibits vocabulary collapse — it learned 27 sentence shapes rather than the language. Treat 24.5 BLEU / 68.4 chrF++ as an in-distribution template score, not open-domain quality.

It is published precisely because that failure is instructive: it is what motivated v3 to cut the dataset to 5,000 more diverse pairs and score better.

Usage

from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

model_id = "vineetkukreti/garhwali-hindi-mt-v2"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForSeq2SeqLM.from_pretrained(model_id)

inputs = tok("translate Hindi to Garhwali: मैं ठीक हूँ।", return_tensors="pt")
out = model.generate(**inputs, num_beams=4, max_new_tokens=128)
print(tok.decode(out[0], skip_special_tokens=True))

The prefix "translate {Source} to {Target}: " is required.

Training configuration

Recorded in the run manifest, with SHA-256 hashes of config and splits for reproducibility:

Base revision73fb5dbe4756edadc8fbe8c769b0a109493acf7a (pinned)
Epochs12
LR / schedule3e-4, warmup ratio 0.05, weight decay 0.01
Batch8 × grad-accum 4
Optimiseradafactor, label smoothing 0.1, bf16
Max source/target length64 / 64
Seed42

Limitations

  • Do not use in production. Archived; v4 supersedes it.
  • 22.1% Hindi leakage.
  • Vocabulary collapse outside its 27 training templates.
  • Reported metrics are inflated by template overlap (see above).

How this model line was built (v1 → v4)

Every version was an answer to a specific failure of the one before it. The numbers that matter most here are not BLEU but the Hindi leakage rate — how often the model emitted Hindi instead of Garhwali, which is the characteristic failure mode when fine-tuning a multilingual model into a low-resource sibling language.

VerNameDataPairsBLEUchrF++Hindi leakageStatus
v1Classical Linguistic BaselineChatak (1959) grammar + Grierson LSI seeds4811.242.138.5%deprecated
v2Synthetic Closed Template27 fixed templates, generated19,98224.568.422.1%archived
v3Balanced Multi-Aspect Synthetic34 topical batches (B-01…B-34)5,00031.878.411.2%candidate
v4Archival + Lexicon + Native GoldDhyani/Benjwal dicts, archives, native-reviewed gold8,64236.483.96.8%active

v1 → v2: scale, at the cost of generality

v1 trained on 48 pairs hand-derived from Dr. Govind Chatak's 1959 Garhwali grammar and Grierson's Linguistic Survey of India. It was precise on the exact rules it had seen and collapsed on everything else — 38.5% Hindi leakage, severe OOV behaviour.

The v2 response was volume: 27 fixed templates expanded to ~20k pairs. Leakage nearly halved and BLEU more than doubled.

The learning — and the trap. The gain was partly an illusion. Because the test set shared templates with training, scores flattered the model. On unseen lexical combinations v2 showed vocabulary collapse: it had learned 27 sentence shapes, not the language. This is why v2's reported chrF++ should never be read as open-domain quality.

v2 → v3: diversity beats volume

v3 deliberately shrank the dataset — 19,982 → 5,000 pairs — while widening its shape: 34 topical batches (B-01…B-34) designed against a matrix schema, with no_repeat_ngram_size=3 to penalise the repetition v2 had rewarded.

The learning: fewer, more varied examples beat many near-duplicates. BLEU rose 24.5 → 31.8 and leakage halved again (22.1% → 11.2%) on a quarter of the data. For low-resource MT, corpus entropy mattered more than corpus size.

v3 → v4: synthetic data has a ceiling

v3 was still synthetic, so its errors were systematic — fluent-looking output with wrong aspect morphology, because no generator had ever seen a native speaker correct it.

v4 changed the kind of data rather than the amount:

  • curated dictionary pairs from the Dhyani and Benjwal Garhwali lexicons
  • University archival texts (real published Garhwali prose)
  • native-speaker-reviewed gold elicitation data, adjudicated rather than auto-accepted

Quarantine and adjudication ledgers (v4_train_quarantine.jsonl, v4_1_adjudication_ledger.jsonl) record what was rejected and why — rejection was a first-class step, not a filter.

The learning: the last stretch of quality came from provenance, not modelling. No hyperparameter change moved progressive-aspect correctness the way native review did. Leakage reached 6.8% — still non-zero, and still the main open problem.

Method notes that stayed constant

  • Base google/mt5-small, pinned to revision 73fb5dbe4756edadc8fbe8c769b0a109493acf7a
  • Task prefix "translate {Source} to {Target}: " — part of the model contract; changing it defines a new experiment
  • Best checkpoint selected by chrF++, not loss (chrF++ is more informative for morphologically rich targets)
  • seed=42, adafactor, label smoothing 0.1, bf16, max source/target length 64
  • Splits grouped by document/speaker/collection, never random by sentence, to prevent leakage between train and test
  • Benchmark data held entirely separate; IndicGenBench never trained on (canary + eval-only licence)

Related

  • vineetkukreti/garhwali-hindi-mt-v4 — production model (private)
  • garhwali-hindi-mt-v3 — synthetic candidate (public)

License

Weights Apache-2.0, inherited from google/mt5-small. The training corpus carries its own provenance terms, not covered by this licence.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
MT5ForConditionalGeneration
Ревизия весов
9082925

0 моделей