File size: 359 Bytes
0341b51
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from huggingface_hub import snapshot_download

HF_HOME = "/mnt/wsfuse/kaiyuyue/cache/huggingface"
repo_id = "multimodal-reasoning-lab/Bagel-Zebra-CoT"

snapshot_download(
    cache_dir=HF_HOME,
    repo_id=repo_id,
    local_dir_use_symlinks=False,
    resume_download=True,
    allow_patterns=["*.json", "*.safetensors", "*.bin", "*.py", "*.md", "*.txt"],
)