]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
common : fix flag `--logits-all` to `--all-logits` (#5805)
authorMiwa / Ensan <redacted>
Fri, 1 Mar 2024 13:48:56 +0000 (22:48 +0900)
committerGitHub <redacted>
Fri, 1 Mar 2024 13:48:56 +0000 (15:48 +0200)
common/common.cpp

index bf1ed8a66fea6b7ece03241f05d36d2bdb7dc30d..938c428cf0fa2149728228fc2cd890a68ef6292b 100644 (file)
@@ -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");