Skip to content

Commit

Permalink
Fix gpt-2 README
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhitingHu committed Mar 1, 2019
1 parent d4d6a9c commit b2a7cef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/gpt-2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ By default, it will download a pretrained model named `117M` to `gpt2_pretrained
This mode will initialize an interactive interface, which allows users to type in the context sentence. The model then generates continuation of the context. Top-K sample decoding is used.

```
python generative_pretraining_main.py --is_interactive \
python gpt2_generate_main.py --is_interactive \
--max_decoding_length=100 \
--temperature=0.7 \
--top_k=40
Expand Down Expand Up @@ -65,7 +65,7 @@ The last time we saw him on stage, he
This mode generates a batch of samples from scratch.

```
python generative_pretraining_main.py
python gpt2_generate_main.py
--nsamples=1 \
--batch_size=1 \
--max_decoding_len=100 \
Expand Down

0 comments on commit b2a7cef

Please sign in to comment.