nb-asr-translategemma-4B-it-cc0-normform
A 4B translation model for Danish, English, Norwegian Bokmål and Swedish (all 12
directions) plus Bokmål ↔ Nynorsk, from the National Library of Norway. It is
google/translategemma-4b-it
fine-tuned and then GRPO-aligned with the same recipe as
nb-asr-translategemma-4B-it-open,
with two differences in the Bokmål ↔ Nynorsk data:
- CC0 only: only rows where both sides are CC0-licensed
(
merged_npk_ndla_parallel_paragraphs_normform_cc0, 807,164 pairs). - NormForm text: Bokmål and Nynorsk are the NormForm rewrites (Bokmål redaksjonsnorm, Nynorsk Nasjonalbiblioteknorm, e.g. a-infinitives: å vera, å setja), so the model writes that style.
The other language pairs use the same nb-asr-mt-gold data as -open.
Training
- SFT: LR 8e-6, batch 128, bf16, on
nb-asr-mt-goldplus the CC0 NormForm pairs in both directions. Seed for GRPO: step 70,000 (epoch 1.91), the last checkpoint before the held-out loss and BLEU started to degrade. - GRPO: 20,000 steps (TRL + vLLM), LR 2e-6 cosine with 500 warmup steps,
6 generations per prompt. Rewards: chunked xCOMET-XL (1.0), chrF (0.5),
repetition (0.2), numeric stability (0.2). Prompts: the same 49,152 gold
prompts as
-open, plus 4,096 CC0 NormForm prompts per Bokmål ↔ Nynorsk direction.
Evaluation
Full test sets, greedy decoding, identical sets for both models:
| set | this model BLEU / chrF | -open BLEU / chrF |
|---|---|---|
| FLORES+ devtest (12 directions) | 45.82 / 69.44 | 46.08 / 69.46 |
| NTREX (12 directions) | 36.66 / 62.53 | 37.00 / 62.60 |
| nb-asr-mt-gold dev (12 directions) | 68.86 / 85.10 | 68.76 / 85.09 |
| NPK/NDLA test, NormForm references | 92.17 / 96.38 | – |
| NPK/NDLA test, original references | 87.28 / 94.52 | 92.90 / 96.76 |
General translation quality matches -open. The lower score against the
original NPK/NDLA references is the intended style shift: the model writes
NormForm, which those references do not use.
Prompt format and usage are the same as for
google/translategemma-4b-it.