llama-cpp-d ~master (2026-03-20T18:06:26.5280947)
Dub
Repo
tokenScore
llama
vocab
Log-probability score stored for a token in the vocab.
@
trusted
@
nogc
nothrow
float
tokenScore
(
const
(
llama_vocab
)*
vocab
,
llama_token
token
)
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
Log-probability score stored for a token in the vocab.