Chapter 072 / 5
Optimization and Training Dynamics
Implement a cosine LR schedule with linear warmup as a callable
Medium
Target interface
cosine_with_warmup(peak_lr, warmup_steps, total_steps, min_lr=0.0)Complete the starter code in the editor. Any correct approach is accepted.
Hints0 / 2
Reference solution
Your own code stays in the editor.