git clone https://huggingface.co/meta-llama/Llama-2-13b-hf authentication fails
#16
by
suvasis - opened
$git clone https://huggingface.co/meta-llama/Llama-2-13b-hf
Getting the error error: remote: Password authentication in git is no longer supported. You must use a user access token or an SSH key instead. See https://huggingface.co/blog/password-git-deprecation
fatal: Authentication failed for 'https://huggingface.co/meta-llama/Llama-2-13b-hf/'
i provided username: huggin face login
password : PAT
Please help
Hi @suvasis !
As explained in the blog post, one option is to use your user name and access token (not password) in the URL for git clone, like this:
$ git clone https://<user_name>:<token>@huggingface.co/meta-llama/Llama-2-13b-hf
You can get an access token from https://huggingface.co/settings/tokens
You also need to have been granted access to the repo by following the instructions there.
works now
suvasis changed discussion status to
closed