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

Method tok_encode

test/general/lm_eval/models/textsynth.py:81–83  ·  view source on GitHub ↗
(self, string: str)

Source from the content-addressed store, hash-verified

79 raise NotImplementedError()
80
81 def tok_encode(self, string: str):
82 # Isn't used because we override loglikelihood, loglikelihood_rolling and greedy_until
83 raise NotImplementedError()
84
85 def tok_decode(self, tokens):
86 # Isn't used because we override loglikelihood, loglikelihood_rolling and greedy_until

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected