Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zai-org/CodeGeeX
/ encode
Method
encode
codegeex/mindspore/src/tokenization_jieba.py:71–73 ·
view source on GitHub ↗
(self, text)
Source
from the content-addressed store, hash-verified
69
return
self.decode(ids)
70
71
def
encode(self, text):
72
res = self.tokenize(text)
73
return
res
74
75
def
decode(self, tokens):
76
text = self.sp.decode(tokens)
Callers
10
dicts_to_jsonl
Function · 0.45
unsafe_execute
Function · 0.45
evaluate_functional_correctness
Function · 0.45
evaluate_functional_correctness
Function · 0.45
write_jsonl
Function · 0.45
__init__
Method · 0.45
__getitem__
Method · 0.45
__init__
Method · 0.45
encode_code
Method · 0.45
tokenize
Method · 0.45
Calls
1
tokenize
Method · 0.95
Tested by
no test coverage detected