Reduces LR when a metric stops improving.
ggml_schedule_reduce_on_plateau(
monitor = "val_loss",
factor = 0.5,
patience = 5,
min_lr = 1e-07,
min_delta = 1e-04,
mode = "auto"
)List with on_epoch_end function
Metric to monitor: "val_loss", "train_loss", etc.
Factor to reduce LR by
Epochs with no improvement before reducing
Minimum LR
Minimum change to qualify as improvement
"min" or "max". "auto" infers from monitor name.
Other callbacks:
ggml_callback_early_stopping(),
ggml_schedule_cosine_decay(),
ggml_schedule_step_decay()