Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenBitSys/BitDistiller
/ perplexity
Function
perplexity
test/general/lm_eval/metrics.py:94–95 ·
view source on GitHub ↗
(items)
Source
from the content-addressed store, hash-verified
92
93
94
def
perplexity(items):
95
return
math.exp(-mean(items))
96
97
98
def
weighted_mean(items):
Callers
nothing calls this directly
Calls
1
mean
Function · 0.85
Tested by
no test coverage detected