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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/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:



14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 14901

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.



14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 14901

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)


14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 14901

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.



14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 14901

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)


14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 14901

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:



14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 14901

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)


14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 14901

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:



14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 14901

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