Interface SupervisedTuningSpecOrBuilder (3.71.0)

public interface SupervisedTuningSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExportLastCheckpointOnly()

public abstract 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];

Returns
Type Description
boolean

The exportLastCheckpointOnly.

getHyperParameters()

public abstract SupervisedHyperParameters getHyperParameters()

Optional. Hyperparameters for SFT.

.google.cloud.aiplatform.v1beta1.SupervisedHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SupervisedHyperParameters

The hyperParameters.

getHyperParametersOrBuilder()

public abstract SupervisedHyperParametersOrBuilder getHyperParametersOrBuilder()

Optional. Hyperparameters for SFT.

.google.cloud.aiplatform.v1beta1.SupervisedHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SupervisedHyperParametersOrBuilder

getTrainingDatasetUri()

public abstract String 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];

Returns
Type Description
String

The trainingDatasetUri.

getTrainingDatasetUriBytes()

public abstract 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];

Returns
Type Description
ByteString

The bytes for trainingDatasetUri.

getTuningMode()

public abstract SupervisedTuningSpec.TuningMode getTuningMode()

Tuning mode.

.google.cloud.aiplatform.v1beta1.SupervisedTuningSpec.TuningMode tuning_mode = 7;

Returns
Type Description
SupervisedTuningSpec.TuningMode

The tuningMode.

getTuningModeValue()

public abstract int getTuningModeValue()

Tuning mode.

.google.cloud.aiplatform.v1beta1.SupervisedTuningSpec.TuningMode tuning_mode = 7;

Returns
Type Description
int

The enum numeric value on the wire for tuningMode.

getValidationDatasetUri()

public abstract 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];

Returns
Type Description
String

The validationDatasetUri.

getValidationDatasetUriBytes()

public abstract 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];

Returns
Type Description
ByteString

The bytes for validationDatasetUri.

hasHyperParameters()

public abstract boolean hasHyperParameters()

Optional. Hyperparameters for SFT.

.google.cloud.aiplatform.v1beta1.SupervisedHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the hyperParameters field is set.