MCPcopy Create free account
hub / github.com/THUDM/GLM / TypeToken

Class TypeToken

data_utils/tokenization.py:190–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188
189
190class TypeToken(object):
191 def __init__(self, name, token, Id):
192 self.name = name
193 self.token = token
194 self.Id = Id
195
196 def __str__(self):
197 return str(TYPE_TUPLE(self.name, self.token, self.Id))
198
199
200DEFAULT_TYPE_TOKENS = [

Callers 4

prep_type_tokensFunction · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected