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

Method generate_until

lm-eval-harness/lm_eval/models/dummy.py:24–31  ·  view source on GitHub ↗
(self, requests)

Source from the content-addressed store, hash-verified

22 return res
23
24 def generate_until(self, requests):
25 res = []
26
27 for ctx, _ in requests:
28 res.append("lol")
29 assert ctx.strip() != ""
30
31 return res
32
33 def loglikelihood_rolling(self, requests):
34 res = []

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected