Dataset Viewer issue: ConfigNamesError

#3
by Beehzod - opened
Owner

The dataset viewer is not working.

Error details:

Error code:   ConfigNamesError
Exception:    ValueError
Message:      Some splits are duplicated in data_files: ['train', 'validation', 'other', 'wavs', 'audio', 'uz_other_dataset', 'uz_train_dataset', 'uz_validated_dataset', 'wavs']
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 72, in compute_config_names_response
                  config_names = get_dataset_config_names(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 347, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1910, in dataset_module_factory
                  raise e1 from None
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1885, in dataset_module_factory
                  return HubDatasetModuleFactoryWithoutScript(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1261, in get_module
                  patterns = sanitize_patterns(next(iter(metadata_configs.values()))["data_files"])
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/data_files.py", line 155, in sanitize_patterns
                  raise ValueError(f"Some splits are duplicated in data_files: {splits}")
              ValueError: Some splits are duplicated in data_files: ['train', 'validation', 'other', 'wavs', 'audio', 'uz_other_dataset', 'uz_train_dataset', 'uz_validated_dataset', 'wavs']

cc @albertvillanova @lhoestq @severo .

It seems to be fixed, right?

Sign up or log in to comment