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

Method __init__

utils/convert-ms-to-gguf-bitnet.py:1573–1574  ·  view source on GitHub ↗
(self, path: Path)

Source from the content-addressed store, hash-verified

1571 _VOCAB_CLASSES: list[type[Vocab]] = [SentencePieceVocab, BpeVocab, LlamaHfVocab]
1572
1573 def __init__(self, path: Path):
1574 self.path = path
1575
1576 def _create_special_vocab(self, vocab: BaseVocab, model_parent_path: Path) -> gguf.SpecialVocab:
1577 load_merges = vocab.name == "bpe"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected