-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
In offline mode, one can still access previously-cached datasets. This fails with datasets created with push_to_hub.
Steps to reproduce the bug
in Python:
import datasets
mpwiki = datasets.load_dataset("teven/matched_passages_wikidata")
in bash:
export HF_DATASETS_OFFLINE=1
in Python:
import datasets
mpwiki = datasets.load_dataset("teven/matched_passages_wikidata")
Expected results
datasets should find the previously-cached dataset.
Actual results
ConnectionError: Couln't reach the Hugging Face Hub for dataset 'teven/matched_passages_wikidata': Offline mode is enabled
Environment info
datasetsversion: 1.16.2.dev0- Platform: Linux-4.18.0-193.70.1.el8_2.x86_64-x86_64-with-glibc2.17
- Python version: 3.8.10
- PyArrow version: 3.0.0
MariaRigaki, bryant1410 and alimoezzithuzhf, qgallouedec, MariaRigaki and alimoezzi
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working