Class TunedModelCheckpoint
TunedModelCheckpoint for the Tuned Model of a Tuning Job.
public record TunedModelCheckpoint : IEquatable<TunedModelCheckpoint>
- Inheritance
-
TunedModelCheckpoint
- Implements
- Inherited Members
Properties
CheckpointId
The ID of the checkpoint.
[JsonPropertyName("checkpointId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? CheckpointId { get; set; }
Property Value
Endpoint
The Endpoint resource name that the checkpoint is deployed to. Format:
projects/{project}/locations/{location}/endpoints/{endpoint}.
[JsonPropertyName("endpoint")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Endpoint { get; set; }
Property Value
Epoch
The epoch of the checkpoint.
[JsonPropertyName("epoch")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonConverter(typeof(StringToNullableLongConverter))]
public long? Epoch { get; set; }
Property Value
- long?
Step
The step of the checkpoint.
[JsonPropertyName("step")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonConverter(typeof(StringToNullableLongConverter))]
public long? Step { get; set; }
Property Value
- long?
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a TunedModelCheckpoint object.
public static TunedModelCheckpoint? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- TunedModelCheckpoint
The deserialized TunedModelCheckpoint object, or null if deserialization fails.