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

Method test_docs

test/general/lm_eval/tasks/qa4mre.py:43–45  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41 return True
42
43 def test_docs(self):
44 # `qa4mre` only has train data so we use it for the test docs.
45 return map(self._process_doc, self.dataset["train"])
46
47 def _process_doc(self, doc):
48 choices = doc["answer_options"]["answer_str"]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected