Timo Moeller 4803da009a
Using PreProcessor functions on eval data (#751)
* Add eval data splitting

* Adjust for split by passage, add test and test data, adjust docstrings, add max_docs to highler level fct
2021-01-20 14:40:10 +01:00

58 lines
1.3 KiB
JSON

{
"data": [
{
"title": "test1",
"paragraphs": [
{
"context": "My name is Carla and I live together with Abdul in Berlin",
"qas": [
{
"answers": [
{
"answer_start": 11,
"text": "Carla"
},
{
"answer_start": 42,
"text": "Abdul"
},
{
"answer_start": 11,
"text": "Carla and I live together with Abdul"
}
],
"id": 7211011040021040393,
"question": "Who lives in Berlin?",
"is_impossible": false
}
]
}
]
},
{
"title": "test2",
"paragraphs": [
{
"context": "This is another test context",
"qas": [
{
"answers": [
{
"answer_start": 0,
"text": "This"
},
{
"answer_start": 5,
"text": "is"
}
],
"id": -5782547119306399562,
"question": "The model can't answer this",
"is_impossible": false
}
]
}
]
}
]
}