23 Commits

Author SHA1 Message Date
Jeff Wu
23ed990b03 instructinos mention git clone 2019-02-19 18:05:57 -08:00
Jeff Wu
bf43e732f8 more warning 2019-02-19 17:57:33 -08:00
Jeff Wu
92ce9f2d9e shuffle headings 2019-02-19 17:57:01 -08:00
Jeff Wu
825aa3d338 separate out tensorflow install 2019-02-19 17:56:23 -08:00
Jeff Wu
fc0ee6da2f add conditional samples 2019-02-19 17:22:28 -08:00
Jeff Wu
aae26abd60 add license 2019-02-19 17:06:49 -08:00
Jeff Wu
6dab221dad reorganize and add temp 0.7 2019-02-19 00:45:05 -08:00
Jeff Wu
5b6468456e
update README 2019-02-17 17:24:52 -08:00
James B. Pollack
9c3a78da74 Better example parameters for conditional sample command (#41)
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.
2019-02-16 14:23:13 -08:00
Mathieu Rene
0aad2ab3f4 Fetch model using curl, add shebang to download_files.sh and mark it executable 2019-02-16 11:07:01 -08:00
James B. Pollack
2d0b62225c Update encoder.py to work on windows
This fixes https://github.com/openai/gpt-2/issues/26

```  File "C:\Users\James Pollack\Desktop\gpt-2\src\encoder.py", line 112, in get_encoder
    bpe_data = f.read()
  File "C:\Anaconda\envs\gpt-2\lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 66951: character maps to <undefined>```
2019-02-15 11:55:23 -08:00
Jeff Wu
ebd5894d22 error message 2019-02-15 10:48:19 -08:00
Jeff Wu
16095a6139 gpt-2 truncated samples 2019-02-15 10:32:58 -08:00
子兎音
77c7ae5ee5 Fix ModuleNotFoundError: No module named 'src' in the interactive_conditional_samples.py 2019-02-14 13:20:24 -08:00
子兎音
bb617c436e Fix ModuleNotFoundError: No module named 'src' 2019-02-14 13:20:24 -08:00
Jeff Wu
69354b7661 mkdir -p 2019-02-14 11:37:20 -08:00
Max Woolf
7eb02f8410 Remove trailing forward-flash 2019-02-14 11:36:03 -08:00
Jeff Wu
7cdac144c3 fix bug and remove f strings 2019-02-14 11:34:14 -08:00
Jeff Wu
e33295b4b5 interact script for conditional samples 2019-02-14 10:40:41 -08:00
Jeff Wu
89f4bc162c fix downloading 2019-02-14 09:14:49 -08:00
Jeff Wu
f46b1dd93c README updates 2019-02-14 08:50:40 -08:00
Jeff Wu
e3e1ad5b7a add samples 2019-02-14 00:17:55 -08:00
Jeff Wu
c2dae27c10 First commit 2019-02-10 23:47:49 -08:00