Garhwali ↔ Hindi MT — v3 (mT5-small) · synthetic candidate
Neural machine translation between Hindi (hi) and Garhwali (gbm), both
in Devanagari. Garhwali is a Central Pahari language of Uttarakhand, India.
This is v3, released for research comparison. It is superseded by v4 and is not the production model. Its value is as the last fully-synthetic step in the line — it shows how far template-free synthetic diversity gets you before native-speaker data becomes necessary.
| BLEU | 31.8 |
| chrF++ | 78.4 |
| Hindi leakage | 11.2% |
| Training pairs | 5,000 |
| Status | superseded by v4 |
Why v3 is interesting
v3 reduced the dataset from v2's 19,982 pairs to 5,000, while widening its
shape — 34 topical batches (B-01…B-34) built against a matrix schema, with
no_repeat_ngram_size=3 to penalise the repetition that v2 had rewarded.
It scored substantially better on a quarter of the data. That result is the main methodological finding of this project: for low-resource MT, corpus diversity beat corpus volume.
Its residual weakness is the reason v4 exists — being wholly synthetic, its errors were systematic: fluent output with wrong aspect morphology, because no generator had ever been corrected by a native speaker.
Usage
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
model_id = "vineetkukreti/garhwali-hindi-mt-v3"
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 — it is part of the
trained contract.
Limitations
- Superseded. Use v4 unless you specifically want the synthetic-only model.
- 11.2% Hindi leakage — noticeably worse than v4's 6.8%.
- Trained entirely on synthetic data; systematic aspect-morphology errors.
- Needs native-speaker review for any published use.
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.
| Ver | Name | Data | Pairs | BLEU | chrF++ | Hindi leakage | Status |
|---|---|---|---|---|---|---|---|
| v1 | Classical Linguistic Baseline | Chatak (1959) grammar + Grierson LSI seeds | 48 | 11.2 | 42.1 | 38.5% | deprecated |
| v2 | Synthetic Closed Template | 27 fixed templates, generated | 19,982 | 24.5 | 68.4 | 22.1% | archived |
| v3 | Balanced Multi-Aspect Synthetic | 34 topical batches (B-01…B-34) | 5,000 | 31.8 | 78.4 | 11.2% | candidate |
| v4 | Archival + Lexicon + Native Gold | Dhyani/Benjwal dicts, archives, native-reviewed gold | 8,642 | 36.4 | 83.9 | 6.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 revision73fb5dbe4756edadc8fbe8c769b0a109493acf7a - 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-v2— template baseline (public)
License
Weights Apache-2.0, inherited from google/mt5-small. The training corpus
carries its own provenance terms, not covered by this licence.