Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modelscope/modelscope
/ index
Method
index
modelscope/models/nlp/codegeex/tokenizer.py:113–114 ·
view source on GitHub ↗
(self, sym: str)
Source
from the content-addressed store, hash-verified
111
return
self._num_symbols
112
113
def
index(self, sym: str):
114
return
self._idx[sym]
115
116
def
string(self, idx: int):
117
return
self._symbols[idx]
Callers
15
map_token
Method · 0.95
addDBIndicator
Method · 0.80
pointerBack
Method · 0.80
_download_ms
Function · 0.80
__getitem__
Method · 0.80
create_a2d_sentences_ground_truth_test_annotations
Function · 0.80
__setitem__
Method · 0.80
postprocess
Method · 0.80
postprocess
Method · 0.80
predict_and_format
Function · 0.80
_parse_known_args
Method · 0.80
passage_correctness
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected