Update common/arg.cpp
no-context-shift only works for main example Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
parent
cf77a846c6
commit
63f0fa572d
1 changed files with 1 additions and 1 deletions
|
@ -703,7 +703,7 @@ gpt_params_context gpt_params_parser_init(gpt_params & params, llama_example ex,
|
||||||
[](gpt_params & params) {
|
[](gpt_params & params) {
|
||||||
params.ctx_shift = false;
|
params.ctx_shift = false;
|
||||||
}
|
}
|
||||||
));
|
).set_examples({LLAMA_EXAMPLE_MAIN}));
|
||||||
add_opt(llama_arg(
|
add_opt(llama_arg(
|
||||||
{"--chunks"}, "N",
|
{"--chunks"}, "N",
|
||||||
format("max number of chunks to process (default: %d, -1 = all)", params.n_chunks),
|
format("max number of chunks to process (default: %d, -1 = all)", params.n_chunks),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue