Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_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
generate_samples_unconditional
Function · 0.45
__repr__
Method · 0.45
get_code
Method · 0.45
beam_search
Function · 0.45
__repr__
Method · 0.45
run_generation_distributed
Function · 0.45
main
Function · 0.45
Calls
no outgoing calls
Tested by
1
main
Function · 0.36