LR Schedule Visualiser
Plot learning-rate schedules (cosine, warmup, step, one-cycle…) and overlay up to three.
NewmediumRuns in your browser
How it works
A learning-rate schedule changes the optimiser’s step size during training. Large rates early make fast progress; small rates late settle into a minimum. Here t is the current step, T the total steps, and η₀ the base rate.
Constant
Step decay
Exponential
Cosine annealing
Warmup + cosine
One-cycle
- Warmup avoids instability from large updates on randomly initialised weights; it is standard for transformers.
- One-cycle follows PyTorch’s
OneCycleLRwith cosine annealing: it starts atmax_lr / div_factor, peaks atmax_lr, then falls tostart / final_div_factor. - The plot is sampled to at most 300 points; the table shows exact values at key steps. Log scale hides zero values, which cannot be plotted on a log axis.
Related tools
AI / MLNew
LLM VRAM Estimator
Estimate GPU memory to run or fine-tune an LLM, and see which GPUs it fits on.
AI / MLNew
Metrics Calculator
Accuracy, precision, recall, F1 and specificity from a confusion matrix, with macro and micro averages.
AI / MLNew
Conv Shape Calculator
Track tensor shapes through stacked Conv2D, MaxPool and AvgPool layers.