requests.exceptions.HTTPError: 401

#13
by nick11235 - opened

while trying to download the model WhiteRabbitNeo/WhiteRabbitNeo-13B-v1 in text-generation-webui i encounter the following method requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/api/models/WhiteRabbitNeo/WhiteRabbitNeo-13B-v1/tree/main

Any solution to this?

You need to create token from hugging face.co
modify token variable with your token in text-genertion-webui/download-model.py
python3 download-model.py WhiteRabbitNeo/WhiteRabbitNeo-13B-v1

Figured it out, Thanks!

Do I need to set the HF_TOKEN value with my access token of huggingface? I already did that it is not working, can someone please help me ?

Sign up or log in to comment