pub enum TuningMethod {
SupervisedFineTuning,
PreferenceTuning,
Distillation,
}Expand description
Tuning method.
Variants§
Trait Implementations§
Source§impl Clone for TuningMethod
impl Clone for TuningMethod
Source§fn clone(&self) -> TuningMethod
fn clone(&self) -> TuningMethod
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 Debug for TuningMethod
impl Debug for TuningMethod
Source§impl<'de> Deserialize<'de> for TuningMethod
impl<'de> Deserialize<'de> for TuningMethod
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 TuningMethod
impl PartialEq for TuningMethod
Source§impl Serialize for TuningMethod
impl Serialize for TuningMethod
impl Copy for TuningMethod
impl Eq for TuningMethod
impl StructuralPartialEq for TuningMethod
Auto Trait Implementations§
impl Freeze for TuningMethod
impl RefUnwindSafe for TuningMethod
impl Send for TuningMethod
impl Sync for TuningMethod
impl Unpin for TuningMethod
impl UnsafeUnpin for TuningMethod
impl UnwindSafe for TuningMethod
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