Expand description
A safe wrapper around llama_model.
Re-exports§
pub use crate::vocab::LlamaTokenTypeFromIntError;pub use crate::vocab::VocabType;
Modules§
- params
- A safe wrapper around
llama_model_params.
Structs§
- Llama
Chat Message - A Safe wrapper around
llama_chat_message - Llama
Chat Template - A performance-friendly wrapper around
LlamaModel::chat_templatewhich is then fed intoLlamaModel::apply_chat_templateto convert a list of messages into an LLM prompt. Internally the template is stored as aCStringto avoid round-trip conversions within the FFI. - Llama
Lora Adapter - A safe wrapper around
llama_lora_adapter. - Llama
Model - A safe wrapper around
llama_model.
Enums§
- Rope
Type - The RoPE type that’s used within the model.