Dataset preview not available

#2
by liaeh - opened

Dataset preview is not available for this dataset.

Error triggered:

Cannot load the dataset split (in streaming mode) to extract the first rows.

Error code:   StreamingRowsError
Exception:    JSONDecodeError
Message:      Expecting ',' delimiter: line 1 column 3675 (char 3674)
Traceback:    Traceback (most recent call last):
                File "/src/workers/first_rows/src/first_rows/response.py", line 431, in compute_first_rows_response
                  rows = get_rows(
                File "/src/workers/first_rows/src/first_rows/utils.py", line 136, in decorator
                  return func(*args, **kwargs)
                File "/src/workers/first_rows/src/first_rows/response.py", line 85, in get_rows
                  rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
                File "/src/workers/first_rows/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 782, in __iter__
                  for key, example in self._iter():
                File "/src/workers/first_rows/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 772, in _iter
                  yield from ex_iterable
                File "/src/workers/first_rows/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 142, in __iter__
                  yield from self.generate_examples_fn(**self.kwargs)
                File "/tmp/modules-cache/datasets_modules/datasets/mlsum/033c69bbbf1eb198d444f668be75f297cb86251c0671a3d063d1c53c2f231076/mlsum.py", line 90, in _generate_examples
                  data = json.loads(line)
                File "/usr/local/lib/python3.9/json/__init__.py", line 346, in loads
                  return _default_decoder.decode(s)
                File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
                  obj, end = self.raw_decode(s, idx=_w(s, 0).end())
                File "/usr/local/lib/python3.9/json/decoder.py", line 353, in raw_decode
                  obj, end = self.scan_once(s, idx)
              json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 3675 (char 3674)
Datasets Maintainers org

Thanks for reporting @liaeh .

We are investigating it.

Datasets Maintainers org

Fixed by #3.

albertvillanova changed discussion status to closed

Sign up or log in to comment