fix: readerlm repetition_penalty

This commit is contained in:
yanlong.wang 2025-01-16 19:20:44 +08:00
parent 3e58afc2ba
commit 4e5729372e
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37
2 changed files with 3 additions and 3 deletions

View File

@ -85,7 +85,7 @@ export class LmControl extends AsyncService {
modelSpecific: { modelSpecific: {
top_k: 1, top_k: 1,
temperature: 0, temperature: 0,
repetition_penalty: 1.05, repetition_penalty: 1.2,
presence_penalty: 0.25, presence_penalty: 0.25,
max_tokens: 8192, max_tokens: 8192,
} }
@ -123,7 +123,7 @@ export class LmControl extends AsyncService {
modelSpecific: { modelSpecific: {
top_k: 1, top_k: 1,
temperature: 0, temperature: 0,
repetition_penalty: 1.05, repetition_penalty: 1.2,
presence_penalty: 0.25, presence_penalty: 0.25,
max_tokens: 8192, max_tokens: 8192,
} }

@ -1 +1 @@
Subproject commit ee28974871e4d68c53ff82aca6cfdef8ed19a26f Subproject commit 1463a18b1c039e5c0d1073998a8d6953f811406d