Disable prompt verbosity by default and add option to enable (#480)

This commit is contained in:
Georgi Gerganov
2023-03-25 17:16:50 +02:00
parent 09aecbf628
commit 502a400192
3 changed files with 13 additions and 6 deletions

View File

@ -48,6 +48,7 @@ struct gpt_params {
bool perplexity = false; // compute perplexity over the prompt
bool use_mlock = false; // use mlock to keep model in memory
bool mem_test = false; // compute maximum memory usage
bool verbose_prompt = false; // print prompt tokens before generation
};
bool gpt_params_parse(int argc, char ** argv, gpt_params & params);