llm-samplers 0.0.3

Token samplers for large language models
Documentation
pub mod flat_bias;
pub mod freq_presence;
pub mod greedy;
#[cfg(feature = "rand")]
pub mod mirostat;
#[cfg(feature = "rand")]
pub mod rand_distrib;
pub mod repetition;
pub mod tail_free;
pub mod temperature;
pub mod top_k;
pub mod top_p;
pub mod typical;

#[doc(inline)]
pub use self::{
    flat_bias::*, freq_presence::*, greedy::*, repetition::*, tail_free::*, temperature::*,
    top_k::*, top_p::*, typical::*,
};
#[cfg(feature = "rand")]
#[doc(inline)]
pub use self::{mirostat::*, rand_distrib::*};