Rejection sampling and SFT

Rejection sampling and SFT

Next-token distribution

×

tensor

At each position of the response.

shape
PP [B batch, T positions, V]
Sources

Contextual evidence from Model

§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.

sft · arXiv 2407.21783 / Llama3-Herd-2407.21783v3.pdf
Pinned revision v3 ↗ · p. 16