Class: Aws::SageMaker::Types::CreateTrainingSessionRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sagemaker/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#lora_config ⇒ Types::LoraConfig

The Low-Rank Adaptation (LoRA) configuration for the training session, including the rank and alpha parameters.

Returns:



16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
# File 'lib/aws-sdk-sagemaker/types.rb', line 16204

class CreateTrainingSessionRequest < Struct.new(
  :training_session_name,
  :model_package_group_arn,
  :lora_config,
  :role_arn,
  :vpc_config,
  :model_config,
  :output_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#model_config ⇒ Types::TrainingSessionModelConfig

The configuration for the base model, including the model ARN and end-user license agreement (EULA) acceptance.



16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
# File 'lib/aws-sdk-sagemaker/types.rb', line 16204

class CreateTrainingSessionRequest < Struct.new(
  :training_session_name,
  :model_package_group_arn,
  :lora_config,
  :role_arn,
  :vpc_config,
  :model_config,
  :output_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#model_package_group_arn ⇒ String

The Amazon Resource Name (ARN) of the model package group where checkpoints and fine-tuned model artifacts are published.

Returns:

  • (String)


16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
# File 'lib/aws-sdk-sagemaker/types.rb', line 16204

class CreateTrainingSessionRequest < Struct.new(
  :training_session_name,
  :model_package_group_arn,
  :lora_config,
  :role_arn,
  :vpc_config,
  :model_config,
  :output_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#output_config ⇒ Types::TrainingSessionOutputConfig

The output configuration for the training session, including the S3 location and optional encryption settings.



16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
# File 'lib/aws-sdk-sagemaker/types.rb', line 16204

class CreateTrainingSessionRequest < Struct.new(
  :training_session_name,
  :model_package_group_arn,
  :lora_config,
  :role_arn,
  :vpc_config,
  :model_config,
  :output_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#role_arn ⇒ String

The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker assumes to access resources on your behalf. The role must have permissions to access the output S3 path and model package group.

Returns:

  • (String)


16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
# File 'lib/aws-sdk-sagemaker/types.rb', line 16204

class CreateTrainingSessionRequest < Struct.new(
  :training_session_name,
  :model_package_group_arn,
  :lora_config,
  :role_arn,
  :vpc_config,
  :model_config,
  :output_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tags ⇒ Array<Types::Tag>

An array of key-value pairs to apply to the training session as tags. For more information, see Tagging Amazon Web Services Resources.

Returns:



16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
# File 'lib/aws-sdk-sagemaker/types.rb', line 16204

class CreateTrainingSessionRequest < Struct.new(
  :training_session_name,
  :model_package_group_arn,
  :lora_config,
  :role_arn,
  :vpc_config,
  :model_config,
  :output_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#training_session_name ⇒ String

The name of the training session.

Returns:

  • (String)


16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
# File 'lib/aws-sdk-sagemaker/types.rb', line 16204

class CreateTrainingSessionRequest < Struct.new(
  :training_session_name,
  :model_package_group_arn,
  :lora_config,
  :role_arn,
  :vpc_config,
  :model_config,
  :output_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_config ⇒ Types::VpcConfig

The Virtual Private Cloud (VPC) configuration for the training session. Specify subnets and security groups to run the training session in your VPC.

Returns:



16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
# File 'lib/aws-sdk-sagemaker/types.rb', line 16204

class CreateTrainingSessionRequest < Struct.new(
  :training_session_name,
  :model_package_group_arn,
  :lora_config,
  :role_arn,
  :vpc_config,
  :model_config,
  :output_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end