summaryrefslogtreecommitdiff
path: root/examples/common.cpp
diff options
context:
space:
mode:
authorRobert Brisita <986796+rbrisita@users.noreply.github.com>2023-05-02 12:23:44 -0400
committerGitHub <noreply@github.com>2023-05-02 19:23:44 +0300
commit2bb992f034689e2ddd7b9ac05163b0359a5957b3 (patch)
tree7ee292ca430cc0fcb40730dadcee333608115f9a /examples/common.cpp
parente2cd5069999181a9e4a22cf420e0491878b3062f (diff)
llama : allow 0 as a seed number. (#1275)
Diffstat (limited to 'examples/common.cpp')
-rw-r--r--examples/common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/common.cpp b/examples/common.cpp
index ad7b0bba..2bf0dc59 100644
--- a/examples/common.cpp
+++ b/examples/common.cpp
@@ -324,7 +324,7 @@ void gpt_print_usage(int /*argc*/, char ** argv, const gpt_params & params) {
fprintf(stderr, " run in interactive mode and poll user input upon seeing PROMPT (can be\n");
fprintf(stderr, " specified more than once for multiple prompts).\n");
fprintf(stderr, " --color colorise output to distinguish prompt and user input from generations\n");
- fprintf(stderr, " -s SEED, --seed SEED RNG seed (default: -1, use random seed for <= 0)\n");
+ fprintf(stderr, " -s SEED, --seed SEED RNG seed (default: -1, use random seed for < 0)\n");
fprintf(stderr, " -t N, --threads N number of threads to use during computation (default: %d)\n", params.n_threads);
fprintf(stderr, " -p PROMPT, --prompt PROMPT\n");
fprintf(stderr, " prompt to start generation with (default: empty)\n");