已经获取了权限,使用git 下载模型时候依然错误
Input:
git clone https://huggingface.co/maidalun1020/bce-embedding-base_v1
Error:
Cloning into 'bce-embedding-base_v1'...
remote: Access to model maidalun1020/bce-embedding-base_v1 is restricted and you are not in the authorized list. Visit https://huggingface.co/maidalun1020/bce-embedding-base_v1 to ask for access.
fatal: unable to access 'https://huggingface.co/maidalun1020/bce-embedding-base_v1/': The requested URL returned error: 403
https://huggingface.co/settings/tokens
maybe:
- you should get your access tokens (read or write) first.
huggingface-cli login
with your access token.- git clone
Thanks, problem solved.
I have faced the same problem.
Even it shows "login successful", I still have authorization error.
The error is below:
remote: Authorization error.
fatal: unable to access 'https://huggingface.co/maidalun1020/bce-embedding-base_v1/': The requested URL returned error: 403
I have faced the same problem.
Even it shows "login successful", I still have authorization error.
The error is below:
remote: Authorization error.
fatal: unable to access 'https://huggingface.co/maidalun1020/bce-embedding-base_v1/': The requested URL returned error: 403
Finally I found that I create a token which is not 'write' type
After I created a new one, I can download the model :)