GabBF
21
I had the same problem and succeeded with this command:
huggingface-cli login --token [your token]
I got this solution from the help command:
huggingface-cli login --help
usage: huggingface-cli [] login [-h] [–token TOKEN] [–add-to-git-credential]
3 Likes
I’m in the same boat and none of the solutions above works.
You can also equally use the prompt:
login(“Token as string”, True/False[Boolean to whether store the token in git credential manager])

Thank you. I was stuck in logging into hugging face for a week and I finally can login in!