Spaces:
Sleeping
Sleeping
File size: 1,519 Bytes
5b63d6f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
from huggingface_hub import snapshot_download
# model = "databricks/dolly-v2-3b"
model = "bigcode/starcoder"
# Downloading (β¦)neration_config.json: 100%|ββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 111/111 [00:00<?, ?B/s]
# Downloading (β¦)168695aef2/README.md: 100%|ββββββββββββββββββββββββββββββββββββββββββ| 11.2k/11.2k [00:00<00:00, 1.60MB/s]
# Downloading (β¦)168695aef2/README.md: 0%| | 0.00/11.2k [00:00<?, ?B/s]
# Downloading (β¦)l-00007-of-00007.bin: 3%|ββ | 126M/4.08G [06:29<3:59:06, 276kB/s]
# Downloading (β¦)l-00005-of-00007.bin: 1%|β | 126M/9.85G [06:49<8:50:16, 306kB/s]
# Downloading (β¦)l-00006-of-00007.bin: 1%|β | 136M/9.86G [07:02<10:50:28, 249kB/s]
# Downloading (β¦)l-00004-of-00007.bin: 1%|β | 126M/9.86G [07:01<9:48:12, 276kB/s]
# Downloading (β¦)l-00003-of-00007.bin: 1%|β | 126M/9.85G [06:48<8:48:11, 307kB/s]
model = "tiiuae/falcon-7b"
# model = "bigcode/santacoder"
# model = "bigscience/bloom-560m"
print(f"Downloading model: {model}...")
snapshot_download(repo_id=model)
print('Dowmload complete!')
|