Rejection sampling and SFT

Reports The Llama 3 Herd of Models (arXiv 2407.21783v3) · DPO (arXiv 2305.18290v3) · no training code is published · How to read

Rejection sampling and SFT

Latest policy

×

frozen · not trained

The latest chat policy writes K responses to the prompt: usually the best checkpoint of the previous round, or the best for a capability.

y1,…,yK∼πlatest(⋅∣x)y_1,\dots,y_K\sim\pi_{\mathrm{latest}}(\cdot\mid {\htmlData{light=prompt}{x}})
K≈10–30{\htmlClass{vl-stream-k}{K}}\approx10\text{–}30
in
xx [B batch]
out
YY [B batch, K, T positions]
Sources1

Direct evidence

§4.2.2, Rejection sampling: for each prompt collected during human annotation, K outputs (typically between 10 and 30) are sampled from the latest chat model policy, usually the best checkpoint of the previous post-training iteration or the best for a capability; the reward model selects the best candidate. In later rounds system prompts steer the responses’ tone, style or formatting.

rs · arXiv 2407.21783 / Llama3-Herd-2407.21783v3.pdf
Pinned revision v3 ↗ · p. 18