Some basic access problem

#15
by Jomsborg - opened

I got HTTPError: 403 Client Error: Forbidden for url: https://huggingface.co/api/models/mistralai/Mistral-Nemo-Instruct-2407/revision/main when executing in Google Colab the code:

from huggingface_hub import snapshot_download
from pathlib import Path

mistral_models_path = Path.home().joinpath('mistral_models', 'Nemo-Instruct')
mistral_models_path.mkdir(parents=True, exist_ok=True)

snapshot_download(repo_id="mistralai/Mistral-Nemo-Instruct-2407", allow_patterns=["params.json", "consolidated.safetensors", "tekken.json"], local_dir=mistral_models_path)

I have the following info from HF: Gated model You have been granted access to this model. I have write access token from HF. How should I set up my token in the above program?

Jomsborg changed discussion title from Some basic access program to Some basic access problem

I was getting the same problem, but after checking the following permission on my fine grained access token, the problem went away:

x Read access to contents of all public gated repos you can access

am getting this error while using mistral as model Access to model mistralai/Mistral-Large-Instruct-2407 is restricted and you are not in the authorized list. Visit https://huggingface.co/mistralai/Mistral-Large-Instruct-2407 to ask for access.

Mistral AI_ org

am getting this error while using mistral as model Access to model mistralai/Mistral-Large-Instruct-2407 is restricted and you are not in the authorized list. Visit https://huggingface.co/mistralai/Mistral-Large-Instruct-2407 to ask for access.

Hi vankudoth, you need to be login or use your access token with read access to the repos to be able to download the model. Of course after accepting the terms and ask for access.

Sign up or log in to comment