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

Method tok_decode

test/general/lm_eval/models/gpt3.py:114–115  ·  view source on GitHub ↗
(self, tokens)

Source from the content-addressed store, hash-verified

112 return self.tokenizer.encode(string, add_special_tokens=False)
113
114 def tok_decode(self, tokens):
115 return self.tokenizer.decode(tokens)
116
117 def _loglikelihood_tokens(self, requests, disable_tqdm=False):
118 res = []

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected