pub struct FineTuningJobCheckpointMetrics {
pub step: Option<Number>,
pub train_loss: Option<Number>,
pub train_mean_token_accuracy: Option<Number>,
pub valid_loss: Option<Number>,
pub valid_mean_token_accuracy: Option<Number>,
pub full_valid_loss: Option<Number>,
pub full_valid_mean_token_accuracy: Option<Number>,
}
Expand description
Metrics at the step number during the fine-tuning job.
Fields§
§step: Option<Number>
§train_loss: Option<Number>
§train_mean_token_accuracy: Option<Number>
§valid_loss: Option<Number>
§valid_mean_token_accuracy: Option<Number>
§full_valid_loss: Option<Number>
§full_valid_mean_token_accuracy: Option<Number>
Implementations§
Source§impl FineTuningJobCheckpointMetrics
impl FineTuningJobCheckpointMetrics
Sourcepub fn builder() -> FineTuningJobCheckpointMetricsBuilder<((), (), (), (), (), (), ())>
pub fn builder() -> FineTuningJobCheckpointMetricsBuilder<((), (), (), (), (), (), ())>
Create a builder for building FineTuningJobCheckpointMetrics
.
On the builder, call .step(...)
(optional), .train_loss(...)
(optional), .train_mean_token_accuracy(...)
(optional), .valid_loss(...)
(optional), .valid_mean_token_accuracy(...)
(optional), .full_valid_loss(...)
(optional), .full_valid_mean_token_accuracy(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of FineTuningJobCheckpointMetrics
.
Trait Implementations§
Source§impl Clone for FineTuningJobCheckpointMetrics
impl Clone for FineTuningJobCheckpointMetrics
Source§fn clone(&self) -> FineTuningJobCheckpointMetrics
fn clone(&self) -> FineTuningJobCheckpointMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for FineTuningJobCheckpointMetrics
impl Default for FineTuningJobCheckpointMetrics
Source§fn default() -> FineTuningJobCheckpointMetrics
fn default() -> FineTuningJobCheckpointMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FineTuningJobCheckpointMetrics
impl<'de> Deserialize<'de> for FineTuningJobCheckpointMetrics
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 FineTuningJobCheckpointMetrics
impl PartialEq for FineTuningJobCheckpointMetrics
Source§fn eq(&self, other: &FineTuningJobCheckpointMetrics) -> bool
fn eq(&self, other: &FineTuningJobCheckpointMetrics) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for FineTuningJobCheckpointMetrics
Auto Trait Implementations§
impl Freeze for FineTuningJobCheckpointMetrics
impl RefUnwindSafe for FineTuningJobCheckpointMetrics
impl Send for FineTuningJobCheckpointMetrics
impl Sync for FineTuningJobCheckpointMetrics
impl Unpin for FineTuningJobCheckpointMetrics
impl UnwindSafe for FineTuningJobCheckpointMetrics
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