| ggml_schedule_reduce_on_plateau | R Documentation |
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"
)
monitor |
Metric to monitor: "val_loss", "train_loss", etc. |
factor |
Factor to reduce LR by |
patience |
Epochs with no improvement before reducing |
min_lr |
Minimum LR |
min_delta |
Minimum change to qualify as improvement |
mode |
"min" or "max". "auto" infers from monitor name. |
List with on_epoch_end function
Other callbacks:
ggml_callback_early_stopping(),
ggml_schedule_cosine_decay(),
ggml_schedule_step_decay()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.