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_download

Installation

pip install hf_download

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-1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hf_download-1.0.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-1.0.tar.gz
Algorithm Hash digest
SHA256 c56fd72e657b51cf3cb8e21f0c749e46dcc7e28d5e439d455f482caec74aec8e
MD5 52ef3771a70d70138bd4e5d00dc3771e
BLAKE2b-256 68df1cdef6e909b1ac036d9820371c5b3c757aa6ab8c5138b0a8f770e22a001b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hf_download-1.0-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-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 703650f1c0bda434c0e57393fafe6e8ee67fbef601389a6209a8f99982984158
MD5 cf2508265aa57686f2f09a6e37f03722
BLAKE2b-256 65fbacf26d456c650379384aaabd98f89a93a7cee611059218c5e414c5fe4550

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