Backprop hands you a gradient — the downhill direction for every weight. The optimizer decides how big a step to take in that direction. This is AdamW, the optimizer almost every large model is trained with: it gives each weight its own step size, and a schedule paces the whole run.
You already saw a model roll downhill with one step size. Watch what happens on a stretched-out valley when SGD races Adam — same start, same 16 steps.
Here's the trick that makes Adam adaptive. It watches how big and how jumpy each weight's gradients have been, and shrinks the step for the noisy ones.
The learning rate isn't one fixed number — it changes over training. Almost every run warms it up, holds it high, then decays it toward zero.
You can now train a model end to end: data → tokens → transformer → loss → backprop → optimizer. Next we stop building the base model and start shaping it — supervised fine-tuning, where a pretrained model learns to follow instructions from example answers.