diff options
author | anzz1 <anzz1@live.com> | 2023-03-25 14:03:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-25 14:03:19 +0200 |
commit | fbd4d38c647f82b2598291ea9b8d0c09ac1ffb8c (patch) | |
tree | 8382932943e84ef338effde93df1f87ef0549d7e /utils.h | |
parent | 58e6c9f36f97d0a3e287b97256dc5f6b0e9fb5ae (diff) |
feat: '--in-prefix STRING' option (#426)
Prefix user inputs with a string
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -30,6 +30,7 @@ struct gpt_params { std::string model = "models/lamma-7B/ggml-model.bin"; // model path std::string prompt = ""; + std::string input_prefix = ""; // string to prefix user inputs with std::vector<std::string> antiprompt; // string upon seeing which more user input is prompted |