MCPcopy Create free account
hub / github.com/SooLab/CGFormer / vocab_size

Method vocab_size

bert/tokenization_bert.py:199–200  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

197
198 @property
199 def vocab_size(self):
200 return len(self.vocab)
201
202 def get_vocab(self):
203 return dict(self.vocab, **self.added_tokens_encoder)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected