Iâve built a question answering pipeline based on Roberta SQUaDv2 and I am curious if it would be possible to retrieve the entire sentence that an answer was retrieved from instead of just the answer itself?
For example, given context = âWashington D.C. is the capitol of the United States of Americaâ and the question âWhat is the capitol of the USAâ, instead of responding with answer = âWashington D.C.â would it be possible to fetch the entire span of the sentence?
Thanks in advance 