HfHubHTTPError: 401 Client Error

i am having this error :

HfHubHTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/api/repos/create Invalid username or password.

and yes i am connected to the hub , and my token is on write . How can i fix it ?

I am encountering the same issue. My notebooks were working initially, but suddenly they stopped functioning.

I am facing the same issue while using SFTTrainer, could anyone resolve?

2 Likes

same, and it still doesn’t work