Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_input_from_file
Function · 0.45
generate_samples_eval
Function · 0.45
generate_samples_interactive_code_contest
Function · 0.45
generate_samples_interactive
Function · 0.45
run_generation_distributed
Function · 0.45
main
Function · 0.45
Calls
no outgoing calls
Tested by
1
main
Function · 0.36