summaryrefslogtreecommitdiff
path: root/examples/common.cpp
diff options
context:
space:
mode:
authormgroeber9110 <45620825+mgroeber9110@users.noreply.github.com>2023-04-24 17:45:32 +0200
committerGitHub <noreply@github.com>2023-04-24 15:45:32 +0000
commit9b0a4d421459f4e5e1af735c9784c3247b379025 (patch)
treec7f03143a30f272d4f974bff26a771caaeeab766 /examples/common.cpp
parent2ec83428de7a876ecbbe484e1de42b73b5a40e25 (diff)
examples/main README improvements and some light refactoring (#1131)
Diffstat (limited to 'examples/common.cpp')
-rw-r--r--examples/common.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/common.cpp b/examples/common.cpp
index a0b6f10a..c0e87eb9 100644
--- a/examples/common.cpp
+++ b/examples/common.cpp
@@ -156,10 +156,8 @@ bool gpt_params_parse(int argc, char ** argv, gpt_params & params) {
params.interactive = true;
} else if (arg == "--embedding") {
params.embedding = true;
- } else if (arg == "--interactive-start") {
- params.interactive = true;
} else if (arg == "--interactive-first") {
- params.interactive_start = true;
+ params.interactive_first = true;
} else if (arg == "-ins" || arg == "--instruct") {
params.instruct = true;
} else if (arg == "--color") {