ML::LLM::Model
LLM Model - loads and manages a GGUF model file
Constructors
Instance methods
bos_token
Sourcecreate_context(n_ctx : Int32 = 0, n_batch : Int32 = 512, n_ubatch : Int32 = 0, n_threads : Int32 = 0, flash_attn : Bool = true, embeddings : Bool = false) : Context
Create inference context from this model
description
Sourceeos_token
Sourceeot_token
Sourcefinalize
Sourcefree
Sourcen_ctx_train
Sourcen_embd
Sourcen_heads
Sourcen_layers
Sourcen_params
Sourcepath
Sourcesize_bytes
Source