Clone Repository
#96
by
clearcash
- opened
Hi Everyone,
If you are trying to clone the repo using the boilerplate code from hugging face and come across this issue in your terminal/notebook:
"fatal: could not read Username for 'https://huggingface.co.': No such device or address".
Try to use this code instead:
!git lfs install
!git clone https://<username>:<write_access_token>@huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct
replace <username>
with your hugging face username and <write_token>
with your hugging face access token with Write privileges. This should allow you to clone the repo successfully.
Git LFS initialized.
fatal: destination path 'gpt2-twitter-model' already exists and is not an empty directory.
/content/gpt2-model
On branch master
nothing to commit, working tree clean
fatal: could not read Username for 'https://huggingface.co.': No such device or address