the.ai

Optimization / Schedules

verified

Learning Rate

The learning rate decides how far to move on each step. Too small and training takes forever; too large and it overshoots and diverges. It is the single most important number in a training run, and the range that works spans about one order of magnitude.

Viz primitive · loss-curvesteps = 1000 · lr = 0.001
loss
step 01000

Loss over 1000 training steps, starting near 6.0. It falls to about 2.13, with 87% of the total improvement arriving in the first half.

Loss over steps at a fixed learning rate. Drag it across its range to find the band between crawling and diverging.

0.001

Reviewed by opendroid · 2026-08-04