MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / construct_requests

Method construct_requests

test/general/lm_eval/base.py:829–832  ·  view source on GitHub ↗
(self, doc, ctx)

Source from the content-addressed store, hash-verified

827 return doc
828
829 def construct_requests(self, doc, ctx):
830 assert not ctx
831 req = rf.loglikelihood_rolling(self.doc_to_target(doc))
832 return req
833
834 def process_results(self, doc, results):
835 (loglikelihood,) = results

Callers

nothing calls this directly

Calls 2

doc_to_targetMethod · 0.95
loglikelihood_rollingMethod · 0.45

Tested by

no test coverage detected