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: hf_downloader

Installation

pip install hf_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.2.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hf_download-0.2.tar.gz
Algorithm Hash digest
SHA256 9c99173ff3b261be73f34c36cac646b2033e9c49a8c59a03a1d7fc7fcc1b802d
MD5 f626910431b3b69364cf7f1d9c4f4be8
BLAKE2b-256 3b76cf3dad96d783a2c416445eb99b159081b00a750e140c83b2e8a98b342345

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hf_download-0.2-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.8.18

File hashes

Hashes for hf_download-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3d8e4f6ec92bbb24fd3344710826591ea95edb45bbdd2db1a604b324fca145ec
MD5 1bb93f553b04690439ea444e4bc50ef5
BLAKE2b-256 56a2adc5f8739ea33c83af74f13537e7a6e7fd3804282d3695b9749aadf5a8c5

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