Closed Domain Question Answering which doesn't answer Questions
Question Answering model of simpletransformers takes data with is_impossible option in the training phase. Also during prediciton, it does not generate answers for all questions since the model learns which questions should be answered.
You can find details below:
https://pypi.org/project/simpletransformers/