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

Method aggregation

test/general/lm_eval/tasks/mgsm.py:131–137  ·  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

129 return {"acc": self._is_correct(completion, answer)}
130
131 def aggregation(self):
132 """
133 :returns: {str: [float] -> float}
134 A dictionary where keys are the names of submetrics and values are
135 functions that aggregate a list of metrics
136 """
137 return {"acc": mean}
138
139 def higher_is_better(self):
140 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected