Skip to content

Commit 98042e5

Browse files
author
sfluegel
committed
change checkpoint parameters to default for early_stop_callbacks.yml
1 parent 8f8e1b0 commit 98042e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configs/training/early_stop_callbacks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
mode: 'max'
55
filename: 'best_{epoch:02d}_{val_loss:.4f}_{val_macro-f1:.4f}_{val_micro-f1:.4f}'
66
every_n_epochs: 1
7-
save_top_k: 5
7+
save_top_k: 3
88
- class_path: chebai.callbacks.model_checkpoint.CustomModelCheckpoint
99
init_args:
1010
filename: 'per_{epoch:02d}_{val_loss:.4f}_{val_macro-f1:.4f}_{val_micro-f1:.4f}'
11-
every_n_epochs: 5
11+
every_n_epochs: 25
1212
save_top_k: -1
1313
- class_path: lightning.pytorch.callbacks.early_stopping.EarlyStopping
1414
init_args:

0 commit comments

Comments
 (0)