Skip to main content

Use HF mirror to download models with huggingface-cli

Project description

hf_downloader

Hugging Face model and data downloader. Unlimited everywhere .

Install

pip install hf-downloader

Usage

Python

from hf_downloader import download_model
download_model("meta-llama/Llama-2-7b-hf", "llama")

Command line

hf-download meta-llama/Llama-2-7b-hf llama
hfd meta-llama/Llama-2-7b-hf llama

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hf_mirror_downloader-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file hf_mirror_downloader-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hf_mirror_downloader-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f3a59ca0cf901f8852cb717610e2156b58e39e2827bc6011138339a15236ea3
MD5 9c94c8a7d69016a834025c91d5ebf35e
BLAKE2b-256 ae837bc2653d725eb83ce12786a6cb146f1305a15df0d35df7a84c01974c2a32

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page