MCPcopy Create free account
hub / github.com/bytedance/ABQ-LLM / aggregation

Method aggregation

algorithm/lm_eval/base.py:746–751  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

744 }
745
746 def aggregation(self):
747 return {
748 "word_perplexity": weighted_perplexity,
749 "byte_perplexity": weighted_perplexity,
750 "bits_per_byte": bits_per_byte,
751 }
752
753 @classmethod
754 def count_bytes(cls, doc):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected