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_mirror_downloader

Usage

Python

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for hf_mirror_downloader-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d75db7240102f5077231ce2e6bc94542f34a740178fbfe61bcd34e10ef2be0f
MD5 47fdea12ac9fc2073364dd065483cace
BLAKE2b-256 ba102c3feb7be372b8830df298f3ad112b7e6e93a90fb48928e1fc9642ebb134

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