CoQA's implementation only predicts the last answer of each text
#1,231 opened on Jan 1, 2024
Repository metrics
- Stars
- (12,755 stars)
- PR merge metrics
- (Avg merge 15d 7h) (11 merged PRs in 30d)
Description
For CoQA, in coqa/utils.py, only the last answer of each text (i.e. the answer for the last turn_id, with all the previous questions and answers in the context window) is predicted. On the website of the authors of CoQA, they seem to consider all turn_id (see their sample prediction file where they have answers for every turn_id, and the official evaluation script where they do an average of the result for every turn_id).
Here is an excerpt from the paper (https://arxiv.org/pdf/1808.07042.pdf) :
I haven't found how it's implemented with other popular LLM evaluation frameworks, but I'm pretty sure that predicting only the answer to the last question is not what is intended by the authors of CoQA.