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

Method process_results

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

Source from the content-addressed store, hash-verified

87 return ll_true, ll_false
88
89 def process_results(self, doc, results):
90 ll_true, ll_false = results
91 pred = ll_true > ll_false
92 gold = doc["label"]
93 return {"mcc": (gold, pred)}
94
95 def higher_is_better(self):
96 return {"mcc": True}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected