8000 unable to download pubmed dataset · Issue #903 · huggingface/course · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

unable to download pubmed dataset #903

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Tanuj-rai opened this issue May 3, 2025 · 0 comments
Open

unable to download pubmed dataset #903

Tanuj-rai opened this issue May 3, 2025 · 0 comments

Comments

@Tanuj-rai
Copy link
Tanuj-rai commented May 3, 2025

The link to download the PubMed dataset in the Hugging Face Course (Chapter 5, Section 4) is not working.

https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst

Error reproducer

from datasets import load_dataset

data_files = "https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst"
pubmed_dataset = load_dataset("json", data_files=data_files, split="train")
pubmed_dataset

Expected results

I expect to download it.

Actual results

FileNotFoundError                         Traceback (most recent call last)
[<ipython-input-2-3ed6975c9f4e>](https://localhost:8080/#) in <cell line: 0>()
      3 # This takes a few minutes to run, so go grab a tea or coffee while you wait :)
      4 data_files = "https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst"
----> 5 pubmed_dataset = load_dataset("json", data_files=data_files, split="train")
      6 pubmed_dataset

6 frames
[/usr/local/lib/python3.11/dist-packages/datasets/data_files.py](https://localhost:8080/#) in resolve_pattern(pattern, base_path, allowed_extensions, download_config)
    382         if allowed_extensions is not None:
    383             error_msg += f" with any supported extension {list(allowed_extensions)}"
--> 384         raise FileNotFoundError(error_msg)
    385     return out
    386 

FileNotFoundError: Unable to find 'https://the-eye.eu/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0