llama-cpp-d ~master (2026-03-20T18:06:26.5280947)
Dub
Repo
SamplerChain.mirostatV2
llama
sampling
SamplerChain
Adds Mirostat v2 sampling (adaptive entropy targeting).
struct
SamplerChain
ref @
nogc
nothrow return
SamplerChain
mirostatV2
(
float
tau
= 5.0f
,
float
eta
= 0.1f
,
uint
seed
=
LLAMA_DEFAULT_SEED
)
Meta
Source
See Implementation
llama
sampling
SamplerChain
functions
accept
dist
dry
grammar
greedy
logitBias
minP
mirostatV2
penalties
printPerf
sample
temp
tempExt
topK
topNSigma
topP
typical
xtc
mixins
__anonymous
static functions
create
Adds Mirostat v2 sampling (adaptive entropy targeting).