Class: Aws::SageMaker::Types::ServerlessJobConfig

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

Overview

The configuration for the serverless training job.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accept_eula ⇒ Boolean

Specifies agreement to the model end-user license agreement (EULA). The AcceptEula value must be explicitly defined as True in order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model. For more information, see End-user license agreements section for more details on accepting the EULA.

Returns:

  • (Boolean)


57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 57010

class ServerlessJobConfig < Struct.new(
  :base_model_arn,
  :accept_eula,
  :job_type,
  :customization_technique,
  :peft,
  :evaluation_type,
  :evaluator_arn,
  :sequence_length)
  SENSITIVE = []
  include Aws::Structure
end

#base_model_arn ⇒ String

The base model Amazon Resource Name (ARN) in SageMaker Public Hub. SageMaker always selects the latest version of the provided model.

Returns:

  • (String)


57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 57010

class ServerlessJobConfig < Struct.new(
  :base_model_arn,
  :accept_eula,
  :job_type,
  :customization_technique,
  :peft,
  :evaluation_type,
  :evaluator_arn,
  :sequence_length)
  SENSITIVE = []
  include Aws::Structure
end

#customization_technique ⇒ String

The model customization technique.

Returns:

  • (String)


57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 57010

class ServerlessJobConfig < Struct.new(
  :base_model_arn,
  :accept_eula,
  :job_type,
  :customization_technique,
  :peft,
  :evaluation_type,
  :evaluator_arn,
  :sequence_length)
  SENSITIVE = []
  include Aws::Structure
end

#evaluation_type ⇒ String

The evaluation job type. Required when serverless job type is Evaluation.

Returns:

  • (String)


57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 57010

class ServerlessJobConfig < Struct.new(
  :base_model_arn,
  :accept_eula,
  :job_type,
  :customization_technique,
  :peft,
  :evaluation_type,
  :evaluator_arn,
  :sequence_length)
  SENSITIVE = []
  include Aws::Structure
end

#evaluator_arn ⇒ String

The evaluator Amazon Resource Name (ARN) used as reward function or reward prompt.

Returns:

  • (String)


57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 57010

class ServerlessJobConfig < Struct.new(
  :base_model_arn,
  :accept_eula,
  :job_type,
  :customization_technique,
  :peft,
  :evaluation_type,
  :evaluator_arn,
  :sequence_length)
  SENSITIVE = []
  include Aws::Structure
end

#job_type ⇒ String

The serverless training job type.

Returns:

  • (String)


57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 57010

class ServerlessJobConfig < Struct.new(
  :base_model_arn,
  :accept_eula,
  :job_type,
  :customization_technique,
  :peft,
  :evaluation_type,
  :evaluator_arn,
  :sequence_length)
  SENSITIVE = []
  include Aws::Structure
end

#peft ⇒ String

The parameter-efficient fine-tuning configuration.

Returns:

  • (String)


57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 57010

class ServerlessJobConfig < Struct.new(
  :base_model_arn,
  :accept_eula,
  :job_type,
  :customization_technique,
  :peft,
  :evaluation_type,
  :evaluator_arn,
  :sequence_length)
  SENSITIVE = []
  include Aws::Structure
end

#sequence_length ⇒ String

The maximum sequence length, in tokens, that the customization job supports. SageMaker uses this value to select a training configuration for the base model that you specify. The value must be an integer value from 1K to 1024K (for example, 32K).

If you don't specify a value, SageMaker selects a training configuration based on the other values that you specify. The selection is not restricted to a particular sequence length.

Returns:

  • (String)


57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 57010

class ServerlessJobConfig < Struct.new(
  :base_model_arn,
  :accept_eula,
  :job_type,
  :customization_technique,
  :peft,
  :evaluation_type,
  :evaluator_arn,
  :sequence_length)
  SENSITIVE = []
  include Aws::Structure
end