llama-cpp-d ~master (2026-03-20T18:06:26.5280947)
Dub
Repo
isEog
llama
vocab
True if the token signals end of generation.
@
trusted
@
nogc
nothrow
bool
isEog
(
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
True if the token signals end of generation.