File size: 226 Bytes
8b57e03
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import os
from huggingface_hub import hf_hub_download

path = hf_hub_download(
    repo_id="tmnam20/codebert-code-summarization",
    filename="pytorch_model.bin",
    cache_dir="cache",
    local_dir="models",
)

print(path)