Add --ignore-eos parameter (#181)
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
parent
084e2f0ec0
commit
50fae10d03
3 changed files with 14 additions and 1 deletions
2
utils.h
2
utils.h
|
@ -36,6 +36,8 @@ struct gpt_params {
|
|||
|
||||
bool interactive = false; // interactive mode
|
||||
bool instruct = false; // instruction mode (used for Alpaca models)
|
||||
|
||||
bool ignore_eos = false; // do not stop generating after eos
|
||||
};
|
||||
|
||||
bool gpt_params_parse(int argc, char ** argv, gpt_params & params);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue