PubMed HMPV数据集

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

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

基本信息

模态
文本
大小
0.000365304 GB
许可
Apache License 2.0
创建/更新时间
2026-07-14

资源简介

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 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

数据缺失?

依托陕西、四川两大基地,我们与超过十家三甲医院建立直接合作关系,覆盖合规授权、采集治理、专业标注、数据交付的全流程,为AI医疗团队提供即拿即用的高质量临床数据。

⚡️ 需要数据支持或标注服务?立即联系我们获取专业方案。

获取专属数据定制方案