NLLB for Middle Egyptian, transliteration to English, CPO fine-tuned
Fine-tuned from kesha-humonen/tr-eng_checkpoint-8556 with the contrastive preference optimization (CPO) loss
on transliteration pairs, where the reference translation is the preferred output and the model's own beam-search
translation the dispreferred one (92,027 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 8,000, selected by validation loss.
Source language token egy_Tnt, target eng_Latn. Decoding as in the paper: beam search (4 beams),
repetition penalty 3.0.
Strict-split test set (n=4749): chrF++ 63.14, BLEU 48.86, output/reference length ratio 0.97. The starting checkpoint scores 53.43 / 30.57 (chrF++ / BLEU).