Skip to content

TrainingCheckpointBaseConfig

Abstract

This class cannot be instantiated directly. Use one of the variants listed below.

Module: fast_llm.engine.training.config

Inherits from: IntervalConfig

Fields

callbackcore

Type: CallbackConfig    Default: (sub-fields optional)

Callback (shell script).

intervalfeature

Type: int or None    Default: None

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

keepfeature

Type: int or None    Default: None

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 interval.