MCPcopy Create free account
hub / github.com/bytedance/ABQ-LLM / construct_requests

Method construct_requests

algorithm/lm_eval/base.py:731–734  ·  view source on GitHub ↗
(self, doc, ctx)

Source from the content-addressed store, hash-verified

729 return doc
730
731 def construct_requests(self, doc, ctx):
732 assert not ctx
733 req = rf.loglikelihood_rolling(self.doc_to_target(doc))
734 return req
735
736 def process_results(self, doc, results):
737 (loglikelihood,) = results

Callers

nothing calls this directly

Calls 2

doc_to_targetMethod · 0.95
loglikelihood_rollingMethod · 0.45

Tested by

no test coverage detected