Add documentation for help flags (#81)

add description for flags
This commit is contained in:
Armaan Bhullar
2019-02-27 12:31:38 +05:30
committed by Jeff Wu
parent c314ddab12
commit ed49f03778
3 changed files with 50 additions and 1 deletions

View File

@ -75,6 +75,11 @@ There are various flags for controlling the samples:
python3 src/generate_unconditional_samples.py --top_k 40 --temperature 0.7 | tee /tmp/samples
```
To check flag descriptions, use:
```
python3 src/generate_unconditional_samples.py -- --help
```
### Conditional sample generation
To give the model custom prompts, you can use:
@ -82,6 +87,11 @@ To give the model custom prompts, you can use:
python3 src/interactive_conditional_samples.py --top_k 40
```
To check flag descriptions, use:
```
python3 src/interactive_conditional_samples.py -- --help
```
## GPT-2 samples
| WARNING: Samples are unfiltered and may contain offensive content. |