Linear warmup → cosine decay schedule (to 10% of peak), used by DPO. Returns lr for a 1-based step. Port of dpo.py lr_schedule.
Linear warmup → cosine decay schedule (to 10% of peak), used by DPO. Returns lr for a 1-based step. Port of dpo.py lr_schedule.