main : add --in-suffix option (#1318)

* adding --in-suffix option

* print input suffix before generation
This commit is contained in:
44670 2023-05-04 23:41:12 +08:00 committed by GitHub
parent 20fbf2a2a0
commit 2edbdb0f99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 0 deletions

View file

@ -43,6 +43,7 @@ struct gpt_params {
std::string prompt = "";
std::string path_session = ""; // path to file for saving/loading model eval state
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
std::string lora_adapter = ""; // lora adapter path