(self, doc)
| 188 | return doc["premise"].strip()[:-1] + f" {connector}" |
| 189 | |
| 190 | def doc_to_target(self, doc): |
| 191 | correct_choice = doc["choice1"] if doc["label"] == 0 else doc["choice2"] |
| 192 | # Connect the sentences |
| 193 | return " " + self.convert_choice(correct_choice) |
| 194 | |
| 195 | def construct_requests(self, doc, ctx): |
| 196 | choice1 = " " + self.convert_choice(doc["choice1"]) |
nothing calls this directly
no test coverage detected