MCPcopy Create free account
hub / github.com/OpenSparseLLMs/MoM / test_docs

Method test_docs

lm-eval-harness/lm_eval/api/task.py:919–923  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

917 return self.dataset[self.config.validation_split]
918
919 def test_docs(self) -> datasets.Dataset:
920 if self.has_test_docs():
921 if self.config.process_docs is not None:
922 return self.config.process_docs(self.dataset[self.config.test_split])
923 return self.dataset[self.config.test_split]
924
925 def fewshot_docs(self):
926 if self.config.fewshot_split is not None:

Callers 1

__init__Method · 0.95

Calls 1

has_test_docsMethod · 0.95

Tested by

no test coverage detected