MCPcopy Index your code
hub / github.com/microsoft/BitNet / ModelPlus

Class ModelPlus

utils/convert.py:860–864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

858
859@dataclass
860class ModelPlus:
861 model: LazyModel
862 paths: list[Path] # Where this was read from.
863 format: Literal['ggml', 'torch', 'safetensors', 'none']
864 vocab: BaseVocab | None # For GGML models (which have vocab built in), the vocab.
865
866
867def merge_sharded(models: list[LazyModel]) -> LazyModel:

Callers 3

merge_multifile_modelsFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected