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

Method aggregation

test/general/lm_eval/tasks/pawsx.py:132–140  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

130 }
131
132 def aggregation(self):
133 """
134 :returns: {str: [metric_score] -> float}
135 A dictionary where keys are the names of submetrics and values are
136 functions that aggregate a list of metric scores
137 """
138 return {
139 "acc": mean,
140 }
141
142 def higher_is_better(self):
143 return {"acc": True}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected