MCPcopy Create free account
hub / github.com/Pints-AI/1.5-Pints / ModelPlus

Class ModelPlus

tokenizer/convert/convert.py:674–678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

672
673@dataclass
674class ModelPlus:
675 model: LazyModel
676 paths: list[Path] # Where this was read from.
677 format: Literal['ggml', 'torch', 'safetensors', 'none']
678 vocab: Vocab | None # For GGML models (which have vocab built in), the vocab.
679
680
681def merge_sharded(models: list[LazyModel]) -> LazyModel:

Callers 4

merge_multifile_modelsFunction · 0.85
lazy_load_torch_fileFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected