Package com.google.genai.types
Class DistillationSamplingSpec.Builder
java.lang.Object
com.google.genai.types.DistillationSamplingSpec.Builder
- Enclosing class:
- DistillationSamplingSpec
Builder for DistillationSamplingSpec.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract DistillationSamplingSpec.BuilderbaseTeacherModel(String baseTeacherModel) Setter for baseTeacherModel.abstract DistillationSamplingSpecbuild()Clears the value of baseTeacherModel field.Clears the value of tunedTeacherModelSource field.Clears the value of validationDatasetUri field.abstract DistillationSamplingSpec.BuildertunedTeacherModelSource(String tunedTeacherModelSource) Setter for tunedTeacherModelSource.abstract DistillationSamplingSpec.BuildervalidationDatasetUri(String validationDatasetUri) Setter for validationDatasetUri.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
baseTeacherModel
Setter for baseTeacherModel.baseTeacherModel: Optional. 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).
-
clearBaseTeacherModel
Clears the value of baseTeacherModel field. -
tunedTeacherModelSource
public abstract DistillationSamplingSpec.Builder tunedTeacherModelSource(String tunedTeacherModelSource) Setter for tunedTeacherModelSource.tunedTeacherModelSource: Optional. The resource name of the Tuned teacher model. Format: `projects/{project}/locations/{location}/models/{model}`.
-
clearTunedTeacherModelSource
Clears the value of tunedTeacherModelSource field. -
validationDatasetUri
Setter for validationDatasetUri.validationDatasetUri: Optional. Cloud Storage path to file containing validation dataset for distillation. The dataset must be formatted as a JSONL file.
-
clearValidationDatasetUri
Clears the value of validationDatasetUri field. -
build
-