Class DistillationSpec
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Tuning spec for distillation.
public class DistillationSpec
- Inheritance
-
DistillationSpec
- Inherited Members
- Extension Methods
Properties
BaseTeacherModel
The base teacher model that is being distilled.
[JsonPropertyName("baseTeacherModel")]
public string? BaseTeacherModel { get; set; }
Property Value
EvaluationConfig
Optional. Evaluation config for the tuning job.
[JsonPropertyName("evaluationConfig")]
public EvaluationConfig? EvaluationConfig { get; set; }
Property Value
ExportLastCheckpointOnly
Optional. If set to true, disable intermediate checkpoints and only export the last checkpoint.
[JsonPropertyName("exportLastCheckpointOnly")]
public bool? ExportLastCheckpointOnly { get; set; }
Property Value
- bool?
HyperParameters
Optional. Hyperparameters for distillation.
[JsonPropertyName("hyperParameters")]
public DistillationHyperParameters? HyperParameters { get; set; }
Property Value
PipelineRootDirectory
Deprecated. A path in a Cloud Storage bucket treated as the root output directory of the distillation pipeline.
[JsonPropertyName("pipelineRootDirectory")]
public string? PipelineRootDirectory { get; set; }
Property Value
PromptDatasetUri
Optional. Cloud Storage path to the JSONL prompt dataset for distillation.
[JsonPropertyName("promptDatasetUri")]
public string? PromptDatasetUri { get; set; }
Property Value
StudentModel
Deprecated. The student model that is being tuned. Use the tuning job base model instead.
[JsonPropertyName("studentModel")]
public string? StudentModel { get; set; }
Property Value
TrainingDatasetUri
Deprecated. Cloud Storage path to the JSONL training dataset.
[JsonPropertyName("trainingDatasetUri")]
public string? TrainingDatasetUri { get; set; }
Property Value
TunedTeacherModelSource
The resource name of the tuned teacher model.
Format: projects/{project}/locations/{location}/models/{model}.
[JsonPropertyName("tunedTeacherModelSource")]
public string? TunedTeacherModelSource { get; set; }
Property Value
TuningMode
Optional. The tuning mode for the SFT part of distillation (open source models only).
[JsonPropertyName("tuningMode")]
public TuningMode? TuningMode { get; set; }
Property Value
ValidationDatasetUri
Optional. Cloud Storage path to the JSONL validation dataset.
[JsonPropertyName("validationDatasetUri")]
public string? ValidationDatasetUri { get; set; }