Learn AI Math

Warmup

What is Warmup?

In one sentence: Warmup is a short period at the start of training where the learning rate slowly rises from very small to its normal value.

At the very beginning, the model's weights are random and its gradients can be wild. Big steps then could throw training off course. Warmup lets the model settle in with tiny steps first, like stretching before a run.

What does Warmup look like?

A training run might warm up over the first 2,000 steps before reaching its full learning rate.

Why does Warmup matter?

Warmup prevents early crashes in training large models.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.