Class: Aws::SageMaker::Types::TextGenerationJobConfig

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

Overview

The collection of settings used by an AutoML job V2 for the text generation problem type.

<note markdown=“1”> The text generation models that support fine-tuning in Autopilot are currently accessible exclusively in regions supported by Canvas. Refer to the documentation of Canvas for the [full list of its supported Regions].

</note>

[1]: docs.aws.amazon.com/sagemaker/latest/dg/canvas.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#base_model_nameString

The name of the base model to fine-tune. Autopilot supports fine-tuning a variety of large language models. For information on the list of supported models, see [Text generation models supporting fine-tuning in Autopilot]. If no ‘BaseModelName` is provided, the default model used is Falcon-7B-Instruct.

[1]: docs.aws.amazon.com/sagemaker/src/AWSIronmanApiDoc/build/server-root/sagemaker/latest/dg/llms-finetuning-models.html#llms-finetuning-supported-llms

Returns:

  • (String)


37955
37956
37957
37958
37959
37960
# File 'lib/aws-sdk-sagemaker/types.rb', line 37955

class TextGenerationJobConfig < Struct.new(
  :completion_criteria,
  :base_model_name)
  SENSITIVE = []
  include Aws::Structure
end

#completion_criteriaTypes::AutoMLJobCompletionCriteria

How long a job is allowed to run, or how many candidates a job is allowed to generate.



37955
37956
37957
37958
37959
37960
# File 'lib/aws-sdk-sagemaker/types.rb', line 37955

class TextGenerationJobConfig < Struct.new(
  :completion_criteria,
  :base_model_name)
  SENSITIVE = []
  include Aws::Structure
end