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

Method tokens

data_utils/tokenization.py:497–499  ·  view source on GitHub ↗

list (or iterable) of text tokens for text tokenizer

(self)

Source from the content-addressed store, hash-verified

495
496 @property
497 def tokens(self):
498 """list (or iterable) of text tokens for text tokenizer"""
499 raise NotImplementedError('TextTokenizer tokens property not implemented')
500
501 @property
502 def vocab(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected