Dataset not available

#3
by nickypro - opened

I get the following error:

ConnectionError: Couldn't reach https://storage.googleapis.com/jigsaw-unintended-bias-in-toxicity-classification/civil_comments.zip (error 403)
>>> d = datasets.load_dataset("civil_comments")
HF google storage unreachable. Downloading and preparing it from source
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/root/separability/.venv/lib/python3.10/site-packages/datasets/load.py", line 2136, in load_dataset
    builder_instance.download_and_prepare(
  File "/root/separability/.venv/lib/python3.10/site-packages/datasets/builder.py", line 954, in download_and_prepare
    self._download_and_prepare(
  File "/root/separability/.venv/lib/python3.10/site-packages/datasets/builder.py", line 1717, in _download_and_prepare
    super()._download_and_prepare(
  File "/root/separability/.venv/lib/python3.10/site-packages/datasets/builder.py", line 1027, in _download_and_prepare                                     split_generators = 
self._split_generators(dl_manager, **split_generators_kwargs)                                                                      File "/root/.cache/huggingface/modules/datasets_modules/datasets/civil_comments/e7a3aacd2ab7d135fa958e7209d10b1fa03807d44c486e3c34897aa08ea8ffab/civil_comments.py", line 105, in _split_generators                                   dl_path = dl_manager.download_and_extract(_DOWNLOAD_URL)                  
File "/root/separability/.venv/lib/python3.10/site-packages/datasets/download/download_manager.py", line 564, in download_and_extract                     
return self.extract(self.download(url_or_urls))                           
File "/root/separability/.venv/lib/python3.10/site-packages/datasets/download/download_manager.py", line 427, in download                                 
downloaded_path_or_paths = map_nested(                                    
File "/root/separability/.venv/lib/python3.10/site-packages/datasets/utils/py_utils.py", line 455, in map_nested                                          
return function(data_struct)                                              
File "/root/separability/.venv/lib/python3.10/site-packages/datasets/download/download_manager.py", line 453, in _download                                
return cached_path(url_or_filename, download_config=download_config)      
File "/root/separability/.venv/lib/python3.10/site-packages/datasets/utils/file_utils.py", line 182, in cached_path                                       
output_path = get_from_cache(
  
File "/root/separability/.venv/lib/python3.10/site-packages/datasets/utils/file_utils.py", line 601, in get_from_cache                                    
raise ConnectionError(f"Couldn't reach {url} (error {response.status_code})")                                                                       

ConnectionError: Couldn't reach https://storage.googleapis.com/jigsaw-unintended-bias-in-toxicity-classification/civil_comments.zip (error 403)

Thanks for reporting @nickypro .

I am not able to reproduce the error, though...

Could you please check if you can access the original source data URL: https://storage.googleapis.com/jigsaw-unintended-bias-in-toxicity-classification/civil_comments.zip ?
Maybe you found a temporary issue...

Ok, it seems like a local issue:

$ curl -L -O https://storage.googleapis.com/jigsaw-unintended-bias-in-toxicity-classification/civil_comments.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   193  100   193    0     0   1060      0 --:--:-- --:--:-- --:--:--  1060
$ cat civil_comments.zip
<?xml version='1.0' encoding='UTF-8'?><Error><Code>AccessDenied</Code><Message>Access denied.</Message><Details>We're sorry, but this service is not available in your location</Details></Error>
albertvillanova changed discussion status to closed

Sign up or log in to comment