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

Method test_docs

test/general/lm_eval/tasks/mathqa.py:49–50  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

47 return map(self._process_doc, self.dataset["validation"])
48
49 def test_docs(self):
50 return map(self._process_doc, self.dataset["test"])
51
52 def _process_doc(self, doc):
53 answer_idx = ["a", "b", "c", "d", "e"].index(doc["correct"])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected