|
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 |
|
#}) |
|
|
|
``` |