diff options
author | tjohnman <tjohnman@users.noreply.github.com> | 2023-03-19 20:33:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-19 21:33:06 +0200 |
commit | 24568371ae0d7caf85164abe4753f36a7dba0288 (patch) | |
tree | 2b424f5217789557618e75f716cf64e57ae7543b /utils.h | |
parent | 7392f1cd2cef4dfed41f4db7c4160ab86c0dfcd9 (diff) |
Support for multiple reverse prompts. (#299)
Co-authored-by: Johnman <>
Co-authored-by: Johnman <tjohnman@github>
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -30,15 +30,15 @@ struct gpt_params { std::string model = "models/lamma-7B/ggml-model.bin"; // model path std::string prompt = ""; - std::string antiprompt = ""; // string upon seeing which more user input is prompted bool random_prompt = false; bool use_color = false; // use color to distinguish generations and inputs bool interactive = false; // interactive mode + bool interactive_start = false; // reverse prompt immediately + std::vector<std::string> antiprompt; // string upon seeing which more user input is prompted bool instruct = false; // instruction mode (used for Alpaca models) - bool ignore_eos = false; // do not stop generating after eos }; |