已经获取了权限,使用git 下载模型时候依然错误

#2
by willH2023 - opened

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:

  1. you should get your access tokens (read or write) first.
  2. huggingface-cli login with your access token.
  3. 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 :)

Sign up or log in to comment