(self, doc)
| 77 | return self.dataset["test"] |
| 78 | |
| 79 | def doc_to_text(self, doc): |
| 80 | if doc["answer"] is not None: |
| 81 | return doc["question"] + "\n" + self.ANSWER |
| 82 | else: |
| 83 | return self.QUESTION + " " + doc["question"] + "\n" + self.ANSWER |
| 84 | |
| 85 | def doc_to_target(self, doc): |
| 86 | if doc["answer"] is not None: |
nothing calls this directly
no outgoing calls
no test coverage detected