From fbd4d38c647f82b2598291ea9b8d0c09ac1ffb8c Mon Sep 17 00:00:00 2001 From: anzz1 Date: Sat, 25 Mar 2023 14:03:19 +0200 Subject: feat: '--in-prefix STRING' option (#426) Prefix user inputs with a string --- utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'utils.h') diff --git a/utils.h b/utils.h index d469bc6..0690ef7 100644 --- a/utils.h +++ b/utils.h @@ -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 antiprompt; // string upon seeing which more user input is prompted -- cgit v1.2.3