Interface TextGenerationJobConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TextGenerationJobConfig.Builder,,TextGenerationJobConfig> SdkBuilder<TextGenerationJobConfig.Builder,,TextGenerationJobConfig> SdkPojo
- Enclosing class:
TextGenerationJobConfig
public static interface TextGenerationJobConfig.Builder
extends SdkPojo, CopyableBuilder<TextGenerationJobConfig.Builder,TextGenerationJobConfig>
-
Method Summary
Modifier and TypeMethodDescriptionbaseModelName(String baseModelName) The name of the base model to fine-tune.default TextGenerationJobConfig.BuildercompletionCriteria(Consumer<AutoMLJobCompletionCriteria.Builder> completionCriteria) Sets the value of the CompletionCriteria property for this object.completionCriteria(AutoMLJobCompletionCriteria completionCriteria) Sets the value of the CompletionCriteria property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
completionCriteria
Sets the value of the CompletionCriteria property for this object.- Parameters:
completionCriteria- The new value for the CompletionCriteria property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completionCriteria
default TextGenerationJobConfig.Builder completionCriteria(Consumer<AutoMLJobCompletionCriteria.Builder> completionCriteria) Sets the value of the CompletionCriteria property for this object. This is a convenience method that creates an instance of theAutoMLJobCompletionCriteria.Builderavoiding the need to create one manually viaAutoMLJobCompletionCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocompletionCriteria(AutoMLJobCompletionCriteria).- Parameters:
completionCriteria- a consumer that will call methods onAutoMLJobCompletionCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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 noBaseModelNameis provided, the default model used is Falcon-7B-Instruct.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-