Skip to main content

llama_cpp_bindings/model/
add_bos.rs

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