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

Method __repr__

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

Source from the content-addressed store, hash-verified

559 yield from self.added_tokens()
560
561 def __repr__(self) -> str:
562 return f"<SentencePieceVocab with {self.vocab_size_base} base tokens and {len(self.added_tokens_list)} added tokens>"
563
564
565class LlamaHfVocab(Vocab):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected