mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 01:24:36 +00:00
Fix additional settings related to inv dynatemp (#1391)
* update additional dynatemp settings * Label fix * remove min restrict * 1 more * update to match lite
This commit is contained in:
parent
b0b067cd96
commit
02971ca323
4 changed files with 11 additions and 15 deletions
|
@ -1640,7 +1640,7 @@ const std::vector<samplers> & sampler_order, llama_grammar * grammar, float dyna
|
|||
else if (nsigma > 0.0f)
|
||||
{
|
||||
sample_top_k(&candidates_p, top_k);
|
||||
if (dynatemp_range > 0) {
|
||||
if (dynatemp_range != 0) {
|
||||
float dynatemp_min = temp - dynatemp_range;
|
||||
float dynatemp_max = temp + dynatemp_range;
|
||||
//do not allow negative values
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue