Textgen: Fix dynatemp defaults
The default min and max temp values should be 1 Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
parent
c557ade9b4
commit
f372b2ac16
|
@ -819,8 +819,8 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate,
|
|||
'early_stopping': settings.early_stopping,
|
||||
'add_bos_token': settings.add_bos_token,
|
||||
'dynamic_temperature': settings.dynatemp,
|
||||
'dynatemp_low': settings.dynatemp ? settings.min_temp : 0,
|
||||
'dynatemp_high': settings.dynatemp ? settings.max_temp : 0,
|
||||
'dynatemp_low': settings.dynatemp ? settings.min_temp : 1,
|
||||
'dynatemp_high': settings.dynatemp ? settings.max_temp : 1,
|
||||
'dynatemp_range': settings.dynatemp ? (settings.max_temp - settings.min_temp) / 2 : 0,
|
||||
'dynatemp_exponent': settings.dynatemp ? settings.dynatemp_exponent : 1,
|
||||
'smoothing_factor': settings.smoothing_factor,
|
||||
|
|
Loading…
Reference in New Issue