huggingface / huggingface/course

unable to download pubmed dataset

Open
#903 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
4.2k
Forks
1.4k
Avg merge
13m
Merged PRs (30d)
1

Description

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
](URL)

## 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)
[](https://localhost:8080/#) in ()
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'
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.