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

Method tok_decode

test/general/lm_eval/models/gpt2.py:157–158  ·  view source on GitHub ↗
(self, tokens)

Source from the content-addressed store, hash-verified

155 return self.tokenizer.encode(string, add_special_tokens=False)
156
157 def tok_decode(self, tokens):
158 return self.tokenizer.decode(tokens)
159
160 def _model_call(self, inps):
161 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected