(self, doc)
| 195 | self.dataset = self.dataset.filter(_filter, num_proc=self.PRUNE_NUM_PROC) |
| 196 | |
| 197 | def doc_to_target(self, doc): |
| 198 | return " " + ", ".join(doc["outputs"]) |
| 199 | |
| 200 | def doc_to_text(self, doc): |
| 201 | return f"{doc['text']}\n\nQuestion: {doc['question']}\nAnswer:" |
nothing calls this directly
no outgoing calls
no test coverage detected