Interface SupervisedTuningSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SupervisedTuningSpec, SupervisedTuningSpec.Builder

@Generated public interface SupervisedTuningSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getTrainingDatasetUri

      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:
      The trainingDatasetUri.
    • getTrainingDatasetUriBytes

      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];
      Returns:
      The bytes for trainingDatasetUri.
    • getValidationDatasetUri

      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:
      The validationDatasetUri.
    • getValidationDatasetUriBytes

      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];
      Returns:
      The bytes for validationDatasetUri.
    • hasHyperParameters

      boolean hasHyperParameters()
       Optional. Hyperparameters for SFT.
       
      .google.cloud.aiplatform.v1beta1.SupervisedHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the hyperParameters field is set.
    • getHyperParameters

      SupervisedHyperParameters getHyperParameters()
       Optional. Hyperparameters for SFT.
       
      .google.cloud.aiplatform.v1beta1.SupervisedHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The hyperParameters.
    • getHyperParametersOrBuilder

      SupervisedHyperParametersOrBuilder getHyperParametersOrBuilder()
       Optional. Hyperparameters for SFT.
       
      .google.cloud.aiplatform.v1beta1.SupervisedHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getExportLastCheckpointOnly

      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:
      The exportLastCheckpointOnly.
    • hasEvaluationConfig

      boolean hasEvaluationConfig()
       Optional. Evaluation Config for Tuning Job.
       
      .google.cloud.aiplatform.v1beta1.EvaluationConfig evaluation_config = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the evaluationConfig field is set.
    • getEvaluationConfig

      EvaluationConfig getEvaluationConfig()
       Optional. Evaluation Config for Tuning Job.
       
      .google.cloud.aiplatform.v1beta1.EvaluationConfig evaluation_config = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The evaluationConfig.
    • getEvaluationConfigOrBuilder

      EvaluationConfigOrBuilder getEvaluationConfigOrBuilder()
       Optional. Evaluation Config for Tuning Job.
       
      .google.cloud.aiplatform.v1beta1.EvaluationConfig evaluation_config = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getTuningModeValue

      int getTuningModeValue()
       Tuning mode.
       
      .google.cloud.aiplatform.v1beta1.SupervisedTuningSpec.TuningMode tuning_mode = 7;
      Returns:
      The enum numeric value on the wire for tuningMode.
    • getTuningMode

       Tuning mode.
       
      .google.cloud.aiplatform.v1beta1.SupervisedTuningSpec.TuningMode tuning_mode = 7;
      Returns:
      The tuningMode.