nyu-mll/GLUE-baselines

CoLA is not accessible thru python request

shuaitang opened this issue · 3 comments

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!

Hi,

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

@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.