Distillation Spec
Distillation tuning spec for tuning.
Properties
Functions
Link copied to clipboard
The base teacher model that is being distilled.
Link copied to clipboard
Instantiates a builder for DistillationSpec.
Link copied to clipboard
Deserializes a JSON string to a DistillationSpec object.
Link copied to clipboard
@InternalApi()
Deserializes a JsonNode to an object of the given type.
Link copied to clipboard
@InternalApi()
Deserializes a Json string to an object of the given type.
Link copied to clipboard
Optional.
Link copied to clipboard
Link copied to clipboard
Deprecated.
Link copied to clipboard
The GCS URI of the prompt dataset to use during distillation.
Link copied to clipboard
Overrides the default maximum JSON string length (20MB) for the JSON parser.
Link copied to clipboard
Converts a Json string to a JsonNode.
Link copied to clipboard
The student model that is being tuned, e.g., "google/gemma-2b-1.1-it".
Link copied to clipboard
Creates a builder with the same values as this instance.
Link copied to clipboard
Serializes an object to a JsonNode.
Link copied to clipboard
Serializes an object to a Json string.
Link copied to clipboard
Deprecated.
Link copied to clipboard
The resource name of the Tuned teacher model.
Link copied to clipboard
Tuning mode for tuning.
Link copied to clipboard
Optional.