Make prompt randomization optional. (#300)

Co-authored-by: Johnman <>
This commit is contained in:
tjohnmanandJohnman authored and GitHub committed 2023-03-19 20:36:19 +02:00
1 parent 368d0c8a9e
commit ad5fd5b60c
3 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -803,7 +803,7 @@ int main(int argc, char ** argv) {
fprintf(stderr, "%s: seed = %d\n", __func__, params.seed);
std::mt19937 rng(params.seed);
if (params.prompt.empty()) {
if (params.random_prompt) {
params.prompt = gpt_random_prompt(rng);
}