Custom SQuAD2.0 dataset gives an error when using run_qa.py script

hey @julifelipe, my guess is that you have your squad data in the conventional json format, while the run_qa.py expects the examples to be line-delimited json

you can find a simple function to do the conversion here: Question answering bot: fine-tuning with custom dataset - #2 by lewtun

1 Like