Dataset Viewer issue

#3
by dmvevents - opened

The dataset viewer is not working.

Error details:

Error code:   StreamingRowsError
Exception:    NotImplementedError
Message:      Compression protocol 'rar' not implemented.
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 365, in get_rows_or_raise
                  return get_rows(
                File "/src/services/worker/src/worker/utils.py", line 307, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 328, in get_rows
                  ds = load_dataset(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1790, in load_dataset
                  return builder_instance.as_streaming_dataset(split=split)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1260, in as_streaming_dataset
                  splits_generators = {sg.name: sg for sg in self._split_generators(dl_manager)}
                File "/tmp/modules-cache/datasets_modules/datasets/arabic_billion_words/687a1f963284c8a766558661375ea8f7ab3fa3633f8cd9c9f42a53ebe83bfe17/arabic_billion_words.py", line 130, in _split_generators
                  data_dir = dl_manager.download_and_extract(my_urls)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 1087, in download_and_extract
                  return self.extract(self.download(url_or_urls))
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 1039, in extract
                  urlpaths = map_nested(self._extract, url_or_urls, map_tuple=True)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 435, in map_nested
                  return function(data_struct)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 1044, in _extract
                  protocol = _get_extraction_protocol(urlpath, use_auth_token=self.download_config.use_auth_token)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 434, in _get_extraction_protocol
                  return _get_extraction_protocol_with_magic_number(f)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py", line 412, in _get_extraction_protocol_with_magic_number
                  raise NotImplementedError(f"Compression protocol '{compression}' not implemented.")
              NotImplementedError: Compression protocol 'rar' not implemented.

cc @albertvillanova @lhoestq @severo .

Abuelkhair Corpus org

Thanks for reporting, @dmvevents .

I am investigating it.

Abuelkhair Corpus org

The data sources are no longer available, e.g. http://abuelkhair.net/corpus/Alittihad_XML_utf_8.rar

We are contacting the author. We'll keep you informed.

Hi Sir I am not able to download the dataset the file is not there on the website.

Abuelkhair Corpus org

We have sent another email to the author proposing them to host their data files on the Hugging Face Hub. We are waiting for their response.

Hi @albertvillanova ,
I can share the original .rar files of the data with you (thanks to @wissamantoun for sharing it with me)

@farisalasmary can you please share with me [email protected]

Abuelkhair Corpus org

We are still waiting for the author's response about the possibility of hosting their data on the Hub if their license allows so.

Sign up or log in to comment