From 5e85b324ecf50e79bf312a956d8b32d200b7c807 Mon Sep 17 00:00:00 2001 From: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Date: Wed, 24 Jun 2020 07:55:58 -0400 Subject: [PATCH] Use the script in utils (#5224) --- examples/text-classification/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/examples/text-classification/README.md b/examples/text-classification/README.md index 5b74c1c469..90b6fb8b37 100644 --- a/examples/text-classification/README.md +++ b/examples/text-classification/README.md @@ -52,9 +52,12 @@ Some of these results are significantly different from the ones reported on the of GLUE benchmark on the website. For QQP and WNLI, please refer to [FAQ #12](https://gluebenchmark.com/faq) on the webite. Before running any one of these GLUE tasks you should download the -[GLUE data](https://gluebenchmark.com/tasks) by running -[this script](https://gist.github.com/W4ngatang/60c2bdb54d156a41194446737ce03e2e) -and unpack it to some directory `$GLUE_DIR`. +[GLUE data](https://gluebenchmark.com/tasks) by running the following lines at the root of the repo +``` +python utils/download_glue_data.py --data_dir /path/to/glue --tasks all +``` + +after replacing *path/to/glue* with a value that you like. Then you can run ```bash export GLUE_DIR=/path/to/glue