MCPcopy Create free account
hub / github.com/google-research/language / vocab_size

Method vocab_size

language/serene/preprocessing.py:275–277  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

273
274 @property
275 def vocab_size(self):
276 # Plus 1 for pad.
277 return len(self._vocab_list) + self._oov_buckets + 1
278
279 @property
280 def tokens(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected