(self, doc)
| 245 | return f"{doc['paragraph']}\nQuestion: {doc['question']}\nAnswer:" |
| 246 | |
| 247 | def doc_to_target(self, doc): |
| 248 | return " " + self.format_answer(answer=doc["answer"], label=doc["label"]) |
| 249 | |
| 250 | @staticmethod |
| 251 | def format_answer(answer, label): |
nothing calls this directly
no test coverage detected