pub struct CheckpointParityOptions {
pub logits: LogitTolerance,
}Expand description
Configuration for text-checkpoint logit parity.
Fields§
§logits: LogitToleranceAccepted vocabulary-logit differences.
Trait Implementations§
Source§impl Clone for CheckpointParityOptions
impl Clone for CheckpointParityOptions
Source§fn clone(&self) -> CheckpointParityOptions
fn clone(&self) -> CheckpointParityOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CheckpointParityOptions
Source§impl Debug for CheckpointParityOptions
impl Debug for CheckpointParityOptions
Source§impl Default for CheckpointParityOptions
impl Default for CheckpointParityOptions
Source§impl<'de> Deserialize<'de> for CheckpointParityOptions
impl<'de> Deserialize<'de> for CheckpointParityOptions
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 CheckpointParityOptions
impl PartialEq for CheckpointParityOptions
Source§impl Serialize for CheckpointParityOptions
impl Serialize for CheckpointParityOptions
impl StructuralPartialEq for CheckpointParityOptions
Auto Trait Implementations§
impl Freeze for CheckpointParityOptions
impl RefUnwindSafe for CheckpointParityOptions
impl Send for CheckpointParityOptions
impl Sync for CheckpointParityOptions
impl Unpin for CheckpointParityOptions
impl UnsafeUnpin for CheckpointParityOptions
impl UnwindSafe for CheckpointParityOptions
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