Skip to content

Commit

Permalink
server : set default top-k to 1 in the web ui
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Dec 21, 2024
1 parent 5cd85b5 commit d02e63b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified examples/server/public/index.html.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/server/webui/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const CONFIG_DEFAULT = {
temperature: 0.8,
dynatemp_range: 0.0,
dynatemp_exponent: 1.0,
top_k: 40,
top_k: 1,
top_p: 0.95,
min_p: 0.05,
xtc_probability: 0.0,
Expand Down

0 comments on commit d02e63b

Please sign in to comment.