Interface TrainProcessorVersionRequest.FoundationModelTuningOptionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TrainProcessorVersionRequest.FoundationModelTuningOptions,TrainProcessorVersionRequest.FoundationModelTuningOptions.Builder
- Enclosing class:
- TrainProcessorVersionRequest
public static interface TrainProcessorVersionRequest.FoundationModelTuningOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionfloatOptional.Optional.com.google.protobuf.ByteStringOptional.intOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTrainSteps
int getTrainSteps()Optional. The number of steps to run for model tuning. Valid values are between 1 and 400. If not provided, recommended steps will be used.
int32 train_steps = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The trainSteps.
-
getLearningRateMultiplier
float getLearningRateMultiplier()Optional. The multiplier to apply to the recommended learning rate. Valid values are between 0.1 and 10. If not provided, recommended learning rate will be used.
float learning_rate_multiplier = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The learningRateMultiplier.
-
getPreviousFineTunedProcessorVersionName
String getPreviousFineTunedProcessorVersionName()Optional. Resource name of a previously fine tuned version id to copy the overwritten configs from. The base_processor_version should be newer than the base processor version used to fine tune this provided processor version. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.string previous_fine_tuned_processor_version_name = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The previousFineTunedProcessorVersionName.
-
getPreviousFineTunedProcessorVersionNameBytes
com.google.protobuf.ByteString getPreviousFineTunedProcessorVersionNameBytes()Optional. Resource name of a previously fine tuned version id to copy the overwritten configs from. The base_processor_version should be newer than the base processor version used to fine tune this provided processor version. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`.string previous_fine_tuned_processor_version_name = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for previousFineTunedProcessorVersionName.
-