pub struct CompletionTrainingParametersIn {
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>>,
pub fim_ratio: Option<Option<f64>>,
}Expand description
CompletionTrainingParametersIn : The fine-tuning hyperparameter settings used in a 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>>§fim_ratio: Option<Option<f64>>Implementations§
Source§impl CompletionTrainingParametersIn
impl CompletionTrainingParametersIn
Sourcepub fn new() -> CompletionTrainingParametersIn
pub fn new() -> CompletionTrainingParametersIn
The fine-tuning hyperparameter settings used in a fine-tune job.
Trait Implementations§
Source§impl Clone for CompletionTrainingParametersIn
impl Clone for CompletionTrainingParametersIn
Source§fn clone(&self) -> CompletionTrainingParametersIn
fn clone(&self) -> CompletionTrainingParametersIn
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 CompletionTrainingParametersIn
impl Default for CompletionTrainingParametersIn
Source§fn default() -> CompletionTrainingParametersIn
fn default() -> CompletionTrainingParametersIn
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompletionTrainingParametersIn
impl<'de> Deserialize<'de> for CompletionTrainingParametersIn
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 CompletionTrainingParametersIn
impl PartialEq for CompletionTrainingParametersIn
Source§fn eq(&self, other: &CompletionTrainingParametersIn) -> bool
fn eq(&self, other: &CompletionTrainingParametersIn) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompletionTrainingParametersIn
Auto Trait Implementations§
impl Freeze for CompletionTrainingParametersIn
impl RefUnwindSafe for CompletionTrainingParametersIn
impl Send for CompletionTrainingParametersIn
impl Sync for CompletionTrainingParametersIn
impl Unpin for CompletionTrainingParametersIn
impl UnsafeUnpin for CompletionTrainingParametersIn
impl UnwindSafe for CompletionTrainingParametersIn
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