COVID-Q

COVID-Q数据集包含1,690个关于COVID-19的问题,来自13个来源,分类为15个类别和207个集群,用于问题分类和聚类任务。

达特茅斯学院达特茅斯学院
arXiv
2023-09-09 更新
浏览 5
文本COVID-19文本分类

基本信息

模态
文本
创建/更新时间
2023-09-09

资源简介

COVID-Q是一个包含1,690个关于COVID-19问题的数据集,问题来自13个不同来源,被分类为15个问题类别和207个问题集群。数据模态为文本,主要用于问题分类和聚类分析,旨在帮助开发评估针对COVID-19相关问题的自然语言处理模型。

原始链接

https://github.com/JerryWeiAI/COVID-Q

arXiv 论文 →
访问原始数据

官方服务

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

帮我联系

下载信息

注册下载

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

暂未开放

公开下载

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

免登录

有偿下载

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

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

暂未开放

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

使用方式

数据集获取

git clone https://github.com/JerryWeiAI/COVID-Q.git

curl -L -o repo.zip https://github.com/JerryWeiAI/COVID-Q/archive/refs/heads/master.zip
unzip repo.zip

源站 README 摘录(使用方式)

COVID-Q: 1,690 Questions about COVID-19

Full dataset for the paper “What are People Asking About COVID-19? A Question Classification Dataset
The dataset CSV file can be found at final_master_dataset.csv.
This dataset consists of COVID-19 questions which have been annotated into a broad category (e.g. Transmission, Prevention) and a more specific class such that questions in the same class are all asking the same thing.
Note: Formal definitions of our categories can be found at this link.

Folders included in this respository:

  1. code - all code needed to split dataset into training/testing datasets and to run basic BERT baselines.
  2. data - contains original data (TSVs, CSVs, PDFs) to document all question sources
  3. dataset_categories - contains usable training and testing data for question-category classification.
  4. dataset_classes - contains usable training and testing data for question-class classification.

Datasets

Question-Category Classification

The question-category classification task assigns each question to one of 15 broad categories (e.g. Transmission, Prevention). The goal is to be able to match a given question to the category that best describes what type of information the question is asking for.
In the dataset_categories folder, the following files are included:

  1. question_embeddings_pooled.pickle - dictionary of BERT embeddings for every question in the dataset. Please note that augmented questions’’ embeddings are not included in this pickle and require recreating the pickle file.
  2. testA.csv - contains testing questions from real sources. Column 1 is the question and Column 2 is the category.
  3. testB.csv - contains testing questions that were generated by the author. Column 1 is the question and Column 2 is the category.
  4. train20_augmented.csv - contains training questions with 20 questions given per category for a total of 300 real questions. Data augmentation is used to generate 16 more examples for each question. Column 1 is the question and Column 2 is the category.
  5. train_20.csv - contains training questions with 20 questions given per category for a total of 300

数据加载示例(表格/文本类)

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

完整仓库:github.com/JerryWeiAI/COVID-Q

精度瓶颈?数据缺失?

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

获取专属数据定制方案