nyu-mll / GLUE-baselines

[DEPRECATED] Repo for exploring multi-task learning approaches to learning sentence representations
https://gluebenchmark.com
760 stars 166 forks source link

CoLA is not accessible thru python request #2

Closed shuaitang closed 5 years ago

shuaitang commented 6 years ago

Hi all,

when I ran the python script "download_glue_data.py" to download all tasks thru python request, I noticed that CoLA task is not accessible, and other tasks are totally fine. The error message is here:

Downloading and extracting CoLA... Traceback (most recent call last): File "download_glue_data.py", line 137, in sys.exit(main(sys.argv[1:])) File "download_glue_data.py", line 133, in main download_and_extract(task, args.data_dir) File "download_glue_data.py", line 44, in download_and_extract urllib.request.urlretrieve(TASK2PATH[task], data_file) File "/usr/lib/python3.5/urllib/request.py", line 188, in urlretrieve with contextlib.closing(urlopen(url, data)) as fp: File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.5/urllib/request.py", line 472, in open response = meth(req, response) File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python3.5/urllib/request.py", line 510, in error return self._call_chain(args) File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain result = func(args) File "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 403: Forbidden

Could you please take a look?

Thanks!

sleepinyourhat commented 6 years ago

Hi all,

Glad to hear you're interested! I can't reproduce this myself—please try one more time to see if it was a transient server thing? If not, I can look around a bit further...

Sam

On Mon, Jul 2, 2018 at 2:45 PM Shuai notifications@github.com wrote:

Hi all,

when I ran the python script "download_glue_data.py" to download all tasks thru python request, I noticed that CoLA task is not accessible, and other tasks are totally fine. The error message is here:

Downloading and extracting CoLA... Traceback (most recent call last): File "download_glue_data.py", line 137, in sys.exit(main(sys.argv[1:])) File "download_glue_data.py", line 133, in main download_and_extract(task, args.data_dir) File "download_glue_data.py", line 44, in download_and_extract urllib.request.urlretrieve(TASK2PATH[task], data_file) File "/usr/lib/python3.5/urllib/request.py", line 188, in urlretrieve with contextlib.closing(urlopen(url, data)) as fp: File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.5/urllib/request.py", line 472, in open response = meth(req, response) File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python3.5/urllib/request.py", line 510, in error return self._call_chain(args) File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain result = func(args) File "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 403: Forbidden

Could you please take a look?

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nyu-mll/GLUE-baselines/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/ABOZWZwafALjzT_nk_wWLfc6F6u6V-hOks5uCmpKgaJpZM4U_xf8 .

W4ngatang commented 6 years ago

Hi,

You can also download the data directly from the site or this script, which I think should be current.

shuaitang commented 6 years ago

@W4ngatang the link worked, and CoLA was successfully downloaded! @sleepinyourhat The issue was exactly the one that you mentioned. After I switched to the new link provided by @W4ngatang , it worked.

Thanks for your quick responses. Much appreciated.