Llama::Sampler::MirostatV2
Inherits Llama::Sampler::Base / Reference / Object
Mirostat sampler (version 2)
The Mirostat V2 sampler is an improved version of the Mirostat algorithm that requires fewer parameters and is more efficient. It dynamically adjusts sampling to maintain a target entropy level.
Based on the paper: https://arxiv.org/abs/2007.14966
Example:
sampler = Llama::Sampler::MirostatV2.new(42, 5.0, 0.1)