pub enum FineTuneDpoMethodHyperparametersBatchSize {
Auto,
Integer(u64),
}
Expand description
Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance.
Variants§
Trait Implementations§
Source§impl Clone for FineTuneDpoMethodHyperparametersBatchSize
impl Clone for FineTuneDpoMethodHyperparametersBatchSize
Source§fn clone(&self) -> FineTuneDpoMethodHyperparametersBatchSize
fn clone(&self) -> FineTuneDpoMethodHyperparametersBatchSize
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<'de> Deserialize<'de> for FineTuneDpoMethodHyperparametersBatchSize
impl<'de> Deserialize<'de> for FineTuneDpoMethodHyperparametersBatchSize
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 FineTuneDpoMethodHyperparametersBatchSize
impl PartialEq for FineTuneDpoMethodHyperparametersBatchSize
Source§fn eq(&self, other: &FineTuneDpoMethodHyperparametersBatchSize) -> bool
fn eq(&self, other: &FineTuneDpoMethodHyperparametersBatchSize) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for FineTuneDpoMethodHyperparametersBatchSize
impl StructuralPartialEq for FineTuneDpoMethodHyperparametersBatchSize
Auto Trait Implementations§
impl Freeze for FineTuneDpoMethodHyperparametersBatchSize
impl RefUnwindSafe for FineTuneDpoMethodHyperparametersBatchSize
impl Send for FineTuneDpoMethodHyperparametersBatchSize
impl Sync for FineTuneDpoMethodHyperparametersBatchSize
impl Unpin for FineTuneDpoMethodHyperparametersBatchSize
impl UnwindSafe for FineTuneDpoMethodHyperparametersBatchSize
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