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

Method process_results

test/general/lm_eval/tasks/glue.py:263–267  ·  view source on GitHub ↗
(self, doc, results)

Source from the content-addressed store, hash-verified

261 return ll_yes, ll_no
262
263 def process_results(self, doc, results):
264 ll_yes, ll_no = results
265 pred = ll_no > ll_yes
266 gold = doc["label"]
267 return {"acc": pred == gold}
268
269 def higher_is_better(self):
270 return {"acc": True}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected