pub struct ClassifierTrainingParametersIn {
pub training_steps: Option<Option<i32>>,
pub learning_rate: Option<f64>,
pub weight_decay: Option<Option<f64>>,
pub warmup_fraction: Option<Option<f64>>,
pub epochs: Option<Option<f64>>,
pub seq_len: Option<Option<i32>>,
}Expand description
ClassifierTrainingParametersIn : The fine-tuning hyperparameter settings used in a classifier fine-tune job.
Fields§
§training_steps: Option<Option<i32>>§learning_rate: Option<f64>A parameter describing how much to adjust the pre-trained model’s weights in response to the estimated error each time the weights are updated during the fine-tuning process.
weight_decay: Option<Option<f64>>§warmup_fraction: Option<Option<f64>>§epochs: Option<Option<f64>>§seq_len: Option<Option<i32>>Implementations§
Source§impl ClassifierTrainingParametersIn
impl ClassifierTrainingParametersIn
Sourcepub fn new() -> ClassifierTrainingParametersIn
pub fn new() -> ClassifierTrainingParametersIn
The fine-tuning hyperparameter settings used in a classifier fine-tune job.
Trait Implementations§
Source§impl Clone for ClassifierTrainingParametersIn
impl Clone for ClassifierTrainingParametersIn
Source§fn clone(&self) -> ClassifierTrainingParametersIn
fn clone(&self) -> ClassifierTrainingParametersIn
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ClassifierTrainingParametersIn
impl Default for ClassifierTrainingParametersIn
Source§fn default() -> ClassifierTrainingParametersIn
fn default() -> ClassifierTrainingParametersIn
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClassifierTrainingParametersIn
impl<'de> Deserialize<'de> for ClassifierTrainingParametersIn
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 ClassifierTrainingParametersIn
impl PartialEq for ClassifierTrainingParametersIn
Source§fn eq(&self, other: &ClassifierTrainingParametersIn) -> bool
fn eq(&self, other: &ClassifierTrainingParametersIn) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClassifierTrainingParametersIn
Auto Trait Implementations§
impl Freeze for ClassifierTrainingParametersIn
impl RefUnwindSafe for ClassifierTrainingParametersIn
impl Send for ClassifierTrainingParametersIn
impl Sync for ClassifierTrainingParametersIn
impl Unpin for ClassifierTrainingParametersIn
impl UnsafeUnpin for ClassifierTrainingParametersIn
impl UnwindSafe for ClassifierTrainingParametersIn
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