Issues with Finetuning QuestionAnswer model

Hi ,

I am attempting to finetune a QuestionAnswer model (distilbert) using this example with a custom dataset with long contexts. For this attempt I have used small data set ~ 1000 records. This is my first such attempt; please forgive me if this is a very basic question.

I have saved the model and the PreTrainedTokenizerFast tokenizer. But when I use the saved model and tokenizer, I do not get any predictions. Following is my code for

Can someone please help me understand what I am doing wrong?