If you haven't logged in yet, authenticate via the command line:
huggingface-cli login
This will prompt you to enter your Hugging Face token. You can generate a token from your Hugging Face account:
Ensure you have the necessary permissions to access the restricted model:
If you're accessing the model programmatically, configure the token properly:
export HUGGINGFACE_TOKEN=<your_token_here>
Or set it directly in your script:
from huggingface_hub import HfApi api = HfApi() api.login(token="<your_token_here>")
Once authenticated, run the command or script again to access the model.
If you still encounter issues, double-check that the model owners have granted access. If not, you'll need to wait for their approval.