Disable prompt verbosity by default and add option to enable (#480)
This commit is contained in:
parent
09aecbf628
commit
502a400192
3 changed files with 13 additions and 6 deletions
1
utils.h
1
utils.h
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue