MCPcopy Create free account
hub / github.com/OpenSparseLLMs/MoM / aggregation

Method aggregation

lm-eval-harness/lm_eval/tasks/based_drop/task.py:93–101  ·  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

91
92
93 def aggregation(self):
94 """
95 :returns: {str: [float] -> float}
96 A dictionary where keys are the names of submetrics and values are
97 functions that aggregate a list of metrics
98 """
99 return {
100 "contains": np.mean,
101 }
102
103 def higher_is_better(self):
104 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected