Issue with downloading the bloom model
#3
by
yongzx
- opened
Wondering if anyone else encounter this issue, where they run into 401 Client Error
>>> import transformers
>>> model = transformers.AutoModel.from_pretrained("bigscience/bloom-1b3")
401 Client Error: Unauthorized for url: https://huggingface.co/bigscience/bloom-1b3/resolve/main/config.json
but is fine when they use GitHub to download the model: git clone https://huggingface.co/bigscience/bloom-1b3
The model is private; are you using an access token?
I have already run huggingface-cli login
though. Do I need to explicitly call the access token?
can you try adding use_auth_token=True
to your from_pretrained
call?
Now it works. Thank you!
yongzx
changed discussion status to
closed