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

Method command_token_vocab

data_utils/tokenization.py:311–313  ·  view source on GitHub ↗

dictionary mapping command tokens to ids for tokenizer

(self)

Source from the content-addressed store, hash-verified

309
310 @property
311 def command_token_vocab(self):
312 """dictionary mapping command tokens to ids for tokenizer"""
313 return self._command_token_vocab
314
315 @property
316 def text_tokens(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected