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

Method process_results

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

Source from the content-addressed store, hash-verified

312 return ll_true, ll_false
313
314 def process_results(self, doc, results):
315 ll_true, ll_false = results
316 pred = ll_true > ll_false
317 gold = doc["label"]
318 return {"acc": pred == gold}
319
320 def higher_is_better(self):
321 return {"acc": True}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected