Skip to content

Commit

Permalink
暂时增加频率惩罚
Browse files Browse the repository at this point in the history
  • Loading branch information
fkiliver committed Feb 3, 2024
1 parent 2054e4d commit 4a9a4e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SakuraTranslator/SakuraTranslatorEndpoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private string MakeRequestJson(string line)
$"\"temperature\": 0.1," +
$"\"top_p\": 0.3," +
$"\"max_tokens\": 1000," +
$"\"frequency_penalty\": 0," +
$"\"frequency_penalty\": 0.2," +
$"\"do_sample\": false," +
$"\"top_k\": 40," +
$"\"um_beams\": 1," +
Expand Down

0 comments on commit 4a9a4e4

Please sign in to comment.