reorganize and add temp 0.7

This commit is contained in:
Jeff Wu
2019-02-19 00:43:31 -08:00
parent 5b6468456e
commit 6dab221dad
4 changed files with 29396 additions and 4 deletions

View File

@@ -32,10 +32,6 @@ There are various flags for controlling the samples:
python3 src/generate_unconditional_samples.py --top_k 40 --temperature 0.7 | tee samples python3 src/generate_unconditional_samples.py --top_k 40 --temperature 0.7 | tee samples
``` ```
While we have not yet released GPT-2 itself, you can see some unconditional samples from it:
- `gpt2-samples.txt` (with default settings of temperature 1 and no truncation)
- `gpt2-topk40-samples.txt` (with temperature 1 and top_k=40 truncation)
## Conditional sample generation ## Conditional sample generation
To give the model custom prompts, you can use: To give the model custom prompts, you can use:
@@ -43,6 +39,11 @@ To give the model custom prompts, you can use:
python3 src/interactive_conditional_samples.py --top_k 40 python3 src/interactive_conditional_samples.py --top_k 40
``` ```
## GPT-2 samples
While we have not yet released GPT-2 itself, you can see some samples from it in the `gpt-2-samples` folder.
We show unconditional samples with default settings (temperature 1 and no truncation), with temperature 0.7, and with truncation with top_k 40.
## Future work ## Future work
We may release code for evaluating the models on various benchmarks. We may release code for evaluating the models on various benchmarks.

File diff suppressed because one or more lines are too long