Dynatemp Range
Kobold Dynatemp range set when deactivated, now will work properly
This commit is contained in:
parent
5ad980cf99
commit
ec63cd8b6d
|
@ -727,7 +727,7 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate,
|
||||||
'dynamic_temperature': settings.dynatemp,
|
'dynamic_temperature': settings.dynatemp,
|
||||||
'dynatemp_low': settings.min_temp,
|
'dynatemp_low': settings.min_temp,
|
||||||
'dynatemp_high': settings.max_temp,
|
'dynatemp_high': settings.max_temp,
|
||||||
'dynatemp_range': (settings.max_temp - settings.min_temp) / 2,
|
'dynatemp_range': settings.dynatemp ? (settings.max_temp - settings.min_temp) / 2 : 0,
|
||||||
'stopping_strings': getStoppingStrings(isImpersonate, isContinue),
|
'stopping_strings': getStoppingStrings(isImpersonate, isContinue),
|
||||||
'stop': getStoppingStrings(isImpersonate, isContinue),
|
'stop': getStoppingStrings(isImpersonate, isContinue),
|
||||||
'truncation_length': max_context,
|
'truncation_length': max_context,
|
||||||
|
|
Loading…
Reference in New Issue