(self, doc)
| 69 | return self.dataset["validation"] |
| 70 | |
| 71 | def doc_to_text(self, doc): |
| 72 | return ( |
| 73 | "Title: " |
| 74 | + doc["title"] |
| 75 | + "\n\n" |
| 76 | + "Background: " |
| 77 | + doc["context"] |
| 78 | + "\n\n" |
| 79 | + "Question: " |
| 80 | + doc["question"] |
| 81 | + "\n\n" |
| 82 | + "Answer:" |
| 83 | ) |
| 84 | |
| 85 | def should_decontaminate(self): |
| 86 | return True |
nothing calls this directly
no outgoing calls
no test coverage detected