(self, doc)
| 243 | return self.dataset["validation"] |
| 244 | |
| 245 | def doc_to_text(self, doc): |
| 246 | return ( |
| 247 | "{}\n{}\nQuestion: Does this response answer the question?\nAnswer:".format( |
| 248 | doc["question"], |
| 249 | doc["sentence"], |
| 250 | ) |
| 251 | ) |
| 252 | |
| 253 | def doc_to_target(self, doc): |
| 254 | # True = entailment |
nothing calls this directly
no outgoing calls
no test coverage detected