The dataset is not able to be downloaded. See the error message included.
dataset = load_dataset(data_name, cache_dir=cache_dir,split="train")
Traceback (most recent call last):
File "", line 1, in
File "/software/python-anaconda-2022.05-el8-x86_64/envs/pytorch/lib/python3.9/site-packages/datasets/load.py", line 2594, in load_dataset
builder_instance = load_dataset_builder(
File "/software/python-anaconda-2022.05-el8-x86_64/envs/pytorch/lib/python3.9/site-packages/datasets/load.py", line 2266, in load_dataset_builder
dataset_module = dataset_module_factory(
File "/software/python-anaconda-2022.05-el8-x86_64/envs/pytorch/lib/python3.9/site-packages/datasets/load.py", line 1914, in dataset_module_factory
raise e1 from None
File "/software/python-anaconda-2022.05-el8-x86_64/envs/pytorch/lib/python3.9/site-packages/datasets/load.py", line 1889, in dataset_module_factory
return HubDatasetModuleFactoryWithoutScript(
File "/software/python-anaconda-2022.05-el8-x86_64/envs/pytorch/lib/python3.9/site-packages/datasets/load.py", line 1269, in get_module
patterns = get_data_patterns(base_path, download_config=self.download_config)
File "/software/python-anaconda-2022.05-el8-x86_64/envs/pytorch/lib/python3.9/site-packages/datasets/data_files.py", line 501, in get_data_patterns
return _get_data_files_patterns(resolver)
File "/software/python-anaconda-2022.05-el8-x86_64/envs/pytorch/lib/python3.9/site-packages/datasets/data_files.py", line 295, in _get_data_files_patterns
data_files = pattern_resolver(pattern)
File "/software/python-anaconda-2022.05-el8-x86_64/envs/pytorch/lib/python3.9/site-packages/datasets/data_files.py", line 388, in resolve_pattern
for filepath, info in fs.glob(pattern, detail=True, **glob_kwargs).items()
File "/software/python-anaconda-2022.05-el8-x86_64/envs/pytorch/lib/python3.9/site-packages/huggingface_hub/hf_file_system.py", line 407, in glob
return super().glob(path, kwargs)
File "/software/python-anaconda-2022.05-el8-x86_64/envs/pytorch/lib/python3.9/site-packages/fsspec/spec.py", line 608, in glob
pattern = glob_translate(path + ("/" if ends_with_sep else ""))
File "/software/python-anaconda-2022.05-el8-x86_64/envs/pytorch/lib/python3.9/site-packages/fsspec/utils.py", line 732, in glob_translate
raise ValueError(
ValueError: Invalid pattern: '' can only be an entire path component
The most common cause for this error is that your installed library versions are out of sync. The fix is to upgrade them to the latest versions.
pip install -U datasets huggingface_hub fsspec