MCPcopy Create free account
hub / github.com/algorithmicsuperintelligence/optillm / __init__

Method __init__

optillm/inference.py:793–794  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

791 """Implements dynamic temperature scaling based on input characteristics"""
792
793 def __init__(self):
794 self.token_entropy_cache = {}
795
796 def _compute_token_entropy(self, tokens: List[int]) -> float:
797 """Compute token distribution entropy"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected