How can I build a custom Question answering model SQuAD

How can I train the Squad model using my custom dataset

To train the SQuAD model on your dataset you should copy files with train and dev data to the folder DeepPavlov/squad_torch_bert.json at f5117cd9ad1e64f6c2d970ecaa42fc09ccb23144 · deepmipt/DeepPavlov · GitHub
Then you should change the path where the model checkpoints will be saved DeepPavlov/squad_torch_bert.json at f5117cd9ad1e64f6c2d970ecaa42fc09ccb23144 · deepmipt/DeepPavlov · GitHub
Your dataset should have the structure appropriate for squad_dataset_reader (example of the dataset: http://files.deeppavlov.ai/datasets/squad-v1.1.tar.gz)

Thank you, I have build this.
Now can you please tell me how to build a custom model for open domain question answering