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:



15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 15898

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.



15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 15898

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)


15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 15898

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.



15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 15898

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)


15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 15898

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:



15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 15898

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)


15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 15898

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:



15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 15898

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