数据集:

few_rel

语言:

en

许可:

mit

计算机处理:

monolingual

语言创建人:

found

源数据集:

original
英文

few_rel数据集卡片

数据集概述

few_rel是一个大规模的小样本关系抽取数据集,包含一百多个关系和数以万计的不同领域的注释实例。

支持的任务和排行榜

[需要更多信息]

语言

该数据集包含维基百科上作家使用的英文文本和众包英文注释。

数据集结构

数据实例

训练集中的一个实例:

{'head': {'indices': [[16]], 'text': 'tjq', 'type': 'Q1331049'}, 'names': ['place served by transport hub', 'territorial entity or entities served by this transport hub (airport, train station, etc.)'], 'relation': 'P931', 'tail': {'indices': [[13, 14]], 'text': 'tanjung pandan', 'type': 'Q3056359'}, 'tokens': ['Merpati', 'flight', '106', 'departed', 'Jakarta', '(', 'CGK', ')', 'on', 'a', 'domestic', 'flight', 'to', 'Tanjung', 'Pandan', '(', 'TJQ', ')', '.']}

数据字段

对于默认配置:

  • relation:一个包含关系PID的字符串特征。

  • tokens:一个包含文本的字符串特征列表。

  • head:一个包含:

    • text:表示头实体的字符串特征。
    • type:表示头实体类型的字符串特征。
    • indices:包含标记索引列表的列表。
  • tail:一个包含:

    • text:表示尾实体的字符串特征。
    • type:表示尾实体类型的字符串特征。
    • indices:包含标记索引列表的列表。
  • names:一个包含关系名称的字符串特征列表。对于pubmed_unsupervised split,这是一个包含空字符串的列表。对于val_semeval和val_pubmed split,这是一个包含来自relation字段的字符串的列表。

数据拆分

train_wiki:44800 val_nyt:2500 val_pubmed:1000 val_semeval:8851 val_wiki:11200 pubmed_unsupervised:2500

数据集创建

策划理由

[需要更多信息]

源数据

初始数据收集和规范化

[需要更多信息]

源语言制作者是谁?

[需要更多信息]

注释

注释过程

[需要更多信息]

标注者是谁?

[需要更多信息]

个人和敏感信息

[需要更多信息]

使用数据的注意事项

数据的社会影响

[需要更多信息]

偏见讨论

[需要更多信息]

其他已知限制

[需要更多信息]

附加信息

数据集策划者

对于FewRel:

Han, Xu和Zhu, Hao和Yu, Pengfei和Wang, Ziyun和Yao, Yuan和Liu, Zhiyuan和Sun, Maosong

对于FewRel 2.0:

Gao, Tianyu和Han, Xu和Zhu, Hao和Liu, Zhiyuan和Li, Peng和Sun, Maosong和Zhou, Jie

许可信息

MIT License

Copyright (c) 2018 THUNLP

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

引用信息

@inproceedings{han-etal-2018-fewrel,
    title = "{F}ew{R}el: A Large-Scale Supervised Few-Shot Relation Classification Dataset with State-of-the-Art Evaluation",
    author = "Han, Xu and Zhu, Hao and Yu, Pengfei and Wang, Ziyun and Yao, Yuan and Liu, Zhiyuan and Sun, Maosong",
    booktitle = "Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing",
    month = oct # "-" # nov,
    year = "2018",
    address = "Brussels, Belgium",
    publisher = "Association for Computational Linguistics",
    url = "https://www.aclweb.org/anthology/D18-1514",
    doi = "10.18653/v1/D18-1514",
    pages = "4803--4809"
}
@inproceedings{gao-etal-2019-fewrel,
    title = "{F}ew{R}el 2.0: Towards More Challenging Few-Shot Relation Classification",
    author = "Gao, Tianyu and Han, Xu and Zhu, Hao and Liu, Zhiyuan and Li, Peng and Sun, Maosong and Zhou, Jie",
    booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)",
    month = nov,
    year = "2019",
    address = "Hong Kong, China",
    publisher = "Association for Computational Linguistics",
    url = "https://www.aclweb.org/anthology/D19-1649",
    doi = "10.18653/v1/D19-1649",
    pages = "6251--6256"
}

贡献者

感谢 @gchhablani 添加此数据集。