Views
No views yet
1from huggingface_hub import hf_hub_download
2import torch
3
4# Download the model checkpoint
5checkpoint_path = hf_hub_download(repo_id="HuSusu/MoLF", filename=ckpt/latent_flow/latent_flow_split_0.pt")
6
7# Load weights (Pseudo-code: replace with your actual model class)
8# model = HistoPrism(config=...)
9# checkpoint = torch.load(path, map_location=map_location)
10# model.load_state_dict(checkpoint["model_state"])
11