Dynatemp Range

Kobold Dynatemp range set when deactivated, now will work properly
This commit is contained in:
Alexander Abushady 2024-01-09 00:54:20 -05:00
parent 5ad980cf99
commit ec63cd8b6d
1 changed files with 1 additions and 1 deletions

View File

@ -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,