File size: 269 Bytes
8acb309
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import shutil
from sparsezoo import Model

stub = "zoo:nlp/sentiment_analysis/distilbert-none/pytorch/huggingface/sst2/pruned80_quant-none-vnni"
model = Model(stub, download_path=".")

# Downloads and prints the download path of the model 
print(model.deployment.path)