Skip to content

Commit 69fa183

Browse files
authored
bugfix(chat): fix repeat_penalty for codegemma chat model (#48)
1 parent 3e2a346 commit 69fa183

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/chat/localChat.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const defualtParameters = {
1717
temperature: 0.7,
1818
stop: [],
1919
repeat_last_n: 256,
20-
repeat_penalty: 1.18,
20+
repeat_penalty: 1,
2121
penalize_nl: false,
2222
top_k: 20,
2323
top_p: 0.5,

0 commit comments

Comments
 (0)