Dataset Viewer issue

#1
by tomaarsen HF staff - opened

The dataset viewer is not working.

Error details:

Exception:    SplitsNotFoundError
Message:      The split names could not be parsed from the dataset config.
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 499, in get_dataset_config_info
                  for split_generator in builder._split_generators(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/parquet/parquet.py", line 58, in _split_generators
                  self.info.features = datasets.Features.from_arrow_schema(pq.read_schema(f))
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/features.py", line 1725, in from_arrow_schema
                  obj = {
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/features.py", line 1729, in <dictcomp>
                  else generate_from_arrow_type(field.type)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/features.py", line 1440, in generate_from_arrow_type
                  return Value(dtype=_arrow_to_datasets_dtype(pa_type))
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/features.py", line 115, in _arrow_to_datasets_dtype
                  raise ValueError(f"Arrow type {arrow_type} does not have a datasets dtype equivalent.")
              ValueError: Arrow type large_list<item: double> does not have a datasets dtype equivalent.
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 65, in compute_split_names_from_streaming_response
                  for split in get_dataset_split_names(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 572, in get_dataset_split_names
                  info = get_dataset_config_info(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 504, in get_dataset_config_info
                  raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
              datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.

cc @albertvillanova @lhoestq @severo .

I re-ran the Viewer and got Error code: RowsPostProcessingError

In the logs I'm getting some errors when the Viewer tries to load the data:

Could not read the parquet files: 416 Client Error: Requested Range Not Satisfiable for url

First time I see this tbh, maybe one of the files is corrupt smh ? we should try to load them one by one with pyarrow to check

Sign up or log in to comment