I am doing BERT training with a drop dataset; I have downloaded the dataset and modified passages and questions; when I used the replaced dataset to run the script, it could get some results but also returned an error: “input_data = json.load(reader)[“data”]”.
But I don’t know how to fix the problem, could anyone give me some tips? That would be much appreciated! : )
I have found the problem. But not sure how to fix it.
This is the original squad dataset.
This is the drop dataset.
And the code in the script.
So, can I delete the [“data”] here to fix the key error?