MCPcopy Index your code
hub / github.com/zai-org/CodeGeeX / tokenize

Method tokenize

codegeex/megatron/tokenizer/tokenizer.py:143–144  ·  view source on GitHub ↗
(self, text)

Source from the content-addressed store, hash-verified

141
142 @abstractmethod
143 def tokenize(self, text):
144 pass
145
146 def detokenize(self, token_ids):
147 raise NotImplementedError(

Callers 6

generate_samples_evalFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 1

mainFunction · 0.36