Unable to access model - Error 401 Gated model error although I have access

Hi,

The strategy regarding tokens recently changed. Basically when going to Hugging Face – The AI community building the future., you can refresh and obtain a new token, but unlike before, you can no longer access this token when you close that page and come back to it later. Hence it’s advised to keep its value somewhere in a safe space (like a password manager), and use it anywhere you’d like to use it (like setting it as a HF_TOKEN environment variable or as a Google Colab secret).

So my assumption is that you’re probably still using an older token.