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

Function mean

lm-eval-harness/lm_eval/api/metrics.py:25–26  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

23
24@register_aggregation("mean")
25def mean(arr):
26 return sum(arr) / len(arr)
27
28
29@register_aggregation("median")

Callers 3

perplexityFunction · 0.85
pop_stddevFunction · 0.85
sample_stddevFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected