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

Method instances

lm-eval-harness/lm_eval/api/task.py:325–329  ·  view source on GitHub ↗

After calling `task.build_all_requests()`, tasks maintain a list of the dataset instances which will be evaluated.

(self)

Source from the content-addressed store, hash-verified

323
324 @property
325 def instances(self):
326 """After calling `task.build_all_requests()`, tasks
327 maintain a list of the dataset instances which will be evaluated.
328 """
329 return self._instances
330
331 def fewshot_examples(self, k, rnd):
332 if self._training_docs is None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected