git-cloner / aliendao

huggingface mirror download
https://aliendao.cn
MIT License
539 stars 55 forks source link

下载某些模型,需要身份认证,应该怎么处理? #4

Closed vincent7f closed 9 months ago

vincent7f commented 10 months ago

当下载tiiuae/falcon-180B-chat模型时,执行命令后提示需要登录认证,要如何解决?

$ python model_download.py --repo_id tiiuae/falcon-180B-chat --mirror

2023-09-19 18:00:43 tiiuae/falcon-180B-chat mirror :500 2023-09-19 18:00:45 tiiuae/falcon-180B-chat success :401 Client Error. (Request ID: Root=1-6509714d-1ee4c4267f2bc5df0d916723;83665afb-3d62-414b-99cf-75a2865f6ac2)

Cannot access gated repo for url https://huggingface.co/api/models/tiiuae/falcon-180B-chat/revision/main. Repo model tiiuae/falcon-180B-chat is gated. You must be authenticated to access it.

little51 commented 10 months ago

是因为aliendao.cn没这个镜像, model_download.py会从huggingface.co拉取镜像,而hf又不通或需要身份认证,目前hf不通,暂无办法