MCPcopy Create free account
hub / github.com/zai-org/CodeGeeX / detokenize

Method detokenize

codegeex/megatron/tokenizer/tokenizer.py:146–149  ·  view source on GitHub ↗
(self, token_ids)

Source from the content-addressed store, hash-verified

144 pass
145
146 def detokenize(self, token_ids):
147 raise NotImplementedError(
148 "detokenizer is not implemented for {} " "tokenizer".format(self.name)
149 )
150
151 @property
152 def cls(self):

Callers 11

generate_samples_evalFunction · 0.45
__repr__Method · 0.45
get_codeMethod · 0.45
beam_searchFunction · 0.45
__repr__Method · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 1

mainFunction · 0.36