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.2.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for hf_mirror_downloader-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04a01b220fc5e4bb6e7bb4cc61ba6ba6a7efe831d19ae0fbdf99872ab5571938
MD5 a4302bf0a5b744cf9708ab13369c6679
BLAKE2b-256 6aac65b1080215f902540e7933cb462b8d975fb02804e0a7eb52d941366ee8ba

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