From 9155734df2b9e461f03888d85a3a6dcb9e5993c7 Mon Sep 17 00:00:00 2001 From: kwaroran Date: Sun, 3 Dec 2023 21:38:21 +0900 Subject: [PATCH] [fix] top_p --- src/ts/process/request.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/process/request.ts b/src/ts/process/request.ts index 23e4e491..7d7365fc 100644 --- a/src/ts/process/request.ts +++ b/src/ts/process/request.ts @@ -299,7 +299,7 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model' frequency_penalty: arg.frequencyPenalty || (db.frequencyPenalty / 100), logit_bias: bias, stream: false, - topP: db.top_p, + top_p: db.top_p, })