Views
No views yet
1import torch
2from huggingface_hub import hf_hub_download
3
4# Download the model
5model_path = hf_hub_download(repo_id="AssanaliAidarkhan/Biomedclip", filename="pytorch_model.bin")
6
7# Load the model
8model = torch.load(model_path, map_location='cpu')
9
10# Your inference code here