Class: Aws::SageMakerTrainingSessionRuntime::Types::SaveWeightsConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemakertrainingsessionruntime/lib/aws-sdk-sagemakertrainingsessionruntime/types.rb

Overview

The configuration for saving model weights as a checkpoint.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#description ⇒ String

A human-readable description for the saved checkpoint.

Returns:

  • (String)


1072
1073
1074
1075
1076
1077
# File 'gems/aws-sdk-sagemakertrainingsessionruntime/lib/aws-sdk-sagemakertrainingsessionruntime/types.rb', line 1072

class SaveWeightsConfig < Struct.new(
  :merge_weights,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#merge_weights ⇒ Boolean

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:

  • (Boolean)


1072
1073
1074
1075
1076
1077
# File 'gems/aws-sdk-sagemakertrainingsessionruntime/lib/aws-sdk-sagemakertrainingsessionruntime/types.rb', line 1072

class SaveWeightsConfig < Struct.new(
  :merge_weights,
  :description)
  SENSITIVE = []
  include Aws::Structure
end