Basically, for SQUAD dataset, the model returns part of the context as the answer. However, consider for the below context:
Jessica went to sit in her rocking chair. Today was her birthday and she was turning 80. Her granddaughter Annie was coming over in the afternoon and Jessica was very excited to see her. Her daughter Melanie and Melanie’s husband Josh were coming as well.
For Question: How many people are visiting? The answer should be Three. Three is not part of the context but the correct answer in the given case. Is there any way to fine-tune BERT in order to give that type of answer?
The above example is from CoQA dataset.
Basically, for SQUAD dataset, the model returns part of the context as the answer. However, consider for the below context:
For Question:
How many people are visiting?
The answer should beThree
. Three is not part of the context but the correct answer in the given case. Is there any way to fine-tune BERT in order to give that type of answer? The above example is from CoQA dataset.