pub enum FineTuneDpoHyperparametersBeta {
Auto,
Number(f64),
}
Expand description
The beta value for the DPO method. A higher beta value will increase the weight of the penalty between the policy and reference model.
Variants§
Trait Implementations§
Source§impl Clone for FineTuneDpoHyperparametersBeta
impl Clone for FineTuneDpoHyperparametersBeta
Source§fn clone(&self) -> FineTuneDpoHyperparametersBeta
fn clone(&self) -> FineTuneDpoHyperparametersBeta
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 FineTuneDpoHyperparametersBeta
impl<'de> Deserialize<'de> for FineTuneDpoHyperparametersBeta
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 FineTuneDpoHyperparametersBeta
impl PartialEq for FineTuneDpoHyperparametersBeta
Source§fn eq(&self, other: &FineTuneDpoHyperparametersBeta) -> bool
fn eq(&self, other: &FineTuneDpoHyperparametersBeta) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for FineTuneDpoHyperparametersBeta
impl StructuralPartialEq for FineTuneDpoHyperparametersBeta
Auto Trait Implementations§
impl Freeze for FineTuneDpoHyperparametersBeta
impl RefUnwindSafe for FineTuneDpoHyperparametersBeta
impl Send for FineTuneDpoHyperparametersBeta
impl Sync for FineTuneDpoHyperparametersBeta
impl Unpin for FineTuneDpoHyperparametersBeta
impl UnwindSafe for FineTuneDpoHyperparametersBeta
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