Llama 3.1

405B

Rejection sampling and SFT

Model

×

learned · not counted here

The model being fine-tuned: the paper says SFT fine-tunes the pre-trained language model.

in
yy [B batch, T positions]
out
PP [B batch, T positions, V]
Sources

Direct evidence

§4.1.3: the reward model performs rejection sampling on human annotation prompts; with this data and other sources, including synthetic data, the pre-trained language model is fine-tuned with a standard cross-entropy loss on the target tokens, the loss masked on prompt tokens; learning rate 10⁻⁵ over 8.5K to 9K steps for the largest models.

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