MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / aggregation

Method aggregation

test/general/lm_eval/base.py:844–849  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

842 }
843
844 def aggregation(self):
845 return {
846 "word_perplexity": weighted_perplexity,
847 "byte_perplexity": weighted_perplexity,
848 "bits_per_byte": bits_per_byte,
849 }
850
851 @classmethod
852 def count_bytes(cls, doc):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected