数据集:

squadshifts

语言:

en

许可:

cc-by-4.0

计算机处理:

monolingual

语言创建人:

crowdsourcedfound

批注创建人:

crowdsourced

源数据集:

original

大小:

10K<n<100K

任务:

问答

子任务:

extractive-qa
英文

"squadshifts"数据集卡片

数据集概述

SquadShifts包含了Stanford Question Answering Dataset (SQuAD)的四个新的测试集,分别来自四个不同的领域:维基百科文章、纽约时报文章、Reddit评论和亚马逊产品评论。每个数据集都是使用与原始SQuAD v1.1数据集相同的数据生成流程、亚马逊众包机械土耳其接口和数据清洗代码生成的。"new-wikipedia"数据集用于测试原始SQuAD v1.1数据集的过拟合情况。"new-york-times"、"reddit"和"amazon"数据集用于测试对自然分布变化的鲁棒性。我们鼓励SQuAD模型开发人员也在这些新数据集上评估他们的方法!

支持的任务和排行榜

More Information Needed

语言

More Information Needed

数据集结构

数据实例

amazon
  • 下载的数据集文件大小: 16.50 MB
  • 生成的数据集大小: 9.44 MB
  • 使用的总磁盘空间: 25.94 MB

'测试集'的示例如下所示。

{
    "answers": {
        "answer_start": [25],
        "text": ["amazon"]
    },
    "context": "This is a paragraph from amazon.",
    "id": "090909",
    "question": "Where is this paragraph from?",
    "title": "amazon dummy data"
}
new_wiki
  • 下载的数据集文件大小: 16.50 MB
  • 生成的数据集大小: 7.86 MB
  • 使用的总磁盘空间: 24.37 MB

'测试集'的示例如下所示。

{
    "answers": {
        "answer_start": [25],
        "text": ["wikipedia"]
    },
    "context": "This is a paragraph from wikipedia.",
    "id": "090909",
    "question": "Where is this paragraph from?",
    "title": "new_wiki dummy data"
}
nyt
  • 下载的数据集文件大小: 16.50 MB
  • 生成的数据集大小: 10.79 MB
  • 使用的总磁盘空间: 27.29 MB

'测试集'的示例如下所示。

{
    "answers": {
        "answer_start": [25],
        "text": ["new york times"]
    },
    "context": "This is a paragraph from new york times.",
    "id": "090909",
    "question": "Where is this paragraph from?",
    "title": "nyt dummy data"
}
reddit
  • 下载的数据集文件大小: 16.50 MB
  • 生成的数据集大小: 9.47 MB
  • 使用的总磁盘空间: 25.97 MB

'测试集'的示例如下所示。

{
    "answers": {
        "answer_start": [25],
        "text": ["reddit"]
    },
    "context": "This is a paragraph from reddit.",
    "id": "090909",
    "question": "Where is this paragraph from?",
    "title": "reddit dummy data"
}

数据字段

所有拆分的数据字段都是相同的。

amazon
  • id :一个 字符串 特征。
  • title :一个 字符串 特征。
  • context :一个 字符串 特征。
  • question :一个 字符串 特征。
  • answers :一个包含以下内容的字典特征:
    • text :一个 字符串 特征。
    • answer_start :一个 int32 特征。
new_wiki
  • id :一个 字符串 特征。
  • title :一个 字符串 特征。
  • context :一个 字符串 特征。
  • question :一个 字符串 特征。
  • answers :一个包含以下内容的字典特征:
    • text :一个 字符串 特征。
    • answer_start :一个 int32 特征。
nyt
  • id :一个 字符串 特征。
  • title :一个 字符串 特征。
  • context :一个 字符串 特征。
  • question :一个 字符串 特征。
  • answers :一个包含以下内容的字典特征:
    • text :一个 字符串 特征。
    • answer_start :一个 int32 特征。
reddit
  • id :一个 字符串 特征。
  • title :一个 字符串 特征。
  • context :一个 字符串 特征。
  • question :一个 字符串 特征。
  • answers :一个包含以下内容的字典特征:
    • text :一个 字符串 特征。
    • answer_start :一个 int32 特征。

数据拆分

name test
amazon 9885
new_wiki 7938
nyt 10065
reddit 9803

数据集创建

策划理由

More Information Needed

资源数据

初始数据收集和规范化

More Information Needed

资源语言制作方是谁?

More Information Needed

标注

标注流程

More Information Needed

标注者是谁?

More Information Needed

个人和敏感信息

More Information Needed

使用数据时的注意事项

数据集的社会影响

More Information Needed

偏见讨论

More Information Needed

其他已知限制

More Information Needed

其他信息

数据集策划者

More Information Needed

许可信息

所有数据集均根据 CC BY 4.0 许可证进行分发。

引用信息

@InProceedings{pmlr-v119-miller20a,
  title = {The Effect of Natural Distribution Shift on Question Answering Models},
  author = {Miller, John and Krauth, Karl and Recht, Benjamin and Schmidt, Ludwig},
  booktitle = {Proceedings of the 37th International Conference on Machine Learning},
  pages = {6905--6916},
  year = {2020},
  editor = {III, Hal Daumé and Singh, Aarti},
  volume = {119},
  series = {Proceedings of Machine Learning Research},
  month = {13--18 Jul},
  publisher = {PMLR},
  pdf = {http://proceedings.mlr.press/v119/miller20a/miller20a.pdf},
  url = {https://proceedings.mlr.press/v119/miller20a.html},
}

贡献

感谢 @thomwolf , @lewtun , @millerjohnp , @albertvillanova 添加了此数据集。