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

Method process_results

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

Source from the content-addressed store, hash-verified

197 return ll_true, ll_neither, ll_false
198
199 def process_results(self, doc, results):
200 gold = doc["label"]
201 pred = np.argmax(results)
202 return {"acc": pred == gold}
203
204 def higher_is_better(self):
205 return {"acc": True}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected