public static final class SupervisedHyperParameters.Builder extends GeneratedMessageV3.Builder<SupervisedHyperParameters.Builder> implements SupervisedHyperParametersOrBuilder
Hyperparameters for SFT.
Protobuf type google.cloud.aiplatform.v1beta1.SupervisedHyperParameters
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public SupervisedHyperParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public SupervisedHyperParameters build()
public SupervisedHyperParameters buildPartial()
public SupervisedHyperParameters.Builder clear()
Overrides
public SupervisedHyperParameters.Builder clearAdapterSize()
Optional. Adapter size for tuning.
.google.cloud.aiplatform.v1beta1.SupervisedHyperParameters.AdapterSize adapter_size = 3 [(.google.api.field_behavior) = OPTIONAL];
public SupervisedHyperParameters.Builder clearEpochCount()
Optional. Number of complete passes the model makes over the entire
training dataset during training.
int64 epoch_count = 1 [(.google.api.field_behavior) = OPTIONAL];
public SupervisedHyperParameters.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public SupervisedHyperParameters.Builder clearLearningRateMultiplier()
Optional. Multiplier for adjusting the default learning rate.
double learning_rate_multiplier = 2 [(.google.api.field_behavior) = OPTIONAL];
public SupervisedHyperParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public SupervisedHyperParameters.Builder clone()
Overrides
public SupervisedHyperParameters.AdapterSize getAdapterSize()
Optional. Adapter size for tuning.
.google.cloud.aiplatform.v1beta1.SupervisedHyperParameters.AdapterSize adapter_size = 3 [(.google.api.field_behavior) = OPTIONAL];
public int getAdapterSizeValue()
Optional. Adapter size for tuning.
.google.cloud.aiplatform.v1beta1.SupervisedHyperParameters.AdapterSize adapter_size = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for adapterSize.
|
public SupervisedHyperParameters getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public long getEpochCount()
Optional. Number of complete passes the model makes over the entire
training dataset during training.
int64 epoch_count = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
long |
The epochCount.
|
public double getLearningRateMultiplier()
Optional. Multiplier for adjusting the default learning rate.
double learning_rate_multiplier = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
double |
The learningRateMultiplier.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public SupervisedHyperParameters.Builder mergeFrom(SupervisedHyperParameters other)
public SupervisedHyperParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public SupervisedHyperParameters.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final SupervisedHyperParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public SupervisedHyperParameters.Builder setAdapterSize(SupervisedHyperParameters.AdapterSize value)
Optional. Adapter size for tuning.
.google.cloud.aiplatform.v1beta1.SupervisedHyperParameters.AdapterSize adapter_size = 3 [(.google.api.field_behavior) = OPTIONAL];
public SupervisedHyperParameters.Builder setAdapterSizeValue(int value)
Optional. Adapter size for tuning.
.google.cloud.aiplatform.v1beta1.SupervisedHyperParameters.AdapterSize adapter_size = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for adapterSize to set.
|
public SupervisedHyperParameters.Builder setEpochCount(long value)
Optional. Number of complete passes the model makes over the entire
training dataset during training.
int64 epoch_count = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
long
The epochCount to set.
|
public SupervisedHyperParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public SupervisedHyperParameters.Builder setLearningRateMultiplier(double value)
Optional. Multiplier for adjusting the default learning rate.
double learning_rate_multiplier = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
double
The learningRateMultiplier to set.
|
public SupervisedHyperParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final SupervisedHyperParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides