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

Function get_aggregation

lm-eval-harness/lm_eval/api/registry.py:151–155  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

149
150
151def get_aggregation(name: str) -> Callable[[], Dict[str, Callable]]:
152 try:
153 return AGGREGATION_REGISTRY[name]
154 except KeyError:
155 eval_logger.warning(f"{name} not a registered aggregation metric!")
156
157
158def get_metric_aggregation(name: str) -> Callable[[], Dict[str, Callable]]:

Callers 1

__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected