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

Method aggregation

lm-eval-harness/lm_eval/tasks/based_swde/task.py:109–117  ·  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

107 }
108
109 def aggregation(self):
110 """
111 :returns: {str: [float] -> float}
112 A dictionary where keys are the names of submetrics and values are
113 functions that aggregate a list of metrics
114 """
115 return {
116 "contains": np.mean, # Exact match (the normalized answer exactly match the gold answer)
117 }
118
119 def higher_is_better(self):
120 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected