Datasets:

Languages:
English
ArXiv:
License:

Unable to load eli5 dataset with streaming

#7
by albertvillanova HF staff - opened
Defunct Datasets org

As reported by @haok1402 : https://github.com/huggingface/datasets/issues/6579

Describe the bug

Unable to load eli5 dataset with streaming.

Steps to reproduce the bug

This fails with FileNotFoundError: https://files.pushshift.io/reddit/submissions

from datasets import load_dataset
load_dataset("eli5", streaming=True)

This works correctly.

from datasets import load_dataset
load_dataset("eli5")

Expected behavior

  • Loading eli5 dataset should not raise an error under the streaming mode.
  • Or at the very least, show a warning that streaming mode is not supported with eli5 dataset.

Environment info

  • datasets version: 2.16.1
  • Platform: Linux-6.2.0-39-generic-x86_64-with-glibc2.35
  • Python version: 3.10.12
  • huggingface_hub version: 0.19.4
  • PyArrow version: 12.0.1
  • Pandas version: 2.0.3
  • fsspec version: 2023.6.0
Defunct Datasets org

There is a warning banner in the dataset card with the following message:

Reddit recently changed the terms of access to its API, making the source data for this dataset unavailable.

Screenshot from 2024-01-11 10-19-53.png

Defunct Datasets org

We have changed the code of the loading script, so that now it raises a DefunctDatasetError.

See: #8.

albertvillanova changed discussion status to closed

Sign up or log in to comment