How to load this dataset directly with the
π€/datasets
library:
from datasets import load_dataset dataset = load_dataset("coqa")
kiri-ai/t5-base-qa-summary-emotion
CoQA: A Conversational Question Answering Challenge
We show detailed information for up to 5 configurations of the dataset.
An example of 'train' looks as follows.
This example was too long and was cropped:
{
"answers": "{\"answer_end\": [179, 494, 511, 545, 879, 1127, 1128, 94, 150, 412, 1009, 1046, 643, -1, 764, 724, 125, 1384, 881, 910], \"answer_...",
"questions": "[\"When was the Vat formally opened?\", \"what is the library for?\", \"for what subjects?\", \"and?\", \"what was started in 2014?\", \"ho...",
"source": "wikipedia",
"story": "\"The Vatican Apostolic Library (), more commonly called the Vatican Library or simply the Vat, is the library of the Holy See, l..."
}
The data fields are the same among all splits.
source
: a string
feature.story
: a string
feature.questions
: a list
of string
features.answers
: a dictionary feature containing:input_text
: a string
feature.answer_start
: a int32
feature.answer_end
: a int32
feature.name | train | validation |
---|---|---|
default | 7199 | 500 |
@InProceedings{SivaAndAl:Coca,
author = {Siva, Reddy and Danqi, Chen and Christopher D., Manning},
title = {WikiQA: A Challenge Dataset for Open-Domain Question Answering},
journal = { arXiv},
year = {2018},
}