Interface RFTConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RFTConfig.Builder,,RFTConfig> SdkBuilder<RFTConfig.Builder,,RFTConfig> SdkPojo
- Enclosing class:
RFTConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault RFTConfig.BuildergraderConfig(Consumer<GraderConfig.Builder> graderConfig) Configuration for the grader that evaluates model responses and provides reward signals during RFT training.graderConfig(GraderConfig graderConfig) Configuration for the grader that evaluates model responses and provides reward signals during RFT training.default RFTConfig.BuilderhyperParameters(Consumer<RFTHyperParameters.Builder> hyperParameters) Hyperparameters that control the reinforcement fine-tuning training process, including learning rate, batch size, and epoch count.hyperParameters(RFTHyperParameters hyperParameters) Hyperparameters that control the reinforcement fine-tuning training process, including learning rate, batch size, and epoch count.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, sdkFieldNameToField, sdkFields
-
Method Details
-
graderConfig
Configuration for the grader that evaluates model responses and provides reward signals during RFT training.
- Parameters:
graderConfig- Configuration for the grader that evaluates model responses and provides reward signals during RFT training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
graderConfig
Configuration for the grader that evaluates model responses and provides reward signals during RFT training.
This is a convenience method that creates an instance of theGraderConfig.Builderavoiding the need to create one manually viaGraderConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tograderConfig(GraderConfig).- Parameters:
graderConfig- a consumer that will call methods onGraderConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hyperParameters
Hyperparameters that control the reinforcement fine-tuning training process, including learning rate, batch size, and epoch count.
- Parameters:
hyperParameters- Hyperparameters that control the reinforcement fine-tuning training process, including learning rate, batch size, and epoch count.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hyperParameters
Hyperparameters that control the reinforcement fine-tuning training process, including learning rate, batch size, and epoch count.
This is a convenience method that creates an instance of theRFTHyperParameters.Builderavoiding the need to create one manually viaRFTHyperParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohyperParameters(RFTHyperParameters).- Parameters:
hyperParameters- a consumer that will call methods onRFTHyperParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-