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

Method test_docs

test/general/lm_eval/tasks/lambada.py:42–44  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 return self.dataset["validation"]
41
42 def test_docs(self):
43 if self.has_test_docs():
44 return self.dataset["test"]
45
46 def doc_to_text(self, doc):
47 return doc["text"].rsplit(" ", 1)[0]

Callers

nothing calls this directly

Calls 1

has_test_docsMethod · 0.45

Tested by

no test coverage detected