diff options
author | Kawrakow <48489457+ikawrakow@users.noreply.github.com> | 2024-09-02 09:18:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-02 09:18:48 +0300 |
commit | 5518e24be82b278506154a1a1bf871d10e47821e (patch) | |
tree | 96f43ba5d235b97a50819a5fafe2c02275b94aed /common/common.h | |
parent | dc023bc3be1a7ac42d1030f86c4d77563a019286 (diff) |
Do not process prompts containing binary data for escapes (#33)
Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com>
Diffstat (limited to 'common/common.h')
-rw-r--r-- | common/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/common.h b/common/common.h index 50035897..486017ef 100644 --- a/common/common.h +++ b/common/common.h @@ -122,6 +122,7 @@ struct gpt_params { std::string hf_file = ""; // HF file std::string prompt = ""; std::string prompt_file = ""; // store the external prompt file name + bool prompt_is_binary = false; // don't fool around when the prompt contains binary data (as it is for multiple choice) std::string path_prompt_cache = ""; // path to file for saving/loading prompt eval state std::string input_prefix = ""; // string to prefix user inputs with std::string input_suffix = ""; // string to suffix user inputs with |