Reproduce “Training Compute-Optimal Large Language Models” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks and 14 more
The paper studies how to allocate a fixed training-compute budget between model parameters and training tokens. It analyzes more than 400 runs using three scaling approaches, finding that both should increase at roughly equal rates. In a same-FLOP comparison, 70-billion-parameter Chinchilla reaches 67.6% on MMLU versus Gopher’s 60.0%, but training differences limit causal conclusions.
Key insights
- For compute-optimal training, model size and training tokens should be scaled equally, meaning both should be doubled for every doubling of compute.
- A precise mathematical relationship was derived: N_optimal "propto" C^(0.5) and D_optimal ":propto" C^(0.5), where N is model size, D is dataset size, and C is compute budget.
- Prior large language models like GPT-3 and Gopher are significantly under-trained, utilizing approximately 5-10 times fewer tokens than optimal for their parameter count.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.