From 11d2405486622bbad359d733e0e9394c4a330660 Mon Sep 17 00:00:00 2001 From: Xiao-Yong Jin Date: Mon, 24 Jul 2023 21:48:44 -0500 Subject: [PATCH] examples/common: move input_prefix_bos to other bools --- examples/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/common.h b/examples/common.h index f6718d274..14964a116 100644 --- a/examples/common.h +++ b/examples/common.h @@ -64,7 +64,6 @@ struct gpt_params { std::string input_prefix = ""; // string to prefix user inputs with std::string input_suffix = ""; // string to suffix user inputs with std::vector antiprompt; // string upon seeing which more user input is prompted - bool input_prefix_bos = false; // if true, prefix BOS to user inputs, before input_prefix std::string lora_adapter = ""; // lora adapter path std::string lora_base = ""; // base model path for the lora adapter @@ -81,6 +80,7 @@ struct gpt_params { bool interactive_first = false; // wait for user input immediately bool multiline_input = false; // reverse the usage of `\` + bool input_prefix_bos = false; // prefix BOS to user inputs, preceding input_prefix bool instruct = false; // instruction mode (used for Alpaca models) bool penalize_nl = true; // consider newlines as a repeatable token bool perplexity = false; // compute perplexity over the prompt