public interface DistillationSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseTeacherModel()
The base teacher model that is being distilled, e.g.,
"gemini-1.0-pro-002".
|
com.google.protobuf.ByteString |
getBaseTeacherModelBytes()
The base teacher model that is being distilled, e.g.,
"gemini-1.0-pro-002".
|
DistillationHyperParameters |
getHyperParameters()
Optional.
|
DistillationHyperParametersOrBuilder |
getHyperParametersOrBuilder()
Optional.
|
String |
getPipelineRootDirectory()
Required.
|
com.google.protobuf.ByteString |
getPipelineRootDirectoryBytes()
Required.
|
String |
getStudentModel()
The student model that is being tuned, e.g., "google/gemma-2b-1.1-it".
|
com.google.protobuf.ByteString |
getStudentModelBytes()
The student model that is being tuned, e.g., "google/gemma-2b-1.1-it".
|
DistillationSpec.TeacherModelCase |
getTeacherModelCase() |
String |
getTrainingDatasetUri()
Required.
|
com.google.protobuf.ByteString |
getTrainingDatasetUriBytes()
Required.
|
String |
getTunedTeacherModelSource()
The resource name of the Tuned teacher model.
|
com.google.protobuf.ByteString |
getTunedTeacherModelSourceBytes()
The resource name of the Tuned teacher model.
|
String |
getValidationDatasetUri()
Optional.
|
com.google.protobuf.ByteString |
getValidationDatasetUriBytes()
Optional.
|
boolean |
hasBaseTeacherModel()
The base teacher model that is being distilled, e.g.,
"gemini-1.0-pro-002".
|
boolean |
hasHyperParameters()
Optional.
|
boolean |
hasTunedTeacherModelSource()
The resource name of the Tuned teacher model.
|
boolean |
hasValidationDatasetUri()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasBaseTeacherModel()
The base teacher model that is being distilled, e.g., "gemini-1.0-pro-002".
string base_teacher_model = 5;String getBaseTeacherModel()
The base teacher model that is being distilled, e.g., "gemini-1.0-pro-002".
string base_teacher_model = 5;com.google.protobuf.ByteString getBaseTeacherModelBytes()
The base teacher model that is being distilled, e.g., "gemini-1.0-pro-002".
string base_teacher_model = 5;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) = { ... }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) = { ... }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) = { ... }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];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];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];
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];
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];
boolean hasHyperParameters()
Optional. Hyperparameters for Distillation.
.google.cloud.aiplatform.v1beta1.DistillationHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
DistillationHyperParameters getHyperParameters()
Optional. Hyperparameters for Distillation.
.google.cloud.aiplatform.v1beta1.DistillationHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
DistillationHyperParametersOrBuilder getHyperParametersOrBuilder()
Optional. Hyperparameters for Distillation.
.google.cloud.aiplatform.v1beta1.DistillationHyperParameters hyper_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
String getStudentModel()
The student model that is being tuned, e.g., "google/gemma-2b-1.1-it".
string student_model = 4;com.google.protobuf.ByteString getStudentModelBytes()
The student model that is being tuned, e.g., "google/gemma-2b-1.1-it".
string student_model = 4;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];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];DistillationSpec.TeacherModelCase getTeacherModelCase()
Copyright © 2024 Google LLC. All rights reserved.