Dataset Viewer issue: ConfigNamesError

#1
by LHH1323 - opened
Owner

The dataset viewer is not working.

Error details:

Error code:   ConfigNamesError
Exception:    DataFilesNotFoundError
Message:      No (supported) data files found in LHH1323/LHH_Dataset
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 1904, 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 1270, in get_module
                  module_name, default_builder_kwargs = infer_module_for_data_files(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 597, in infer_module_for_data_files
                  raise DataFilesNotFoundError("No (supported) data files found" + (f" in {path}" if path else ""))
              datasets.exceptions.DataFilesNotFoundError: No (supported) data files found in LHH1323/LHH_Dataset

cc @albertvillanova @lhoestq @severo .

I think the CSV file is badly formed: https://huggingface.co/datasets/LHH1323/LHH_Dataset/blob/main/dataset1.csv. I think the line breaks should be encoded with \n.

LHH1323 changed discussion status to closed

Sign up or log in to comment