Class DistillationDataStats
Statistics for distillation prompt dataset. These statistics do not include the responses sampled from the teacher model. This data type is not supported in Gemini API.
public record DistillationDataStats : IEquatable<DistillationDataStats>
- Inheritance
-
DistillationDataStats
- Implements
- Inherited Members
Properties
TrainingDatasetStats
Output only. Statistics computed for the training dataset.
[JsonPropertyName("trainingDatasetStats")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public DatasetStats? TrainingDatasetStats { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a DistillationDataStats object.
public static DistillationDataStats? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- DistillationDataStats
The deserialized DistillationDataStats object, or null if deserialization fails.