mirror of
https://github.com/openai/gpt-2
synced 2025-08-22 02:02:01 +00:00
Minor: update readme
Add note about setting PYTHONIOENCODING=UTF-8 env var for running examples
This commit is contained in:
parent
68bf7a0036
commit
c5b9c8924b
@ -58,6 +58,12 @@ docker run --runtime=nvidia -it gpt-2 bash
|
||||
| WARNING: Samples are unfiltered and may contain offensive content. |
|
||||
| --- |
|
||||
|
||||
Some of the examples below may include Unicode text characters. Set the environment variable:
|
||||
```
|
||||
export PYTHONIOENCODING=UTF-8
|
||||
```
|
||||
to override the standard stream settings in UTF-8 mode.
|
||||
|
||||
### Unconditional sample generation
|
||||
|
||||
To generate unconditional samples from the small model:
|
||||
|
Loading…
x
Reference in New Issue
Block a user