MCPcopy Create free account
hub / github.com/microsoft/BitNet / __repr__

Method __repr__

utils/convert.py:490–491  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

488 yield from self.added_tokens()
489
490 def __repr__(self) -> str:
491 return f"<BpeVocab with {self.vocab_size_base} base tokens and {len(self.added_tokens_list)} added tokens>"
492
493
494class SentencePieceVocab(Vocab):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected