Interface PartnerModelTuningSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PartnerModelTuningSpec,PartnerModelTuningSpec.Builder
@Generated
public interface PartnerModelTuningSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanHyperparameters for tuning.Deprecated.intHyperparameters for tuning.Hyperparameters for tuning.com.google.protobuf.ValuegetHyperParametersOrDefault(String key, com.google.protobuf.Value defaultValue) Hyperparameters for tuning.com.google.protobuf.ValueHyperparameters for tuning.Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.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
-
getTrainingDatasetUri
String getTrainingDatasetUri()Required. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file.
string training_dataset_uri = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The trainingDatasetUri.
-
getTrainingDatasetUriBytes
com.google.protobuf.ByteString getTrainingDatasetUriBytes()Required. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file.
string training_dataset_uri = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for trainingDatasetUri.
-
getValidationDatasetUri
String getValidationDatasetUri()Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file.
string validation_dataset_uri = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The validationDatasetUri.
-
getValidationDatasetUriBytes
com.google.protobuf.ByteString getValidationDatasetUriBytes()Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file.
string validation_dataset_uri = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for validationDatasetUri.
-
getHyperParametersCount
int getHyperParametersCount()Hyperparameters for tuning. The accepted hyper_parameters and their valid range of values will differ depending on the base model.
map<string, .google.protobuf.Value> hyper_parameters = 3; -
containsHyperParameters
Hyperparameters for tuning. The accepted hyper_parameters and their valid range of values will differ depending on the base model.
map<string, .google.protobuf.Value> hyper_parameters = 3; -
getHyperParameters
Deprecated.UsegetHyperParametersMap()instead. -
getHyperParametersMap
Hyperparameters for tuning. The accepted hyper_parameters and their valid range of values will differ depending on the base model.
map<string, .google.protobuf.Value> hyper_parameters = 3; -
getHyperParametersOrDefault
com.google.protobuf.Value getHyperParametersOrDefault(String key, com.google.protobuf.Value defaultValue) Hyperparameters for tuning. The accepted hyper_parameters and their valid range of values will differ depending on the base model.
map<string, .google.protobuf.Value> hyper_parameters = 3; -
getHyperParametersOrThrow
Hyperparameters for tuning. The accepted hyper_parameters and their valid range of values will differ depending on the base model.
map<string, .google.protobuf.Value> hyper_parameters = 3;
-