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

Method fewshot_examples

lm-eval-harness/lm_eval/api/task.py:1420–1422  ·  view source on GitHub ↗
(self, k: int, rnd)

Source from the content-addressed store, hash-verified

1418 return False
1419
1420 def fewshot_examples(self, k: int, rnd) -> List:
1421 assert k == 0
1422 return []
1423
1424 def fewshot_context(self, doc: dict, num_fewshot: int) -> Literal[""]:
1425 assert (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected