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. 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.
    • hasHyperParameters

      boolean hasHyperParameters()
       Optional. Hyperparameters for SFT.
       
      .google.cloud.aiplatform.v1.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.v1.SupervisedHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The hyperParameters.
    • getHyperParametersOrBuilder

      SupervisedHyperParametersOrBuilder getHyperParametersOrBuilder()
       Optional. Hyperparameters for SFT.
       
      .google.cloud.aiplatform.v1.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.v1.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.v1.EvaluationConfig evaluation_config = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The evaluationConfig.
    • getEvaluationConfigOrBuilder

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