Problem with dataset config
The following worked for me until a few days ago. But now it doesn’t, even after clearing cache.from huggingface_hub import login
login("...")
from datasets import load_datasets
ds = load_dataset("ARTPARK-IISc/VAANI", "Goa_NorthSouthGoa")I get the error:Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/mnt/51eb0667-f71d-4fe0-a83e-beaff24c04fb/anaconda/envs/vaanienv/lib/python3.12/site-packages/datasets/load.py", line 2129, in load_dataset
    builder_instance = load_dataset_builder(
                       ^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/51eb0667-f71d-4fe0-a83e-beaff24c04fb/anaconda/envs/vaanienv/lib/python3.12/site-packages/datasets/load.py", line 1849, in load_dataset_builder
    dataset_module = dataset_module_factory(
                     ^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/51eb0667-f71d-4fe0-a83e-beaff24c04fb/anaconda/envs/vaanienv/lib/python3.12/site-packages/datasets/load.py", line 1731, in dataset_module_factory
    raise e1 from None
  File "/mnt/51eb0667-f71d-4fe0-a83e-beaff24c04fb/anaconda/envs/vaanienv/lib/python3.12/site-packages/datasets/load.py", line 1696, in dataset_module_factory
    ).get_module()
      ^^^^^^^^^^^^
  File "/mnt/51eb0667-f71d-4fe0-a83e-beaff24c04fb/anaconda/envs/vaanienv/lib/python3.12/site-packages/datasets/load.py", line 1100, in get_module
    builder_configs, default_config_name = create_builder_configs_from_metadata_configs(
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/51eb0667-f71d-4fe0-a83e-beaff24c04fb/anaconda/envs/vaanienv/lib/python3.12/site-packages/datasets/load.py", line 664, in create_builder_configs_from_metadata_configs
    builder_config_cls(
  File "<string>", line 12, in __init__
  File "/mnt/51eb0667-f71d-4fe0-a83e-beaff24c04fb/anaconda/envs/vaanienv/lib/python3.12/site-packages/datasets/packaged_modules/parquet/parquet.py", line 26, in __post_init__
    super().__post_init__()
  File "/mnt/51eb0667-f71d-4fe0-a83e-beaff24c04fb/anaconda/envs/vaanienv/lib/python3.12/site-packages/datasets/builder.py", line 125, in __post_init__
    raise InvalidConfigName(
datasets.builder.InvalidConfigName: Bad characters from black list '<>:/\|?*' found in 'audio/AndhraPradesh/Guntur'. They could create issues when creating a directory for this config on Windows filesystem.I am on datasets==3.2.0
2025-01-18T02:53:44Z
It seems that the same thing has happened before. I think it’s a problem with the data set, so I think it would be better to report it to the author in the discussion section.huggingface.coARTPARK-IISc/Vaani · Error when loading datasetWhen trying to download the dataset, I am running into this error:
2025-01-18T06:50:31Z
Thank you. Is there a way to ignore the error and continue (since I’m not on windows) apart from just changing the source code?
2025-01-18T08:35:33Z
revision = "**********"  # tag name, or branch name, or commit hash
ds = load_dataset("ARTPARK-IISc/VAANI", "Goa_NorthSouthGoa",
  revision=revision
)This seems to be a problem with the dataset, not your program, so I think your only options are to wait for the author to fix it, use an older revision, or find a different dataset…You can see the commit hash using the following method, so if you specify the commit hash from the time when it was working, you should be able to use the previous version.huggingface.coCommits · HuggingFaceTB/finemathWe’re on a journey to advance and democratize artificial intelligence through open source and open science.
2025-01-18T09:42:02Z
Thank you! They have replied that they are in the process of updating the dataset. I’m now using the revision before they started using it and it works now. I guess I’ll use the updated dataset once it is ready.
2025-01-18T21:42:03Z
This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.