Added prompt-file to hep

This commit is contained in:
pudepiedj 2023-10-09 13:45:12 +01:00
parent 51446bf921
commit 3f07ed90a4
3 changed files with 3 additions and 0 deletions

View file

@ -748,6 +748,7 @@ void gpt_print_usage(int /*argc*/, char ** argv, const gpt_params & params) {
printf(" --nprobs N if > 0 output the probabilities of the top N tokens\n");
printf(" --alias model alias (default: 'unknown')\n");
printf(" --infill 0 (defaut) use infill mode\n");
printf(" --prompt-file name of external prompt file\n");
printf("\n");
}

View file

@ -106,6 +106,7 @@ def substitution_list(parameters):
"n_keep" : "keep",
"n_probs" : "nprobs",
"path_prompt_cache" : "prompt_cache",
"prompt_file" : "prompt_file",
"input_prefix" : "in_prefix",
"input_suffix" : "in_suffix",
"input_prefix_bos" : "in_prefix_bos",

View file

@ -104,3 +104,4 @@
--nprobs N if > 0 output the probabilities of the top N tokens\n"
--alias model alias (default: 'unknown')\n"
--infill 0 (defaut) use infill mode\n"
--prompt_file name of external prompt file\n"