Skip to content

Commit 6feb6b3

Browse files
authored
Update dump info in common
1 parent c19fb26 commit 6feb6b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

common/common.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2088,9 +2088,9 @@ void yaml_dump_non_result_info(FILE * stream, const gpt_params & params, const l
20882088
fprintf(stream, "top_k: %d # default: 40\n", sparams.top_k);
20892089
fprintf(stream, "top_p: %f # default: 0.95\n", sparams.top_p);
20902090
fprintf(stream, "min_p: %f # default: 0.0\n", sparams.min_p);
2091-
fprintf(stream, "xtc_p: %f # default: 0.0\n", sparams.xtc_p);
2092-
fprintf(stream, "xtc_t: %f # default: 0.0\n", sparams.xtc_t);
2093-
fprintf(stream, "xtc_t_max: %f # default: 0.0\n", sparams.xtc_t_max);
2091+
fprintf(stream, "xtc_p: %f # default: 0.5\n", sparams.xtc_p);
2092+
fprintf(stream, "xtc_t: %f # default: 0.1\n", sparams.xtc_t);
2093+
fprintf(stream, "xtc_t_max: %f # default: 1.0\n", sparams.xtc_t_max);
20942094
fprintf(stream, "typ_p: %f # default: 1.0\n", sparams.typ_p);
20952095
fprintf(stream, "verbose_prompt: %s # default: false\n", params.verbose_prompt ? "true" : "false");
20962096
fprintf(stream, "display_prompt: %s # default: true\n", params.display_prompt ? "true" : "false");

0 commit comments

Comments
 (0)