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

Method process_results

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

Source from the content-addressed store, hash-verified

363 return ll_true, ll_false
364
365 def process_results(self, doc, results):
366 ll_true, ll_false = results
367 pred = ll_false > ll_true
368 gold = doc["label"]
369 return {"acc": pred == gold}
370
371 def higher_is_better(self):
372 return {"acc": True}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected