A tool to download models from Hugging Face.
You can find this package on PyPI: hf_download
pip install hf_download
hf_download user/repo filename
- Go to the Hugging Face website.
- Log in to your account or create a new one.
- Navigate to your profile settings.
- Under the "Access Tokens" section, create a new token.
- Copy the generated token.
Now, set the token as an environment variable:
export HF_TOKEN=your_huggingface_token_here
set HF_TOKEN=your_huggingface_token_here