public interface SupervisedTuningSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getExportLastCheckpointOnly()
Optional.
|
SupervisedHyperParameters |
getHyperParameters()
Optional.
|
SupervisedHyperParametersOrBuilder |
getHyperParametersOrBuilder()
Optional.
|
String |
getTrainingDatasetUri()
Required.
|
com.google.protobuf.ByteString |
getTrainingDatasetUriBytes()
Required.
|
SupervisedTuningSpec.TuningMode |
getTuningMode()
Tuning mode.
|
int |
getTuningModeValue()
Tuning mode.
|
String |
getValidationDatasetUri()
Optional.
|
com.google.protobuf.ByteString |
getValidationDatasetUriBytes()
Optional.
|
boolean |
hasHyperParameters()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getTrainingDatasetUri()
Required. Training dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset.
string training_dataset_uri = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getTrainingDatasetUriBytes()
Required. Training dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset.
string training_dataset_uri = 1 [(.google.api.field_behavior) = REQUIRED];String getValidationDatasetUri()
Optional. Validation dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset.
string validation_dataset_uri = 2 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getValidationDatasetUriBytes()
Optional. Validation dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset.
string validation_dataset_uri = 2 [(.google.api.field_behavior) = OPTIONAL];boolean hasHyperParameters()
Optional. Hyperparameters for SFT.
.google.cloud.aiplatform.v1beta1.SupervisedHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
SupervisedHyperParameters getHyperParameters()
Optional. Hyperparameters for SFT.
.google.cloud.aiplatform.v1beta1.SupervisedHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
SupervisedHyperParametersOrBuilder getHyperParametersOrBuilder()
Optional. Hyperparameters for SFT.
.google.cloud.aiplatform.v1beta1.SupervisedHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
boolean getExportLastCheckpointOnly()
Optional. If set to true, disable intermediate checkpoints for SFT and only the last checkpoint will be exported. Otherwise, enable intermediate checkpoints for SFT. Default is false.
bool export_last_checkpoint_only = 6 [(.google.api.field_behavior) = OPTIONAL];int getTuningModeValue()
Tuning mode.
.google.cloud.aiplatform.v1beta1.SupervisedTuningSpec.TuningMode tuning_mode = 7;SupervisedTuningSpec.TuningMode getTuningMode()
Tuning mode.
.google.cloud.aiplatform.v1beta1.SupervisedTuningSpec.TuningMode tuning_mode = 7;Copyright © 2025 Google LLC. All rights reserved.