annotation tool export to SQUAD file format #4359
Unanswered
johnt-softclouds
asked this question in
Questions
Replies: 1 comment
-
Hey @johnt-softclouds annotation tool exports data in Squad 2.0 format. Double-check as well, please. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I imported text into the Annotation Tool and created some annotations. I exported the project as a JSON file. The file has the following format:
{
"data": [
{
"paragraphs": [
{
"qas": [
{
"question": "How is Gendry related to Robert Baratheon",
"id": 8,
"answers": [
{
"answer_id": 8,
"document_id": 184,
"question_id": 8,
"text": "Melisandre returns to Dragonstone with Gendry and t...",
"answer_start": 1229,
"answer_end": 1354,
"answer_category": null
}
],
"is_impossible": false
}
}
]
}
This format is very different from the SQUAD file at https://rajpurkar.github.io/SQuAD-explorer/dataset/train-v1.1.json
Can the Annotation Tool export to the format like the train-v1.1.json file?
Beta Was this translation helpful? Give feedback.
All reactions