Skip to content

Instantly share code, notes, and snippets.

@danielrosehill
Created April 9, 2025 21:46
Show Gist options
  • Select an option

  • Save danielrosehill/83d83b8c6a3272094fd56fd7eb2781fa to your computer and use it in GitHub Desktop.

Select an option

Save danielrosehill/83d83b8c6a3272094fd56fd7eb2781fa to your computer and use it in GitHub Desktop.
Hugging Face Credential Setup

One method to get Hugging Face Credentials set up on your local.

Firstly go through the Hugging Face CLI authentication.

Create a Git credentials store

git config --global credential.helper store

Store your token replacing values:

https://<your_huggingface_username>:<your_huggingface_token>@huggingface.co

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment