Problem with cloning due to token authentication

Hi,
I would like to run the following command:

export CHECKPOINT_PATH=${PWD}/Llama-2-70b-chat-hf
git clone https://huggingface.co/meta-llama/Llama-2-70b-chat-hf ${CHECKPOINT_PATH}

However it first asks for the user name and password and then shows a fatal error saying Password authentication in git is no longer supported.

So, I created a token on the Huggingface settings page and retried with the following command but as you can see it throws another error:

$ git clone https://MYGMAILADDRESS:TOKEN@hugg
ingface.co/meta-llama/Llama-2-70b-chat-hf ${CHECKPOINT_PATH}
Cloning into '/scratch/mahmood/Llama-2-70b-chat-hf'...
fatal: unable to access 'https://gmail.com:TOKEN@huggingface.co/meta-llama/Llama-2-70b-chat-hf/': Port number ended with 'h'

Any advice to fix that?

There appear to be multiple possible causes. Once the cause is identified, it seems to be easy to fix the problem, but it may be difficult to determine what the cause is.

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.