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

Method training_docs

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

Source from the content-addressed store, hash-verified

901 return False
902
903 def training_docs(self) -> datasets.Dataset:
904 if self.has_training_docs():
905 if self.config.process_docs is not None:
906 return self.config.process_docs(
907 self.dataset[self.config.training_split]
908 )
909 return self.dataset[self.config.training_split]
910
911 def validation_docs(self) -> datasets.Dataset:
912 if self.has_validation_docs():

Callers

nothing calls this directly

Calls 1

has_training_docsMethod · 0.95

Tested by

no test coverage detected