pub struct NormalizeOptions {
pub styling: Styling,
pub structure: Structure,
pub context: Context,
pub k: usize,
pub ngram: usize,
}Expand description
Per-call settings. Default is what ships, so a caller that does not
care constructs it without naming an axis.
Fields§
§styling: StylingThe register to rewrite into.
structure: StructureWhether the model may return a bulleted list.
context: ContextDestination conventions. Email returns multi-line text.
k: usizeDraft length for speculative decoding. Decoder tuning rather than a
user-facing choice, and 0 turns speculation off. The optimum is a
property of the text: speculation drafts from the input, so it pays
most when the output barely changes.
ngram: usizeMatch width for finding a draft. 0 turns speculation off.
Trait Implementations§
Source§impl Clone for NormalizeOptions
impl Clone for NormalizeOptions
impl Copy for NormalizeOptions
Source§impl Debug for NormalizeOptions
impl Debug for NormalizeOptions
Source§impl Default for NormalizeOptions
impl Default for NormalizeOptions
impl Eq for NormalizeOptions
Source§impl PartialEq for NormalizeOptions
impl PartialEq for NormalizeOptions
impl StructuralPartialEq for NormalizeOptions
Auto Trait Implementations§
impl Freeze for NormalizeOptions
impl RefUnwindSafe for NormalizeOptions
impl Send for NormalizeOptions
impl Sync for NormalizeOptions
impl Unpin for NormalizeOptions
impl UnsafeUnpin for NormalizeOptions
impl UnwindSafe for NormalizeOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.