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

Method __call__

lm-eval-harness/lm_eval/api/metrics.py:373–380  ·  view source on GitHub ↗
(self, v)

Source from the content-addressed store, hash-verified

371 self.n = n
372
373 def __call__(self, v):
374 i, xs = v
375 rnd = random.Random()
376 rnd.seed(i)
377 res = []
378 for _ in range(self.n):
379 res.append(self.f(rnd.choices(xs, k=len(xs))))
380 return res
381
382
383def bootstrap_stderr(f, xs, iters):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected