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