TrainingExportConfig¶
Module: fast_llm.engine.training.config
Inherits from: TrainingCheckpointBaseConfig, IntervalConfig, CheckpointStateSaveConfigBase
Fields¶
callback—core-
Type: CallbackConfig Default: (sub-fields optional)
Callback (shell script) to run after export.
format—core-
Type:
typeDefault:FastLLMCheckpointFormatFormat of the checkpoint.
data_type—feature-
Type:
DataTypeorNoneDefault:NoneData type to save the checkpoint.
interval—feature-
Type:
intorNoneDefault:NoneThe number of training iterations between each export. Setting to None will disable exports.
keep—feature-
Type:
intorNoneDefault:NoneThe 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. model_weights—feature-
Type:
boolDefault:TrueSave the model weights.
offset—feature-
Type:
intDefault:0Offset for the first export.
optimizer_state—feature-
Type:
boolDefault:NoneSave the optimizer state. Default: save if supported by the
format. parameters_per_file—feature-
Type:
intDefault:4_294_967_296Limit the number of parameters saved in each file.