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

Function perplexity_fn

lm-eval-harness/lm_eval/api/metrics.py:168–169  ·  view source on GitHub ↗
(items)

Source from the content-addressed store, hash-verified

166 aggregation="perplexity",
167)
168def perplexity_fn(items): # This is a passthrough function
169 return items
170
171
172@register_metric(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected