Views
No views yet
{hybrid,physical}/{tiny,mid,small}/model.pt1import torch
2from huggingface_hub import hf_hub_download
3from isa.language.config import ModelConfig
4from isa.language.models import create_model
5
6path = hf_hub_download(
7 repo_id="Viligance/ISA-Language",
8 filename="physical/small/model.pt",
9)
10checkpoint = torch.load(path, map_location="cpu")
11config = ModelConfig(**checkpoint["model_config"])
12model = create_model(config)
13model.load_state_dict(checkpoint["model_state"], strict=True)
14model.eval()model_config is stored as a plain dictionary. checkpoint_manifest.json records each file's SHA256 digest, size, layer count, and evaluation metadata. release_validation.json summarizes artifact checks.