数据集:
语言:
许可:
计算机处理:
monolingual语言创建人:
found批注创建人:
crowdsourced预印本库:
arxiv:2004.10645大小:
10K<n<100K任务:
子任务:
open-domain-qaAmbigNQ是一个包含14,042个问题的数据集,这些问题来自现有的开放领域问答基准NQ-open。我们发现NQ-open中超过一半的问题存在歧义。这些歧义的类型多种多样,有时候很微妙,其中许多只有在审查非常大的文本语料库提供的证据后才能明显地看出来。AMBIGNQ是一个包含14,042个注释的NQ-OPEN问题数据集,其中包含各种类型的歧义。我们提供了新数据集AmbigNQ的两个版本:一个完整版本包含所有注释元数据和一个轻量版本只包含输入和输出。
问题回答
英语
数据集中的一个示例如下所示:
{'annotations': {'answer': [[]],
'qaPairs': [{'answer': [['April 19, 1987'], ['December 17, 1989']],
'question': ['When did the Simpsons first air on television as an animated short on the Tracey Ullman Show?',
'When did the Simpsons first air as a half-hour prime time show?']}],
'type': ['multipleQAs']},
'id': '-4469503464110108318',
'nq_answer': ['December 17 , 1989'],
'nq_doc_title': 'The Simpsons',
'question': 'When did the simpsons first air on television?',
'used_queries': {'query': ['When did the simpsons first air on television?'],
'results': [{'snippet': ['The <b>Simpsons</b> is an American animated <b>television</b> sitcom starring the animated \nSimpson family, ... Since its <b>debut</b> on December 17, 1989, the show <b>has</b> \nbroadcast 673 episodes and its 30th season started ... The <b>Simpsons first</b> season \n<b>was</b> the Fox network's <b>first TV</b> series to rank among a season's top 30 highest-\nrated shows.',
'The <b>Simpsons</b> is an American animated sitcom created by Matt Groening for the \nFox ... Since its <b>debut</b> on December 17, 1989, 674 episodes of The <b>Simpsons</b> \nhave been broadcast. ... When producer James L. Brooks <b>was</b> working on the \n<b>television</b> variety show The Tracey Ullman Show, he decided to include small \nanimated ...',
'... in shorts from The Tracey Ullman Show as their <b>television debut</b> in 1987. The \n<b>Simpsons</b> shorts are a series of animated shorts that <b>aired</b> as a recurring \nsegment on Fox variety <b>television</b> series The Tracey ... The final short to <b>air was</b> "\n<b>TV Simpsons</b>", originally airing on May 14, 1989. The <b>Simpsons</b> later debuted on\n ...',
'The <b>first</b> season of the American animated <b>television</b> series The <b>Simpsons</b> \noriginally <b>aired</b> on the Fox network between December 17, 1989, and May 13, \n1990, beginning with the Christmas special "<b>Simpsons</b> Roasting on an Open Fire\n". The executive producers for the <b>first</b> production season <b>were</b> Matt Groening, ...',
'The <b>Simpsons</b> is an American animated <b>television</b> sitcom created by Matt \nGroening for the Fox ... Since its <b>debut</b> on December 17, 1989, The <b>Simpsons</b> \n<b>has</b> broadcast 674 episodes. The show holds several American <b>television</b> \nlongevity ...',
'The opening sequence of the American animated <b>television</b> series The <b>Simpsons</b> \nis among the most popular opening sequences in <b>television</b> and is accompanied \nby one of <b>television's</b> most recognizable theme songs. The <b>first</b> episode to use \nthis intro <b>was</b> the series' second episode "Bart the ... <b>was</b> the <b>first</b> episode of The \n<b>Simpsons</b> to <b>air</b> in 720p high-definition <b>television</b>, ...',
'"<b>Simpsons</b> Roasting on an Open Fire", titled onscreen as "The <b>Simpsons</b> \nChristmas Special", is the premiere episode of the American animated <b>TV</b> series \nThe <b>Simpsons</b>, ... The show <b>was</b> originally intended to <b>debut</b> earlier in 1989 with "\nSome Enchanted Evening", but due to animation problems with that episode, the \nshow ...',
'"Stark Raving Dad" is the <b>first</b> episode of the third season of the American \nanimated <b>television</b> series The <b>Simpsons</b>. It <b>first aired</b> on the Fox network in the \nUnited States on September 19, 1991. ... The <b>Simpsons was</b> the second highest \nrated show on Fox the week it <b>aired</b>, behind Married... with Children. "Stark \nRaving Dad," ...',
'The <b>Simpsons</b>' twentieth season <b>aired</b> on Fox from September 28, 2008 to May \n17, 2009. With this season, the show tied Gunsmoke as the longest-running \nAmerican primetime <b>television</b> series in terms of total number ... It <b>was</b> the <b>first</b>-\never episode of the show to <b>air</b> in Europe before being seen in the United States.',
'The animated <b>TV</b> show The <b>Simpsons</b> is an American English language \nanimated sitcom which ... The <b>Simpsons was</b> dubbed for the <b>first</b> time in Punjabi \nand <b>aired</b> on Geo <b>TV</b> in Pakistan. The name of the localised Punjabi version is \nTedi Sim ...'],
'title': ['History of The Simpsons',
'The Simpsons',
'The Simpsons shorts',
'The Simpsons (season 1)',
'List of The Simpsons episodes',
'The Simpsons opening sequence',
'Simpsons Roasting on an Open Fire',
'Stark Raving Dad',
'The Simpsons (season 20)',
'Non-English versions of The Simpsons']}]},
'viewed_doc_titles': ['The Simpsons']}
完整版
{'id': Value(dtype='string', id=None),
'question': Value(dtype='string', id=None),
'annotations': Sequence(feature={'type': Value(dtype='string', id=None), 'answer': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'qaPairs': Sequence(feature={'question': Value(dtype='string', id=None), 'answer': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None)}, length=-1, id=None)}, length=-1, id=None),
'viewed_doc_titles': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None),
'used_queries': Sequence(feature={'query': Value(dtype='string', id=None), 'results': Sequence(feature={'title': Value(dtype='string', id=None), 'snippet': Value(dtype='string', id=None)}, length=-1, id=None)}, length=-1, id=None),
'nq_answer': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None),
'nq_doc_title': Value(dtype='string', id=None)}
在原始数据格式中,根据type字段为singleAnswer或multipleQAs的不同,注释的键是不同的。但是,此实现对于不可用的键使用了一个空列表[]。
请参考数据集内容( https://github.com/shmsw25/AmbigQA#dataset-contents )获取更多详细信息。
for example in train_light_dataset:
for i,t in enumerate(example['annotations']['type']):
if t =='singleAnswer':
# use the example['annotations']['answer'][i]
# example['annotations']['qaPairs'][i] - > is []
print(example['annotations']['answer'][i])
else:
# use the example['annotations']['qaPairs'][i]
# example['annotations']['answer'][i] - > is []
print(example['annotations']['qaPairs'][i])
请参考数据集内容( https://github.com/shmsw25/AmbigQA#dataset-contents )获取更多详细信息。
轻量版本只包含id、question和annotations字段。
[需要更多信息]
@article{ kwiatkowski2019natural,
title={ Natural questions: a benchmark for question answering research},
author={ Kwiatkowski, Tom and Palomaki, Jennimaria and Redfield, Olivia and Collins, Michael and Parikh, Ankur and Alberti, Chris and Epstein, Danielle and Polosukhin, Illia and Devlin, Jacob and Lee, Kenton and others },
journal={ Transactions of the Association for Computational Linguistics },
year={ 2019 }
}
初始数据收集和规范化 [需要更多信息]
语言的来源是谁?[需要更多信息]
[需要更多信息]
注释者是谁?[需要更多信息]
[需要更多信息]
[需要更多信息]
[需要更多信息]
[需要更多信息]
[需要更多信息]
@inproceedings{ min2020ambigqa,
title={ {A}mbig{QA}: Answering Ambiguous Open-domain Questions },
author={ Min, Sewon and Michael, Julian and Hajishirzi, Hannaneh and Zettlemoyer, Luke },
booktitle={ EMNLP },
year={2020}
}
感谢 @cceyda 添加了这个数据集。