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

Method construct_requests

test/general/lm_eval/tasks/asdiv.py:81–83  ·  view source on GitHub ↗
(self, doc, ctx)

Source from the content-addressed store, hash-verified

79 return " " + answer
80
81 def construct_requests(self, doc, ctx):
82 ll, is_greedy = rf.loglikelihood(ctx, self.doc_to_target(doc))
83 return ll, is_greedy
84
85 def process_results(self, doc, results):
86 ll, is_greedy = results

Callers

nothing calls this directly

Calls 2

doc_to_targetMethod · 0.95
loglikelihoodMethod · 0.45

Tested by

no test coverage detected