From c5b9c8924be4543e7aadd4b050cedfea9c910e3d Mon Sep 17 00:00:00 2001 From: Nathan Murthy <1788878+natemurthy@users.noreply.github.com> Date: Thu, 21 Feb 2019 00:00:19 -0800 Subject: [PATCH] Minor: update readme Add note about setting PYTHONIOENCODING=UTF-8 env var for running examples --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 62c177b..c40ae1c 100644 --- a/README.md +++ b/README.md @@ -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: