NLLB for Middle Egyptian, hieroglyphs to English, CPO fine-tuned
Fine-tuned from kesha-humonen/tr-eng_checkpoint-8556 with the contrastive preference optimization (CPO) loss
on hieroglyph pairs, where the reference translation is the preferred output and the model's own beam-search
translation the dispreferred one (34,634 pairs, 5% held out for checkpoint selection). CPO uses no reference
model: the loss is the preference term on the policy log-probabilities plus the negative log-likelihood of the
preferred output. Training: 6 epochs, learning rate 1e-5, effective batch size 64, beta 0.1, fp32 master
weights; the checkpoint is the one at optimizer step 3,000, selected by validation loss.
Source language token egy_Hiero, target eng_Latn. Decoding as in the paper: beam search (4 beams),
repetition penalty 3.0.
Strict-split test set (n=1909): chrF++ 53.78, BLEU 40.83, output/reference length ratio 0.91. The starting checkpoint scores 46.16 / 23.37 (chrF++ / BLEU).