How can i provide several questions DocVQA?

Hi, I have just seen examples of single question in docvqa? Is there any way of providing several questions and do inference in a single step? @nielsr

You can forward a batch of questions + images through the model (using the same image). It’s not possible to ask several questions related to an image in a single forward pass, as the model was only trained on (image, question) pairs.