(self, doc)
| 453 | return self.dataset["validation"] |
| 454 | |
| 455 | def doc_to_text(self, doc): |
| 456 | return "Question 1: {}\nQuestion 2: {}\nQuestion: Do both questions ask the same thing?\nAnswer:".format( |
| 457 | doc["question1"], |
| 458 | doc["question2"], |
| 459 | ) |
| 460 | |
| 461 | def doc_to_target(self, doc): |
| 462 | return " {}".format(yesno(doc["label"])) |
nothing calls this directly
no outgoing calls
no test coverage detected