pub struct ModelSamplingDefaults {
pub temperature: Option<f32>,
pub top_p: Option<f32>,
pub top_k: Option<u32>,
pub min_p: Option<f32>,
pub do_sample: Option<bool>,
pub repetition_penalty: Option<f32>,
}Fields§
§temperature: Option<f32>§top_p: Option<f32>§top_k: Option<u32>§min_p: Option<f32>§do_sample: Option<bool>§repetition_penalty: Option<f32>Implementations§
Trait Implementations§
Source§impl Clone for ModelSamplingDefaults
impl Clone for ModelSamplingDefaults
Source§impl Debug for ModelSamplingDefaults
impl Debug for ModelSamplingDefaults
Source§impl Default for ModelSamplingDefaults
impl Default for ModelSamplingDefaults
Source§impl PartialEq for ModelSamplingDefaults
impl PartialEq for ModelSamplingDefaults
impl StructuralPartialEq for ModelSamplingDefaults
Auto Trait Implementations§
impl Freeze for ModelSamplingDefaults
impl RefUnwindSafe for ModelSamplingDefaults
impl Send for ModelSamplingDefaults
impl Sync for ModelSamplingDefaults
impl Unpin for ModelSamplingDefaults
impl UnsafeUnpin for ModelSamplingDefaults
impl UnwindSafe for ModelSamplingDefaults
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more