From 24568371ae0d7caf85164abe4753f36a7dba0288 Mon Sep 17 00:00:00 2001 From: tjohnman Date: Sun, 19 Mar 2023 20:33:06 +0100 Subject: Support for multiple reverse prompts. (#299) Co-authored-by: Johnman <> Co-authored-by: Johnman --- utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils.h') diff --git a/utils.h b/utils.h index 60ef12bb..49658f7d 100644 --- a/utils.h +++ b/utils.h @@ -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 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 }; -- cgit v1.2.3