(self, doc)
| 60 | return map(self._process_doc, self.dataset["validation"]) |
| 61 | |
| 62 | def _process_doc(self, doc): |
| 63 | return { |
| 64 | "id": doc["query_id"], |
| 65 | "passage": doc["passage"], |
| 66 | "question": doc["question"], |
| 67 | "answers": self.get_answers(doc), |
| 68 | } |
| 69 | |
| 70 | @classmethod |
| 71 | def get_answers(cls, qa): |
nothing calls this directly
no test coverage detected