Skip to main content

A tool to download models from Hugging Face

Project description

Hugging Face Downloader

A tool to download models from Hugging Face.

Link to PyPI

You can find this package on PyPI: huggingface_downloader

Installation

pip install huggingface_downloader

Usage

hf_download user/repo filename

Obtaining a Hugging Face Token

  1. Go to the Hugging Face website.
  2. Log in to your account or create a new one.
  3. Navigate to your profile settings.
  4. Under the "Access Tokens" section, create a new token.
  5. Copy the generated token.

Now, set the token as an environment variable:

Setting Up Environment Variables

Linux/MacOS

export HF_TOKEN=your_huggingface_token_here

Windows

set HF_TOKEN=your_huggingface_token_here

Project details


Download files

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

Source Distribution

hf_download-0.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

hf_download-0.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file hf_download-0.1.tar.gz.

File metadata

  • Download URL: hf_download-0.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.0rc1

File hashes

Hashes for hf_download-0.1.tar.gz
Algorithm Hash digest
SHA256 fc2f3a10626ffa2be4219580d38cb8319cc2e4a0767d5f2532f452e2ff1b149a
MD5 112ce14a7c5561f1d15abe7463373994
BLAKE2b-256 b2db59d0f0944d57075164fac203c9da7fdc081d748af4c9fd7addc9602a1672

See more details on using hashes here.

File details

Details for the file hf_download-0.1-py3-none-any.whl.

File metadata

  • Download URL: hf_download-0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.0rc1

File hashes

Hashes for hf_download-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e0f775928593be1397bfafd0212e0eb803b77b6c7c9176b581239bfd3713ca71
MD5 11f53448293c5220bb4cf389c43e1ff5
BLAKE2b-256 7d1f49d74fe6451d44811b8e410f03381538f1b3d5e93b6dd8f9603c15e64dcd

See more details on using hashes here.

Supported by

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