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

Method aggregation

lm-eval-harness/lm_eval/tasks/based_fda/task.py:81–89  ·  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

79 }
80
81 def aggregation(self):
82 """
83 :returns: {str: [float] -> float}
84 A dictionary where keys are the names of submetrics and values are
85 functions that aggregate a list of metrics
86 """
87 return {
88 "contains": np.mean, # Exact match (the normalized answer exactly match the gold answer)
89 }
90
91 def higher_is_better(self):
92 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected