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

Method __init__

data_utils/tokenization.py:155–160  ·  view source on GitHub ↗
(self, name, token, Id, lstrip=False, rstrip=False)

Source from the content-addressed store, hash-verified

153
154class CommandToken(object):
155 def __init__(self, name, token, Id, lstrip=False, rstrip=False):
156 self.name = name
157 self.token = token
158 self.Id = Id
159 self.lstrip = lstrip
160 self.rstrip = rstrip
161
162 def __str__(self):
163 return str(COMMAND_TUPLE(self.name, self.token, self.Id))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected