DPO step

NLL

×

The likelihood term.

shape
LNLL\mathcal L_{\mathrm{NLL}} [1]
Sources

Contextual evidence from NLL on the chosen

§4.1.4, Direct Preference Optimization: DPO on the SFT models with learning rate 10⁻⁵ and β = 0.1; special formatting tokens, including header and termination tokens, are masked out of the loss in chosen and rejected responses; an NLL term with scaling coefficient 0.2 is added on the chosen sequences.

Llama3-Herd-2407.21783v3.pdf p. 16 ↗ · arXiv 2407.21783 @ v3