aboutsummaryrefslogtreecommitdiff
path: root/examples/common.h
diff options
context:
space:
mode:
author44670 <44670@users.noreply.github.com>2023-05-04 23:41:12 +0800
committerGitHub <noreply@github.com>2023-05-04 18:41:12 +0300
commit2edbdb0f99336cb41f0995061c7602ed54beb863 (patch)
tree07ab5cb105543166c1ddc50864ba04d8d4e06f30 /examples/common.h
parent20fbf2a2a08d8edefe9b3435fa86f8b2f63f8588 (diff)
main : add --in-suffix option (#1318)
* adding --in-suffix option * print input suffix before generation
Diffstat (limited to 'examples/common.h')
-rw-r--r--examples/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/common.h b/examples/common.h
index 138d0de..842e151 100644
--- a/examples/common.h
+++ b/examples/common.h
@@ -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