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

Method construct_requests

test/general/lm_eval/tasks/superglue.py:69–74  ·  view source on GitHub ↗
(self, doc, ctx)

Source from the content-addressed store, hash-verified

67 return " " + yesno(doc["label"])
68
69 def construct_requests(self, doc, ctx):
70
71 ll_yes, _ = rf.loglikelihood(ctx, " yes")
72 ll_no, _ = rf.loglikelihood(ctx, " no")
73
74 return ll_yes, ll_no
75
76 def process_results(self, doc, results):
77 ll_yes, ll_no = results

Callers

nothing calls this directly

Calls 1

loglikelihoodMethod · 0.45

Tested by

no test coverage detected