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

Method test_docs

test/general/lm_eval/tasks/pubmedqa.py:48–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 return True
47
48 def test_docs(self):
49 if self.has_test_docs():
50 # HF is labelled as train but its really just for testing
51 return self.dataset["train"]
52
53 def doc_to_text(self, doc):
54 ctxs = "\n".join(doc["context"]["contexts"])

Callers

nothing calls this directly

Calls 1

has_test_docsMethod · 0.95

Tested by

no test coverage detected