Make prompt randomization optional. (#300)

Co-authored-by: Johnman <>
This commit is contained in:
tjohnman
2023-03-19 19:36:19 +01:00
committed by GitHub
parent 368d0c8a9e
commit ad5fd5b60c
3 changed files with 7 additions and 2 deletions

View File

@ -32,6 +32,8 @@ struct gpt_params {
std::string prompt = "";
std::string antiprompt = ""; // string upon seeing which more user input is prompted
bool random_prompt = false;
bool use_color = false; // use color to distinguish generations and inputs
bool interactive = false; // interactive mode