Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenSparseLLMs/MoM
/ byte_perplexity_fn
Function
byte_perplexity_fn
lm-eval-harness/lm_eval/api/metrics.py:188–189 ·
view source on GitHub ↗
(items)
Source
from the content-addressed store, hash-verified
186
aggregation=
"weighted_perplexity"
,
187
)
188
def
byte_perplexity_fn(items):
# This is a passthrough function
189
return
items
190
191
192
@register_metric(
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected