PubMed HMPV数据集

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

maasmaas
魔搭社区
2026-07-14 更新
浏览 7
文本HMPV文本

基本信息

模态
文本
创建/更新时间
2026-07-14

资源简介

该数据集包含与人类偏肺病毒(HMPV)相关的PubMed文献元数据,包括文献ID、发表日期、标题和链接,可用于HMPV相关研究的信息检索和分析。

原始链接

https://modelscope.cn/datasets/NeuML/pubmed-hmpv

访问原始数据

官方服务

如需原始数据获取支持或标注服务,请联系我们。

帮我联系

下载信息

注册下载

Tips: 该数据集需要在对应的数据源网站注册通过后,才能进行数据下载,注册有对应要求,或者需要收费。

暂未开放

公开下载

Tips: 该数据集属于公开下载,应该可以免费公开下载。

免登录

有偿下载

Tips: 该数据集 Qianfanghub 可以协助提供有偿下载服务,注意,服务不针对数据相关产权,只是技术服务费。

提供高速下载与技术交付服务(收技术服务费,非数据销售)

暂未开放

千方医数集,医疗数据集部分,是为社区服务的公开医疗数据集搜索引擎,并不存储或者下载原始的任何数据。 如果您有其他医疗数据需求,可以和客服联系,或者下工单。我们有强大的三甲医疗机构帮助您提供个性化的医疗数据定制、采集、标注服务。

使用方式

数据集获取(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 HMPV in either the title or abstract

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.

  1. Create the following directories and files

    mkdir -p pubmed/config pubmed/data
    
    echo "D029121" > pubmed/config/codes
    echo "HMPV" > pubmed/config/keywords
    
  2. Install paperetl and download PubMed Baseline + Updates into pubmed/data.

    pip install paperetl datasets
    
  3. Parse the PubMed dataset into article metadata

    python -m paperetl.file pubmed/data pubmed/articles pubmed/config
    
  4. 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")
    
  5. 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))

源站:modelscope.cn/datasets/NeuML/pubmed-hmpv

精度瓶颈?数据缺失?

当前公开数据无法满足您的算法精度?千方提供针对 病毒感染 的高质量、多模态真实临床数据定制解决方案。

获取专属数据定制方案