File size: 635 Bytes
2f25efe c6f8e50 2f25efe c6f8e50 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
This PUBMED Dataset was created based on the The [PubMed Abstract GitHub Site](https://github.com/thoppe/The-Pile-PubMed) and uploaded on the Hugging Face.
- The PUBMED dataset reproduced
```
$git clone https://github.com/thoppe/The-Pile-PubMed.git
$cd The-Pile-PubMed/
$python P0_download_listing.py
$python P1_download_baseline.py
$python P2_parse.py
$python P3_build_final_LM_dataset.py
```
- Load Dataset
```
from datasets import load_dataset
pubmed_dataset = load_dataset("hwang2006/PUBMED_title_abstracts_2020_baseline", split="train")
pubmed_dataset
#Dataset({
# features: ['meta', 'text'],
# num_rows: 17722096
#})
``` |