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

Method vocab

data_utils/tokenization.py:502–504  ·  view source on GitHub ↗

dictionary mapping tokens to ids

(self)

Source from the content-addressed store, hash-verified

500
501 @property
502 def vocab(self):
503 """dictionary mapping tokens to ids"""
504 raise NotImplementedError('TextTokenizer vocab property not implemented')
505
506 @staticmethod
507 def exists(model_path):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected