mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-14 00:14:04 +09:00
typo
This commit is contained in:
@@ -505,7 +505,7 @@ const chatSettingsList: ChatSetting[] = [
|
||||
},
|
||||
{
|
||||
key: 'repetitionPenalty',
|
||||
name: 'Repitition Penalty',
|
||||
name: 'Repetition Penalty',
|
||||
title: 'Number between 1.0 and infinity. Penalize new tokens based on whether they appear in the text so far, increasing the model\'s likelihood to talk about new topics.',
|
||||
min: 0,
|
||||
max: 1000,
|
||||
|
||||
@@ -150,7 +150,7 @@ export const chatRequest = async (
|
||||
do_sample: 1, // enable top p and the like
|
||||
temperature,
|
||||
top_p: topP,
|
||||
repitition_penalty: chatSettings.repetitionPenalty
|
||||
repetition_penalty: chatSettings.repetitionPenalty
|
||||
} as any
|
||||
if (stopSequencesC.length) petalsRequest.extra_stop_sequences = stopSequencesC
|
||||
// Update token count
|
||||
|
||||
Reference in New Issue
Block a user