Views
No views yet
1from huggingface_hub import hf_hub_download
2import torch
3
4# Download model weights
5model_path = hf_hub_download(repo_id="{REPO_ID}", filename="best_model.pt")
6
7# Load model (requires your model architecture)
8model_weights = torch.load(model_path, map_location='cpu')