bloomsburyai/question-generation

How do i configure it to get multiple questions instead of just the first occurance of the answer ?

Closed this issue · 5 comments

How do i configure it to get multiple questions instead of just the first occurance of the answer ?

This isn't currently a supported option. The model takes as input the span of the answer, so if the answer exists in multiple locations you could modify the demo code to find all of them and request questions based on each of these locations.

@tomhosking I was able to modify the code and get multiple questions for a given answer. Thanks.

@tomhosking I was able to modify the code and get multiple questions for a given answer. Thanks.

Hi! Will it be possible for you to share this modification? It would also help me in my research. Thank you!

@abbyDC https://github.com/pidugusundeep/question-generation-2/commits/master check this out I hope this helps.

Appreciate this. Will check this out. Thank you for your help!