mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-29 07:59:27 +00:00
* Add eval data splitting * Adjust for split by passage, add test and test data, adjust docstrings, add max_docs to highler level fct
58 lines
1.3 KiB
JSON
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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |