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

Method __repr__

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

Source from the content-addressed store, hash-verified

682 yield from self.added_tokens()
683
684 def __repr__(self) -> str:
685 return f"<LlamaHfVocab with {self.vocab_size_base} base tokens and {len(self.added_tokens_list)} added tokens>"
686
687
688#

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected