View a markdown version of this page

SaveWeightsConfig - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

SaveWeightsConfig

The configuration for saving model weights as a checkpoint.

Contents

description

A human-readable description for the saved checkpoint.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Required: No

mergeWeights

Specifies whether to merge LoRA adapter weights into the base model before saving. When true, the saved checkpoint contains the full merged model weights.

Type: Boolean

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: