aboutsummaryrefslogtreecommitdiff
path: root/llama.h
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 /llama.h
parente2cd5069999181a9e4a22cf420e0491878b3062f (diff)
llama : allow 0 as a seed number. (#1275)
Diffstat (limited to 'llama.h')
-rw-r--r--llama.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llama.h b/llama.h
index 2f6ce8d..4052a8c 100644
--- a/llama.h
+++ b/llama.h
@@ -56,7 +56,7 @@ extern "C" {
struct llama_context_params {
int n_ctx; // text context
int n_parts; // -1 for default
- int seed; // RNG seed, 0 for random
+ int seed; // RNG seed, -1 for random
bool f16_kv; // use fp16 for KV cache
bool logits_all; // the llama_eval() call computes all logits, not just the last one