TrainingCheckpointConfig¶
Module: fast_llm.engine.training.config
Inherits from: TrainingCheckpointBaseConfig, IntervalConfig
Fields¶
callback—core-
Type: CallbackConfig Default: (sub-fields optional)
Callback (shell script) to run after checkpoint.
interval—feature-
Type:
intorNoneDefault:NoneThe number of training iterations between each checkpoint. Setting to None will disable checkpoints.
keep—feature-
Type:
intorNoneDefault:5The maximum number of saves to keep. When exceeding this value, checkpoints are deleted starting from the older ones.
keep_every—feature-
Type:
intorNoneDefault:NoneKeep every nth saves, i.e. Exclude it from the checkpoint count and deletion in
keep. offset—feature-
Type:
intDefault:0Offset for the first checkpoint.