pub struct AudioSampling {
pub temperature: f32,
pub top_k: usize,
pub repetition_penalty: f32,
pub repetition_window: usize,
pub fixed_order: bool,
}Expand description
Audio sampling: Liquid’s recommended audio_temperature 1.0,
audio_top_k 128, repetition penalty 1.1 over the last 4096 frames.
Fields§
§temperature: f32§top_k: usize§repetition_penalty: f32§repetition_window: usize§fixed_order: boolReveal the codebooks in order 0..11 instead of a random order (the reference harness’s fixed order).
Implementations§
Source§impl AudioSampling
impl AudioSampling
Sourcepub fn from_model(model: &CmfModel) -> Self
pub fn from_model(model: &CmfModel) -> Self
The release’s own audio_* settings (its generation config, kept by
the converter in provenance.lfm3_audio.generation): LFM3-Omni
samples at 0.4 with a 1.2 penalty over 64 frames and no top-k.
Trait Implementations§
Source§impl Clone for AudioSampling
impl Clone for AudioSampling
Source§impl Debug for AudioSampling
impl Debug for AudioSampling
Auto Trait Implementations§
impl Freeze for AudioSampling
impl RefUnwindSafe for AudioSampling
impl Send for AudioSampling
impl Sync for AudioSampling
impl Unpin for AudioSampling
impl UnsafeUnpin for AudioSampling
impl UnwindSafe for AudioSampling
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