401/403 Errors on Hugging Face

This article can be read in about 2 minutes.
PR

The purpose 

You may encounter a 401/403 error when attempting to download models from Hugging Face, preventing the download.

This article will introduce countermeasures for when 401 or 403 errors are displayed.

PR

Solutions

401 error

If the 401 error below is displayed

If you already have an account, please log in from “Log In” at the top right.

If you do not have an account, click “Sign Up” to create one.

Basic user accounts are free.

Hugging Face – Pricing
The simplest way to access compute for AI

After logging in, please try downloading.
If a 403 error is displayed, please continue to check the 403 error information below.

403 error

If a 403 error is displayed, check if you have agreed to the terms of use.
Click on the “Model Card” tab located at the top of the page displaying the model list.

Review the terms of use at the top of the page (you will likely be prompted to enter your name and email address), then click “Agree.”
Afterward, please attempt the download again.

PR

Result

The download was completed successfully.

comment

Copied title and URL