llm-samplers 0.0.2

Token samplers for large language models
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod flat_bias;
pub mod freqpresence;
pub mod greedy;
pub mod mirostat;
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;

pub use self::{
    flat_bias::*, freqpresence::*, greedy::*, rand_distrib::*, repetition::*, tail_free::*,
    temperature::*, top_k::*, top_p::*, typical::*, mirostat::*
};