pub struct WhisperxDecodeConfig {Show 15 fields
pub temperature: Vec<f32>,
pub best_of: Option<usize>,
pub beam_size: Option<usize>,
pub patience: Option<f32>,
pub length_penalty: Option<f32>,
pub suppress_tokens: Option<String>,
pub suppress_numerals: bool,
pub initial_prompt: Option<String>,
pub hotwords: Option<String>,
pub condition_on_previous_text: Option<bool>,
pub fp16: Option<bool>,
pub compression_ratio_threshold: Option<f32>,
pub logprob_threshold: Option<f32>,
pub no_speech_threshold: Option<f32>,
pub threads: Option<usize>,
}Fields§
§temperature: Vec<f32>§best_of: Option<usize>§beam_size: Option<usize>§patience: Option<f32>§length_penalty: Option<f32>§suppress_tokens: Option<String>§suppress_numerals: bool§initial_prompt: Option<String>§hotwords: Option<String>§condition_on_previous_text: Option<bool>§fp16: Option<bool>§compression_ratio_threshold: Option<f32>§logprob_threshold: Option<f32>§no_speech_threshold: Option<f32>§threads: Option<usize>Trait Implementations§
Source§impl Clone for WhisperxDecodeConfig
impl Clone for WhisperxDecodeConfig
Source§fn clone(&self) -> WhisperxDecodeConfig
fn clone(&self) -> WhisperxDecodeConfig
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 moreSource§impl Debug for WhisperxDecodeConfig
impl Debug for WhisperxDecodeConfig
Source§impl Default for WhisperxDecodeConfig
impl Default for WhisperxDecodeConfig
Source§fn default() -> WhisperxDecodeConfig
fn default() -> WhisperxDecodeConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WhisperxDecodeConfig
impl<'de> Deserialize<'de> for WhisperxDecodeConfig
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 WhisperxDecodeConfig
impl PartialEq for WhisperxDecodeConfig
Source§impl Serialize for WhisperxDecodeConfig
impl Serialize for WhisperxDecodeConfig
impl StructuralPartialEq for WhisperxDecodeConfig
Auto Trait Implementations§
impl Freeze for WhisperxDecodeConfig
impl RefUnwindSafe for WhisperxDecodeConfig
impl Send for WhisperxDecodeConfig
impl Sync for WhisperxDecodeConfig
impl Unpin for WhisperxDecodeConfig
impl UnsafeUnpin for WhisperxDecodeConfig
impl UnwindSafe for WhisperxDecodeConfig
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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