examples/common: move input_prefix_bos to other bools
This commit is contained in:
parent
47031e4094
commit
11d2405486
1 changed files with 1 additions and 1 deletions
|
@ -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<std::string> 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue