MCPcopy Create free account
hub / github.com/OpenSparseLLMs/MoM / aggregation

Method aggregation

lm-eval-harness/lm_eval/api/task.py:1468–1473  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1466 }
1467
1468 def aggregation(self) -> dict:
1469 return {
1470 "word_perplexity": weighted_perplexity,
1471 "byte_perplexity": weighted_perplexity,
1472 "bits_per_byte": bits_per_byte,
1473 }
1474
1475 @classmethod
1476 def count_bytes(cls, doc) -> int:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected