From 68ea2dedf2e075a7afa247c51bfac18842f42463 Mon Sep 17 00:00:00 2001 From: "James B. Pollack" Date: Sat, 16 Feb 2019 12:39:03 -0600 Subject: [PATCH 1/2] Better parameters for conditional sample command This PR adds better initial parameters to the conditional sample generation command in the docs. The results are pretty poor in the interactive script with the default settings. Now, you'll get better results if you run the interactive samples. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 56900720f..c942ec5df 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ While we have not yet released GPT-2 itself, you can see some unconditional samp To give the model custom prompts, you can use: ``` -python3 src/interactive_conditional_samples.py +python3 src/interactive_conditional_samples.py --top_k 40 --temperature 0.7 ``` ## Future work From 810f4e103f7a4318ec7224689266cabaa46e2b0c Mon Sep 17 00:00:00 2001 From: "James B. Pollack" Date: Sat, 16 Feb 2019 16:18:24 -0600 Subject: [PATCH 2/2] Remove temperature parameter from example Just add ```top_k=40``` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c942ec5df..8904a9c40 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ While we have not yet released GPT-2 itself, you can see some unconditional samp To give the model custom prompts, you can use: ``` -python3 src/interactive_conditional_samples.py --top_k 40 --temperature 0.7 +python3 src/interactive_conditional_samples.py --top_k 40 ``` ## Future work