Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenBitSys/BitDistiller
/ weighted_perplexity
Function
weighted_perplexity
test/general/lm_eval/metrics.py:103–104 ·
view source on GitHub ↗
(items)
Source
from the content-addressed store, hash-verified
101
102
103
def
weighted_perplexity(items):
104
return
math.exp(-weighted_mean(items))
105
106
107
def
bits_per_byte(items):
Callers
nothing calls this directly
Calls
1
weighted_mean
Function · 0.85
Tested by
no test coverage detected