llama-cpp-d ~master (2026-03-20T18:06:26.5280947)
Dub
Repo
vocabType
llama
vocab
Vocabulary type as int (compare to
LLAMA_VOCAB_TYPE_*
constants).
@
trusted
@
nogc
nothrow
int
vocabType
(
const
(
llama_vocab
)*
vocab
)
Meta
Source
See Implementation
llama
vocab
functions
bosToken
detokenize
eosToken
eotToken
fimMidToken
fimPadToken
fimPreToken
fimRepToken
fimSepToken
fimSufToken
isControl
isEog
nlToken
padToken
sepToken
tokenAttr
tokenScore
tokenText
tokenToString
tokenize
vocabType
Vocabulary type as int (compare to LLAMA_VOCAB_TYPE_* constants).