Class TextGenerationJobConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.TextGenerationJobConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TextGenerationJobConfig.Builder,TextGenerationJobConfig>
@Generated("software.amazon.awssdk:codegen") public final class TextGenerationJobConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TextGenerationJobConfig.Builder,TextGenerationJobConfig>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTextGenerationJobConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbaseModelName()The name of the base model to fine-tune.static TextGenerationJobConfig.Builderbuilder()AutoMLJobCompletionCriteriacompletionCriteria()Returns the value of the CompletionCriteria property for this object.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends TextGenerationJobConfig.Builder>serializableBuilderClass()TextGenerationJobConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
completionCriteria
public final AutoMLJobCompletionCriteria completionCriteria()
Returns the value of the CompletionCriteria property for this object.- Returns:
- The value of the CompletionCriteria property for this object.
-
baseModelName
public final 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
BaseModelNameis provided, the default model used is Falcon-7B-Instruct.- Returns:
- 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
BaseModelNameis provided, the default model used is Falcon-7B-Instruct.
-
toBuilder
public TextGenerationJobConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TextGenerationJobConfig.Builder,TextGenerationJobConfig>
-
builder
public static TextGenerationJobConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends TextGenerationJobConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-