llama-cpp-bindings 0.6.0

llama.cpp bindings for Rust
Documentation
1
2
3
4
5
6
7
8
/// How to determine if we should prepend a bos token to tokens
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum AddBos {
    /// Add the beginning of stream token to the start of the string.
    Always,
    /// Do not add the beginning of stream token to the start of the string.
    Never,
}