summaryrefslogtreecommitdiff
path: root/common/common.h
diff options
context:
space:
mode:
authorDawid Potocki <github@dawidpotocki.com>2024-05-09 02:32:32 +1200
committerGitHub <noreply@github.com>2024-05-08 17:32:32 +0300
commit83330d8cd6491e53e1aca4c5dfc47e039b3c04ff (patch)
tree72b80a600fbaf82867c8f14729f2d58e644bcdc3 /common/common.h
parent465263d0cf1e8f8bc41948332dbd009d27a68590 (diff)
main : add --conversation / -cnv flag (#7108)
Diffstat (limited to 'common/common.h')
-rw-r--r--common/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/common.h b/common/common.h
index 9252a4b6..6f00a2cc 100644
--- a/common/common.h
+++ b/common/common.h
@@ -140,6 +140,7 @@ struct gpt_params {
bool random_prompt = false; // do not randomize prompt if none provided
bool use_color = false; // use color to distinguish generations and inputs
bool interactive = false; // interactive mode
+ bool conversation = false; // conversation mode (does not print special tokens and suffix/prefix)
bool chatml = false; // chatml mode (used for models trained on chatml syntax)
bool prompt_cache_all = false; // save user input and generations to prompt cache
bool prompt_cache_ro = false; // open the prompt cache read-only and do not update it