summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorslaren <2141330+slaren@users.noreply.github.com>2023-03-19 19:22:48 +0100
committerGitHub <noreply@github.com>2023-03-19 20:22:48 +0200
commit50fae10d0339f2bd639f69dd679c0201d939a265 (patch)
tree907e49aae8cf271ed1080a709256ebf14d53405a /utils.h
parent084e2f0ec081c929343d44b09df07ae87cd1ed32 (diff)
Add --ignore-eos parameter (#181)
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index c68e4cba..21325191 100644
--- a/utils.h
+++ b/utils.h
@@ -36,6 +36,8 @@ struct gpt_params {
bool interactive = false; // interactive mode
bool instruct = false; // instruction mode (used for Alpaca models)
+
+ bool ignore_eos = false; // do not stop generating after eos
};
bool gpt_params_parse(int argc, char ** argv, gpt_params & params);