Interface SaveWeightsConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SaveWeightsConfig.Builder,,SaveWeightsConfig> SdkBuilder<SaveWeightsConfig.Builder,,SaveWeightsConfig> SdkPojo
- Enclosing class:
SaveWeightsConfig
@Mutable
@NotThreadSafe
public static interface SaveWeightsConfig.Builder
extends SdkPojo, CopyableBuilder<SaveWeightsConfig.Builder,SaveWeightsConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A human-readable description for the saved checkpoint.mergeWeights(Boolean mergeWeights) Specifies whether to merge LoRA adapter weights into the base model before saving.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A human-readable description for the saved checkpoint.
- Parameters:
description- A human-readable description for the saved checkpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-