bring back --n-predict
This commit is contained in:
parent
b1657cb934
commit
509ec08e57
1 changed files with 1 additions and 1 deletions
|
@ -944,7 +944,7 @@ std::vector<llama_arg> gpt_params_parser_init(gpt_params & params, llama_example
|
||||||
}
|
}
|
||||||
).set_env("LLAMA_ARG_CTX_SIZE"));
|
).set_env("LLAMA_ARG_CTX_SIZE"));
|
||||||
add_opt(llama_arg(
|
add_opt(llama_arg(
|
||||||
{"-n", "--predict"}, "N",
|
{"-n", "--predict", "--n-predict"}, "N",
|
||||||
format("number of tokens to predict (default: %d, -1 = infinity, -2 = until context filled)", params.n_predict),
|
format("number of tokens to predict (default: %d, -1 = infinity, -2 = until context filled)", params.n_predict),
|
||||||
[¶ms](int value) {
|
[¶ms](int value) {
|
||||||
params.n_predict = value;
|
params.n_predict = value;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue