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

Method sample

lm-eval-harness/lm_eval/api/samplers.py:87–93  ·  view source on GitHub ↗

TODO: this should return approximately class-balanced samples from our fewshot examples. TODO: what order should they be in? maybe random?

(self, n)

Source from the content-addressed store, hash-verified

85
86class BalancedSampler(ContextSampler):
87 def sample(self, n) -> None:
88 """
89 TODO: this should return approximately class-balanced samples from our fewshot examples.
90 TODO: what order should they be in? maybe random?
91 """
92
93 pass
94
95
96class ManualSampler(ContextSampler):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected