From: Miwa / Ensan Date: Fri, 1 Mar 2024 13:48:56 +0000 (+0900) Subject: common : fix flag `--logits-all` to `--all-logits` (#5805) X-Git-Tag: upstream/0.0.4488~2183 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=f49a5356865ced0eca1df9f9d84631dfef71b9dc;p=pkg%2Fggml%2Fsources%2Fllama.cpp common : fix flag `--logits-all` to `--all-logits` (#5805) --- 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");