Fixed Aphrodite Seed

Aphrodite's seed value needs to be undefined to be random.
This commit is contained in:
Alexander Abushady 2024-09-16 08:21:56 -04:00
parent 3e2b892aae
commit eb6097b1e8

View File

@ -1201,7 +1201,7 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate,
'frequency_penalty': settings.freq_pen, 'frequency_penalty': settings.freq_pen,
'presence_penalty': settings.presence_pen, 'presence_penalty': settings.presence_pen,
'repetition_penalty': settings.rep_pen, 'repetition_penalty': settings.rep_pen,
'seed': settings.seed, 'seed': settings.seed >= 0 ? settings.seed : undefined,
'stop': getStoppingStrings(isImpersonate, isContinue), 'stop': getStoppingStrings(isImpersonate, isContinue),
'temperature': settings.temp, 'temperature': settings.temp,
'temperature_last': settings.temperature_last, 'temperature_last': settings.temperature_last,