DistillationSamplingSpec

@Serializable
data class DistillationSamplingSpec(val baseTeacherModel: String? = null, val tunedTeacherModelSource: String? = null, val validationDatasetUri: String? = null, val promptDatasetUri: String? = null, val hyperparameters: DistillationHyperParameters? = null)

Distillation sampling spec for tuning.

Constructors

Link copied to clipboard
constructor(baseTeacherModel: String? = null, tunedTeacherModelSource: String? = null, validationDatasetUri: String? = null, promptDatasetUri: String? = null, hyperparameters: DistillationHyperParameters? = null)

Properties

Link copied to clipboard

The base teacher model that is being distilled. See Supported models.

Link copied to clipboard

Hyperparameters for distillation tuning.

Link copied to clipboard

Cloud Storage path to file containing prompt dataset for distillation. The dataset must be formatted as a JSONL file.

Link copied to clipboard

The resource name of the Tuned teacher model. Format: projects/{project}/locations/{location}/models/{model}.

Link copied to clipboard

Cloud Storage path to file containing validation dataset for distillation. The dataset must be formatted as a JSONL file.