|
Mila
Deep Neural Network Library
|
Per-call sampling knobs consumed by the TokenSampler. More...
Public Attributes | |
| float | temperature = 1.0f |
| int | top_k = 0 |
| float | top_p = 1.0f |
Per-call sampling knobs consumed by the TokenSampler.
Deliberately free of loop control (max_new_tokens) and lifetime state (seed): loop bounds belong to GenerateParams, and reproducibility is a stream property seeded once via LanguageModel::seedSampler, not a per-call value.