Enter the Kalo Zone

This commit is contained in:
Alexander Abushady
2024-01-28 15:14:21 -05:00
parent f732b8ae4c
commit 92aae0da04
3 changed files with 35 additions and 2 deletions

View File

@@ -79,6 +79,9 @@ const settings = {
dynatemp: false,
min_temp: 0,
max_temp: 2.0,
dynatemp_exponent: 1.0,
randomization_factor: 0.0,
smoothing_factor: 0.0,
seed: -1,
preset: 'Default',
add_bos_token: true,
@@ -140,6 +143,9 @@ const setting_names = [
'dynatemp',
'min_temp',
'max_temp',
'dynatemp_exponent',
'randomization_factor',
'smoothing_factor',
'encoder_rep_pen',
'freq_pen',
'presence_pen',
@@ -818,6 +824,9 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate,
'dynatemp_low': settings.min_temp,
'dynatemp_high': settings.max_temp,
'dynatemp_range': settings.dynatemp ? (settings.max_temp - settings.min_temp) / 2 : 0,
'dynatemp_exponent': settings.dynatemp_exponent,
'randomization_factor': settings.randomization_factor,
'smoothing_factor': settings.smoothing_factor,
'stopping_strings': getStoppingStrings(isImpersonate, isContinue),
'stop': getStoppingStrings(isImpersonate, isContinue),
'truncation_length': max_context,