Closed emma-mens closed 1 year ago
https://discuss.huggingface.co/t/how-to-login-to-huggingface-hub-with-access-token/22498
Quickstart to get hugging face cli for login
pip install --upgrade huggingface_hub
huggingface-cli login
Repository Not Found for url: https://huggingface.co/EleutherAI/opt-125m/resolve/main/config.json.
Please make sure you specified the correct `repo_id` and `repo_type`.
If you are trying to access a private or gated repo, make sure you are authenticated.
Invalid username or password.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mmfs1/gscratch/scrubbed/emazuh/lm-evaluation-harness/main.py", line 108, in use_auth_token
or log in with huggingface-cli login
and pass use_auth_token=True
.