Chinchilla (Hoffmann et al., 2022): for a fixed compute budget, you should scale N and D equally. GPT-3 (175B params, 300B tokens) was significantly undertrained - Chinchilla (70B, 1.4T tokens) matched it at 4× fewer parameters.
Scaling Laws: Compute, Data & Parameters - Interactive Visualization
Scaling laws predict how model loss decreases as you increase compute, parameters, and data. The Chinchilla paper showed that most models were undertrained - optimal training requires N parameters and 20N tokens. This demo lets you explore the optimal allocation of a fixed compute budget.
Visualize the power-law relationship between compute budget and achievable loss
Find the Chinchilla-optimal parameter count and token count for any FLOPs budget
Compare GPT-3 (undertrained) vs Chinchilla (compute-optimal) allocation strategies
See how doubling parameters vs doubling data affects final loss differently
Understand why training a smaller model on more data often beats a large model trained too briefly
Part of the EngineersOfAI Interactive 3D - free interactive visualizations covering every major concept in machine learning and AI engineering. Hover any element for a plain-English explanation. No code required.