(self, doc)
| 178 | return self.dataset["test_matched"] |
| 179 | |
| 180 | def doc_to_text(self, doc): |
| 181 | return "{}\nQuestion: {} True, False or Neither?\nAnswer:".format( |
| 182 | doc["premise"], |
| 183 | doc["hypothesis"].strip() |
| 184 | + ("" if doc["hypothesis"].strip().endswith(".") else "."), |
| 185 | ) |
| 186 | |
| 187 | def doc_to_target(self, doc): |
| 188 | # True = entailment |
nothing calls this directly
no outgoing calls
no test coverage detected