Skip to main content

Module model

Module model 

Source
Expand description

A safe wrapper around llama_model.

Re-exports§

pub use add_bos::AddBos;
pub use chat_template_result::ChatTemplateResult;
pub use grammar_trigger::GrammarTrigger;
pub use grammar_trigger::GrammarTriggerType;
pub use llama_chat_message::LlamaChatMessage;
pub use llama_chat_template::LlamaChatTemplate;
pub use llama_lora_adapter::LlamaLoraAdapter;
pub use rope_type::RopeType;
pub use vocab_type::LlamaTokenTypeFromIntError;
pub use vocab_type::VocabType;

Modules§

add_bos
chat_template_result
grammar_trigger
llama_chat_message
llama_chat_template
llama_lora_adapter
params
A safe wrapper around llama_model_params.
rope_type
split_mode
vocab_type

Structs§

LlamaModel
A safe wrapper around llama_model.