#[non_exhaustive]pub struct FineTuningCheckpoint {
pub id: String,
pub object: String,
pub created_at: u64,
pub fine_tuned_model_checkpoint: String,
pub fine_tuning_job_id: String,
pub step_number: u64,
pub metrics: BTreeMap<String, Value>,
pub extra: BTreeMap<String, Value>,
}Expand description
EN: Fine-tuning job checkpoint. 中文:fine-tuning job 检查点。
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringEN: Checkpoint id. 中文:检查点 ID。
object: StringEN: API object type. 中文:API 对象类型。
created_at: u64EN: Unix timestamp for checkpoint creation. 中文:检查点创建时间的 Unix 时间戳。
fine_tuned_model_checkpoint: StringEN: Fine-tuned checkpoint model id. 中文:微调检查点模型 ID。
fine_tuning_job_id: StringEN: Fine-tuning job id. 中文:fine-tuning job ID。
step_number: u64EN: Step number for this checkpoint. 中文:此检查点的步数。
metrics: BTreeMap<String, Value>EN: Metrics returned for this checkpoint. 中文:此检查点返回的指标。
extra: BTreeMap<String, Value>EN: Additional fields preserved for forward compatibility. 中文:为前向兼容保留的额外字段。
Trait Implementations§
Source§impl Clone for FineTuningCheckpoint
impl Clone for FineTuningCheckpoint
Source§fn clone(&self) -> FineTuningCheckpoint
fn clone(&self) -> FineTuningCheckpoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FineTuningCheckpoint
impl Debug for FineTuningCheckpoint
Source§impl<'de> Deserialize<'de> for FineTuningCheckpoint
impl<'de> Deserialize<'de> for FineTuningCheckpoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FineTuningCheckpoint
impl PartialEq for FineTuningCheckpoint
Source§fn eq(&self, other: &FineTuningCheckpoint) -> bool
fn eq(&self, other: &FineTuningCheckpoint) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FineTuningCheckpoint
impl Serialize for FineTuningCheckpoint
impl StructuralPartialEq for FineTuningCheckpoint
Auto Trait Implementations§
impl Freeze for FineTuningCheckpoint
impl RefUnwindSafe for FineTuningCheckpoint
impl Send for FineTuningCheckpoint
impl Sync for FineTuningCheckpoint
impl Unpin for FineTuningCheckpoint
impl UnsafeUnpin for FineTuningCheckpoint
impl UnwindSafe for FineTuningCheckpoint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more