Skip to content

TrainingCheckpointConfig

Module: fast_llm.engine.training.config

Inherits from: TrainingCheckpointBaseConfig, IntervalConfig

Fields

callbackcore

Type: CallbackConfig    Default: (sub-fields optional)

Callback (shell script) to run after checkpoint.

intervalfeature

Type: int or None    Default: None

The number of training iterations between each checkpoint. Setting to None will disable checkpoints.

keepfeature

Type: int or None    Default: 5

The maximum number of saves to keep. When exceeding this value, checkpoints are deleted starting from the older ones.

keep_everyfeature

Type: int or None    Default: None

Keep every nth saves, i.e. Exclude it from the checkpoint count and deletion in keep.

offsetfeature

Type: int    Default: 0

Offset for the first checkpoint.

Used in