pub struct Options {
pub guidance: Option<f32>,
pub temperature: f32,
pub top_k: usize,
pub dry: Option<Dry>,
pub eop_bias: f32,
pub speak_first: bool,
pub seed: u64,
}Expand description
How a conversation is sampled (the DuplexConfig defaults).
Fields§
§guidance: Option<f32>§temperature: f32§top_k: usize§dry: Option<Dry>§eop_bias: f32§speak_first: bool§seed: u64Trait Implementations§
Auto Trait Implementations§
impl Forget for Options
impl Freeze for Options
impl Move for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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