Does anyone know how I can easily download all of the pubmed article abstracts? I am working on a text mining project.
The closest one I can find can download one abstract at a time given an pmid, but that would be too slow for my purpose since I'd have to download them one at a time.
As of 2021, you can access the corpus through simple API of Huggingface Datasets.
https://huggingface.co/datasets/pubmed