Interface DistillationSpecOrBuilder

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

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

    • hasBaseTeacherModel

      boolean hasBaseTeacherModel()
       The base teacher model that is being distilled. See [Supported
       models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models).
       
      string base_teacher_model = 5;
      Returns:
      Whether the baseTeacherModel field is set.
    • getBaseTeacherModel

      String getBaseTeacherModel()
       The base teacher model that is being distilled. See [Supported
       models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models).
       
      string base_teacher_model = 5;
      Returns:
      The baseTeacherModel.
    • getBaseTeacherModelBytes

      com.google.protobuf.ByteString getBaseTeacherModelBytes()
       The base teacher model that is being distilled. See [Supported
       models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models).
       
      string base_teacher_model = 5;
      Returns:
      The bytes for baseTeacherModel.
    • hasTunedTeacherModelSource

      boolean hasTunedTeacherModelSource()
       The resource name of the Tuned teacher model. Format:
       `projects/{project}/locations/{location}/models/{model}`.
       
      string tuned_teacher_model_source = 6 [(.google.api.resource_reference) = { ... }
      Returns:
      Whether the tunedTeacherModelSource field is set.
    • getTunedTeacherModelSource

      String getTunedTeacherModelSource()
       The resource name of the Tuned teacher model. Format:
       `projects/{project}/locations/{location}/models/{model}`.
       
      string tuned_teacher_model_source = 6 [(.google.api.resource_reference) = { ... }
      Returns:
      The tunedTeacherModelSource.
    • getTunedTeacherModelSourceBytes

      com.google.protobuf.ByteString getTunedTeacherModelSourceBytes()
       The resource name of the Tuned teacher model. Format:
       `projects/{project}/locations/{location}/models/{model}`.
       
      string tuned_teacher_model_source = 6 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for tunedTeacherModelSource.
    • 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.
    • hasValidationDatasetUri

      boolean hasValidationDatasetUri()
       Optional. Cloud Storage path to file containing validation dataset for
       tuning. The dataset must be formatted as a JSONL file.
       
      optional string validation_dataset_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the validationDatasetUri field is set.
    • getValidationDatasetUri

      String getValidationDatasetUri()
       Optional. Cloud Storage path to file containing validation dataset for
       tuning. The dataset must be formatted as a JSONL file.
       
      optional 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.
       
      optional string validation_dataset_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for validationDatasetUri.
    • hasHyperParameters

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

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

      DistillationHyperParametersOrBuilder getHyperParametersOrBuilder()
       Optional. Hyperparameters for Distillation.
       
      .google.cloud.aiplatform.v1beta1.DistillationHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getStudentModel

      String getStudentModel()
       The student model that is being tuned, e.g., "google/gemma-2b-1.1-it".
       
      string student_model = 4;
      Returns:
      The studentModel.
    • getStudentModelBytes

      com.google.protobuf.ByteString getStudentModelBytes()
       The student model that is being tuned, e.g., "google/gemma-2b-1.1-it".
       
      string student_model = 4;
      Returns:
      The bytes for studentModel.
    • getPipelineRootDirectory

      String getPipelineRootDirectory()
       Required. A path in a Cloud Storage bucket, which will be treated as the
       root output directory of the distillation pipeline. It is used by the
       system to generate the paths of output artifacts.
       
      string pipeline_root_directory = 7 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The pipelineRootDirectory.
    • getPipelineRootDirectoryBytes

      com.google.protobuf.ByteString getPipelineRootDirectoryBytes()
       Required. A path in a Cloud Storage bucket, which will be treated as the
       root output directory of the distillation pipeline. It is used by the
       system to generate the paths of output artifacts.
       
      string pipeline_root_directory = 7 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for pipelineRootDirectory.
    • getTeacherModelCase

      DistillationSpec.TeacherModelCase getTeacherModelCase()