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

Method aggregation

test/general/lm_eval/tasks/drop.py:284–290  ·  view source on GitHub ↗

:returns: {str: [float] -> float} A dictionary where keys are the names of submetrics and values are functions that aggregate a list of metrics

(self)

Source from the content-addressed store, hash-verified

282 return normalized
283
284 def aggregation(self):
285 """
286 :returns: {str: [float] -> float}
287 A dictionary where keys are the names of submetrics and values are
288 functions that aggregate a list of metrics
289 """
290 return {"em": mean, "f1": mean}
291
292 def higher_is_better(self):
293 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected