Large Language ModelsPRO2024
The Llama 3 Herd of Models
A 405B Dense Transformer, Its Scaling Laws, 16K-GPU Training Stack, and SFT + Rejection Sampling + DPO Post-Training
Meta's 92-page recipe for an open frontier model, and its argument that no new architecture is needed. A standard dense Transformer (GQA, RoPE base 500K, 128K vocab) is sized by IsoFLOP scaling laws to 405B, trained on 15.6T curated tokens with 3.8e25 FLOPs across 16K H100s in 4D parallelism, stretched to 128K context in six gated stages, then aligned with six rounds of SFT, rejection sampling and DPO. It lands on par with GPT-4, and compositional adapters add vision and speech to the frozen LLM.