Skip to content

Hugging Face Access Tokens

Access tokens authenticate the user’s identity on Hugging Face Hub and allow applications (eg. modelserve AI) to perform actions based on the token’s permissions.

Some models (especially private ones and those requiring additional permissions) need extra authorization using a Hugging Face token.

You can generate a token at: https://huggingface.co/settings/tokens

Alt text

Click "Create new token" to use it in modelserve AI. Select the token type “Read” and name your token.

Alt text

After creating a token in Hugging Face, use it in the endpoint launch wizard in modelserve AI by pasting it into the field: Hugging Face User Access Token (optional).

Alt text

⚠️ Some repositories (models) on HuggingFace require users to grant permission and provide their contact information (email address and username) to the repository authors.

Check more: Agree and access repository on HuggingFace