@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TextGenerationJobConfig extends Object implements Serializable, Cloneable, StructuredPojo
The collection of settings used by an AutoML job V2 for the text generation problem type.
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.
Constructor and Description |
---|
TextGenerationJobConfig() |
Modifier and Type | Method and Description |
---|---|
TextGenerationJobConfig |
clone() |
boolean |
equals(Object obj) |
String |
getBaseModelName()
The name of the base model to fine-tune.
|
AutoMLJobCompletionCriteria |
getCompletionCriteria() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBaseModelName(String baseModelName)
The name of the base model to fine-tune.
|
void |
setCompletionCriteria(AutoMLJobCompletionCriteria completionCriteria) |
String |
toString()
Returns a string representation of this object.
|
TextGenerationJobConfig |
withBaseModelName(String baseModelName)
The name of the base model to fine-tune.
|
TextGenerationJobConfig |
withCompletionCriteria(AutoMLJobCompletionCriteria completionCriteria) |
public void setCompletionCriteria(AutoMLJobCompletionCriteria completionCriteria)
completionCriteria
- public AutoMLJobCompletionCriteria getCompletionCriteria()
public TextGenerationJobConfig withCompletionCriteria(AutoMLJobCompletionCriteria completionCriteria)
completionCriteria
- public void setBaseModelName(String baseModelName)
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.
baseModelName
- 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.public String getBaseModelName()
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.
BaseModelName
is
provided, the default model used is Falcon-7B-Instruct.public TextGenerationJobConfig withBaseModelName(String baseModelName)
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.
baseModelName
- 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.public String toString()
toString
in class Object
Object.toString()
public TextGenerationJobConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.