Cosine learning-rate schedule
Decays the learning rate along a cosine curve from its peak to its floor. It holds a high rate early, then eases off smoothly rather than dropping in steps, and it is the schedule nearly every large language model is trained under.
- The current step.
- The total number of steps in the schedule.
- The peak learning rate, reached after warmup.