Skip to content

Commit f702a90

Browse files
Update control vector help (ggml-org#8104)
1 parent 083bacc commit f702a90

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

common/common.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,9 +1538,11 @@ void gpt_params_print_usage(int /*argc*/, char ** argv, const gpt_params & param
15381538
options.push_back({ "*", " --lora FNAME", "apply LoRA adapter (implies --no-mmap)" });
15391539
options.push_back({ "*", " --lora-scaled FNAME S", "apply LoRA adapter with user defined scaling S (implies --no-mmap)" });
15401540
options.push_back({ "*", " --lora-base FNAME", "optional model to use as a base for the layers modified by the LoRA adapter" });
1541-
options.push_back({ "*", " --control-vector FNAME", "add a control vector" });
1541+
options.push_back({ "*", " --control-vector FNAME", "add a control vector\n"
1542+
"note: this argument can be repeated to add multiple control vectors" });
15421543
options.push_back({ "*", " --control-vector-scaled FNAME SCALE",
1543-
"add a control vector with user defined scaling SCALE" });
1544+
"add a control vector with user defined scaling SCALE\n"
1545+
"note: this argument can be repeated to add multiple scaled control vectors" });
15441546
options.push_back({ "*", " --control-vector-layer-range START END",
15451547
"layer range to apply the control vector(s) to, start and end inclusive" });
15461548
options.push_back({ "*", "-m, --model FNAME", "model path (default: models/$filename with filename from --hf-file\n"

0 commit comments

Comments
 (0)