Commit Graph

31 Commits

Author SHA1 Message Date
c314ddab12 Minor: update readme
Example will `tee` stdout to `/tmp/samples` from conditional and
unconditional generation scripts.
2019-02-26 18:54:07 -08:00
c5b9c8924b Minor: update readme
Add note about setting PYTHONIOENCODING=UTF-8 env var for running
examples
2019-02-21 12:31:13 -08:00
68bf7a0036 add .gitattributes file to ensure files copied to docker container have LF line endings and all files stay unix on commit 2019-02-21 10:27:27 -08:00
a3aa7de9e1 add conditional samples with default settings 2019-02-20 20:51:19 -08:00
b6f943d37e update readme 2019-02-20 15:00:44 -08:00
946facf551 fixed seed arg to ensure reproducibility in conditional-samples model 2019-02-20 14:51:14 -08:00
2cf46d997d fixed unconditional sampling reproducibility issue 2019-02-20 14:50:52 -08:00
99af6d7092 Add a Dockerfile and document usage in README 2019-02-19 18:58:27 -08:00
23ed990b03 instructinos mention git clone 2019-02-19 18:05:57 -08:00
bf43e732f8 more warning 2019-02-19 17:57:33 -08:00
92ce9f2d9e shuffle headings 2019-02-19 17:57:01 -08:00
825aa3d338 separate out tensorflow install 2019-02-19 17:56:23 -08:00
fc0ee6da2f add conditional samples 2019-02-19 17:22:28 -08:00
aae26abd60 add license 2019-02-19 17:06:49 -08:00
6dab221dad reorganize and add temp 0.7 2019-02-19 00:45:05 -08:00
5b6468456e update README 2019-02-17 17:24:52 -08:00
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
0aad2ab3f4 Fetch model using curl, add shebang to download_files.sh and mark it executable 2019-02-16 11:07:01 -08:00
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
ebd5894d22 error message 2019-02-15 10:48:19 -08:00
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
69354b7661 mkdir -p 2019-02-14 11:37:20 -08:00
7eb02f8410 Remove trailing forward-flash 2019-02-14 11:36:03 -08:00
7cdac144c3 fix bug and remove f strings 2019-02-14 11:34:14 -08:00
e33295b4b5 interact script for conditional samples 2019-02-14 10:40:41 -08:00
89f4bc162c fix downloading 2019-02-14 09:14:49 -08:00
f46b1dd93c README updates 2019-02-14 08:50:40 -08:00
e3e1ad5b7a add samples 2019-02-14 00:17:55 -08:00
c2dae27c10 First commit 2019-02-10 23:47:49 -08:00