SQuAD - QABot-Team/twitter-bot GitHub Wiki
The Stanford Question Answering Dataset
The SQuAD is a dataset containing questions and answer pairs. The answers are parts of a given context which is extracted from wikipedia.
Structure of the dataset
interface SQuAD {
data: {
title: string,
paragraphs: {
context: string,
qas: {
id: string,
question: string
answers: {
answer_start: number,
text: string
}[],
}[]
}[]
}[],
version: string
}
Example
{
data:
[{
title: 'University_of_Notre_Dame',
paragraphs:
[{
context: 'Architecturally, the school has a Catholic character. Atop the Main Building\'s gold dome is a golden statue of the Virgin Mary. Immediately in front of the Main Building and facing it, is a copper statue of Christ with arms upraised with the legend "Venite Ad Me Omnes". Next to the Main Building is the Basilica of the Sacred Heart. Immediately behind the basilica is the Grotto, a Marian place of prayer and reflection. It is a replica of the grotto at Lourdes, France where the Virgin Mary reputedly appeared to Saint Bernadette Soubirous in 1858. At the end of the main drive (and in a direct line that connects through 3 statues and the Gold Dome), is a simple, modern stone statue of Mary.',
qas:
[{
id: '5733be284776f41900661182',
question: 'To whom did the Virgin Mary allegedly appear in 1858 in Lourdes France?',
answers:
[{
answer_start: 515,
text: 'Saint Bernadette Soubirous'
}, ... ],
}, ... ]
}, ... ]
}, ... ],
version: '1.1'
}