summaryrefslogtreecommitdiff
path: root/common/common.cpp
diff options
context:
space:
mode:
authorMiwa / Ensan <63481257+ensan-hcl@users.noreply.github.com>2024-03-01 22:48:56 +0900
committerGitHub <noreply@github.com>2024-03-01 15:48:56 +0200
commitf49a5356865ced0eca1df9f9d84631dfef71b9dc (patch)
tree940c476d414de0d36818f6402c3afd42e36d9257 /common/common.cpp
parent3ab8b3a92ede46df88bc5a2dfca3777de4a2b2b6 (diff)
common : fix flag `--logits-all` to `--all-logits` (#5805)
Diffstat (limited to 'common/common.cpp')
-rw-r--r--common/common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/common.cpp b/common/common.cpp
index bf1ed8a6..938c428c 100644
--- a/common/common.cpp
+++ b/common/common.cpp
@@ -1015,7 +1015,7 @@ void gpt_print_usage(int /*argc*/, char ** argv, const gpt_params & params) {
printf(" --ignore-eos ignore end of stream token and continue generating (implies --logit-bias 2-inf)\n");
printf(" --no-penalize-nl do not penalize newline token\n");
printf(" --temp N temperature (default: %.1f)\n", (double)sparams.temp);
- printf(" --logits-all return logits for all tokens in the batch (default: disabled)\n");
+ printf(" --all-logits return logits for all tokens in the batch (default: disabled)\n");
printf(" --hellaswag compute HellaSwag score over random tasks from datafile supplied with -f\n");
printf(" --hellaswag-tasks N number of tasks to use when computing the HellaSwag score (default: %zu)\n", params.hellaswag_tasks);
printf(" --winogrande compute Winogrande score over random tasks from datafile supplied with -f\n");