- decoderStartToken
llama_token decoderStartToken [@property getter]
Start token for the decoder; falls back to BOS for encoder-decoder models.
- desc
string desc [@property getter]
Short description string (architecture + size).
- hasDecoder
bool hasDecoder [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- hasEncoder
bool hasEncoder [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- isRecurrent
bool isRecurrent [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- metaCount
int metaCount [@property getter]
Number of key/value metadata pairs.
- nCtxTrain
int nCtxTrain [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- nEmbd
int nEmbd [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- nHead
int nHead [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- nLayer
int nLayer [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- nParams
ulong nParams [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- nVocab
int nVocab [@property getter]
Number of tokens in the vocabulary.
- size
ulong size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- vocab
const(llama_vocab)* vocab [@property getter]
A loaded llama model that frees itself on destruction.