PubMed HMPV数据集
收录与人类偏肺病毒(HMPV)相关的PubMed文献元数据,包括ID、日期、标题和链接,适用于HMPV文献检索研究。

基本信息
资源简介
PubMed HMPV数据集
【数据集背景】
本数据集源站标题为《pubmed-hmpv》。
【适用方向】
文本类数据可用于医学自然语言处理,如命名实体识别、信息抽取与文本分类。
【获取与许可】
源站页面:https://modelscope.cn/datasets/NeuML/pubmed-hmpv
使用许可:Apache License 2.0。
下载信息
注册下载
需要注册 Kaggle 账号并登录后下载,适合需要跟踪下载记录和使用 API 的用户。
暂未开放公开下载
无需注册即可直接获取公开样本或文档,适合快速预览和评估数据集质量。
免登录有偿下载
公开数据集受托下载与技术交付服务。
提供高速下载与技术交付服务(收技术服务费,非数据销售)
暂未开放当前数据集主要来源为 Kaggle 公开托管,完整影像包建议通过原始链接或 Kaggle API 获取。
使用方式
数据集获取(ModelScope)
方式一:MsDataset(Python)
# 前置依赖: pip install modelscope
from modelscope.msdatasets import MsDataset
ds = MsDataset.load("NeuML/pubmed-hmpv", subset_name="default", split="train")
print(ds)
方式二:CLI(命令行)
pip install modelscope
modelscope download dataset NeuML/pubmed-hmpv
数据集卡片摘录(源站)
PubMed HMPV Articles
Current as of January 7, 2025
This dataset is metadata (id, publication date, title, link) from PubMed articles related to HMPV. It was created using paperetl and the PubMed Baseline.
The 37 million articles were filtered to match either of the following criteria.
- MeSH code = D029121
- Keyword of
HMPVin either thetitleorabstract
Retrieve article abstracts
The full article abstracts can be retrieved via the PubMed API. This method accepts batches of PubMed IDs.
Alternatively, the dataset can be recreated using the following steps and loading the abstracts into the dataset (see step 5).
Download and build
The following steps recreate this dataset.
-
Create the following directories and files
mkdir -p pubmed/config pubmed/data echo "D029121" > pubmed/config/codes echo "HMPV" > pubmed/config/keywords -
Install
paperetland downloadPubMed Baseline + Updatesintopubmed/data.pip install paperetl datasets -
Parse the PubMed dataset into article metadata
python -m paperetl.file pubmed/data pubmed/articles pubmed/config -
Export to dataset
from datasets import Dataset ds = Dataset.from_sql( ("SELECT id id, published published, title title, reference reference FROM articles " "ORDER BY published DESC"), f"sqlite:///pubmed/articles/articles.sqlite" ) ds.to_csv(f"pubmed-hmpv/articles.csv") -
Optional Export to dataset with all fields
paperetl parses all metadata and article abstracts. If you’'d like to create a local dataset with the abstracts, run the following instead of step 4.
import sqlite3 import uuid from datasets import Dataset class Export: def __init__(self, dbfile): # Load database self.conevent-blocked= sqlite3.connect(dbfile) self.connection.row_factory = sqlite3.Row def __call__(self): # Create cursors cursor1 = self.connection.cursor() cursor2 = self.connection.cursor() # Get article metadata
许可
Apache License 2.0
数据加载示例(表格/文本类)
import pandas as pd, glob, os
files = (glob.glob(os.path.join(path, "**", "*.csv"), recursive=True)
+ glob.glob(os.path.join(path, "**", "*.tsv"), recursive=True)
+ glob.glob(os.path.join(path, "**", "*.xlsx"), recursive=True))
print("数据文件:", files)
df = pd.read_csv(files[0])
print(df.shape); print(df.columns.tolist()); print(df.head(3))
数据缺失?
依托陕西、四川两大基地,我们与超过十家三甲医院建立直接合作关系,覆盖合规授权、采集治理、专业标注、数据交付的全流程,为AI医疗团队提供即拿即用的高质量临床数据。
⚡️ 需要数据支持或标注服务?立即联系我们获取专业方案。




