# https://lightning.ai/docs/pytorch/stable/api/lightning.pytorch.callbacks.ModelCheckpoint.htmlmodel_checkpoint:_target_:lightning.pytorch.callbacks.ModelCheckpointdirpath:null# directory to save the model filefilename:null# checkpoint filenamemonitor:null# name of the logged metric which determines when model is improvingverbose:False# verbosity modesave_last:null# additionally always save an exact copy of the last checkpoint to a file last.ckptsave_top_k:1# save k best models (determined by above metric)mode:"min"# "max" means higher metric value is better, can be also "min"auto_insert_metric_name:True# when True, the checkpoints filenames will contain the metric namesave_weights_only:False# if True, then only the model’s weights will be savedevery_n_train_steps:null# number of training steps between checkpointstrain_time_interval:null# checkpoints are monitored at the specified time intervalevery_n_epochs:null# number of epochs between checkpointssave_on_train_epoch_end:null# whether to run checkpointing at the end of the training epoch or the end of validation