MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / _process_doc

Method _process_doc

test/general/lm_eval/tasks/drop.py:62–68  ·  view source on GitHub ↗
(self, doc)

Source from the content-addressed store, hash-verified

60 return map(self._process_doc, self.dataset["validation"])
61
62 def _process_doc(self, doc):
63 return {
64 "id": doc["query_id"],
65 "passage": doc["passage"],
66 "question": doc["question"],
67 "answers": self.get_answers(doc),
68 }
69
70 @classmethod
71 def get_answers(cls, qa):

Callers

nothing calls this directly

Calls 1

get_answersMethod · 0.95

Tested by

no test coverage detected