public sealed class DistillationSpec : IMessage<DistillationSpec>, IEquatable<DistillationSpec>, IDeepCloneable<DistillationSpec>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class DistillationSpec.
Tuning Spec for Distillation.
Implements
IMessageDistillationSpec, IEquatableDistillationSpec, IDeepCloneableDistillationSpec, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
DistillationSpec()
public DistillationSpec()DistillationSpec(DistillationSpec)
public DistillationSpec(DistillationSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
DistillationSpec |
Properties
BaseTeacherModel
public string BaseTeacherModel { get; set; }The base teacher model that is being distilled. See Supported models.
| Property Value | |
|---|---|
| Type | Description |
string |
|
HasBaseTeacherModel
public bool HasBaseTeacherModel { get; }Gets whether the "base_teacher_model" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasTunedTeacherModelSource
public bool HasTunedTeacherModelSource { get; }Gets whether the "tuned_teacher_model_source" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasValidationDatasetUri
public bool HasValidationDatasetUri { get; }Gets whether the "validation_dataset_uri" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HyperParameters
public DistillationHyperParameters HyperParameters { get; set; }Optional. Hyperparameters for Distillation.
| Property Value | |
|---|---|
| Type | Description |
DistillationHyperParameters |
|
PipelineRootDirectory
public string PipelineRootDirectory { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
string |
|
StudentModel
public string StudentModel { get; set; }The student model that is being tuned, e.g., "google/gemma-2b-1.1-it".
| Property Value | |
|---|---|
| Type | Description |
string |
|
TeacherModelCase
public DistillationSpec.TeacherModelOneofCase TeacherModelCase { get; }| Property Value | |
|---|---|
| Type | Description |
DistillationSpecTeacherModelOneofCase |
|
TrainingDatasetUri
public string TrainingDatasetUri { get; set; }Required. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file.
| Property Value | |
|---|---|
| Type | Description |
string |
|
TunedTeacherModelSource
public string TunedTeacherModelSource { get; set; }The resource name of the Tuned teacher model. Format:
projects/{project}/locations/{location}/models/{model}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
TunedTeacherModelSourceAsModelName
public ModelName TunedTeacherModelSourceAsModelName { get; set; }ModelName-typed view over the TunedTeacherModelSource resource name property.
| Property Value | |
|---|---|
| Type | Description |
ModelName |
|
ValidationDatasetUri
public string ValidationDatasetUri { get; set; }Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file.
| Property Value | |
|---|---|
| Type | Description |
string |
|