Unable to Read Username for 'https://huggingface.co'
I am trying to git clone meta-llama/Llama-2-7b-hf modelI use the command “git clone $url”Whereurl =https://huggingface.com/meta-llama/Llama-2-7b-hfAnd it has worked for other models but doesnt work when I try to clone the above Meta modelI get the error "could not read username for ‘https://huggingface.co’: terminal prompts disabledAny idea what could be wrong and how it can be fixed.Thanks in advance for your responses.
2024-03-15T04:20:12Z
same i have same problem in jupyter lab
2024-05-29T12:48:30Z
I also have this problem!It’s solved by using the follow commandspip install huggingface_hub

from huggingface_hub import notebook_login

notebook_login()then input your Token of your huggingface amount, the problem will be solved.