IndexError: Invalid key: 16 is out of bounds for size 0

envizzion
Fri, 30 Jun 2023 01:41:44 +0000

here’s a json used to create the dataset .

drive.google.com

charity-qa-dataset-2.json

Google Drive file.

following is how it was loaded .

dataset = load_dataset('json',data_files='charity-qa-dataset-2.json', split="train")