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

Method process_results

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

Source from the content-addressed store, hash-verified

135 return ll_positive, ll_negative
136
137 def process_results(self, doc, results):
138 ll_positive, ll_negative = results
139 pred = ll_positive > ll_negative
140 gold = doc["label"]
141 return {"acc": pred == gold}
142
143 def higher_is_better(self):
144 return {"acc": True}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected