I was looking at the example of Predictor to ask a question from some input text, and it works great! One thing I would like to know is how I can ask two (or three, or four) questions from the same input text? Is there a pretty easy way to do this?
I can call
predictor.predict(passage=text, question="Who is the sender?") and then
predictor.predict(passage=text, question="Who is the receiver?") but it takes twice as long. What I’m wondering is if there is some way to load the model once with the text and then ask each question from that?