Unable to access TITAN after being granted access on hugging face

#5
by alejandrohuerta1 - opened

I was recently granted access to the gated repository MahmoodLab/TITAN on Hugging Face. After authenticating successfully using my access token (huggingface-cli login), I attempted to load the model using AutoModel.from_pretrained(...) in Python. However, I receive a 403 Client Error stating I am not in the authorized list, despite having access.

I have verified the following:

  1. I’m logged in correctly (Login successful)
  2. My token is saved and valid
  3. The token has the required permissions (fine-grained access confirmed)

Still, from_pretrained() fails with:
Cannot access gated repo for url https://huggingface.co/MahmoodLab/TITAN/resolve/main/config.json.
Access to model MahmoodLab/TITAN is restricted and you are not in the authorized list.

Any ideas on what might be causing this?

AI for Pathology Image Analysis Lab @ HMS / BWH org

Hi @alejandrohuerta1

Thanks for your interest in TITAN. To be honest with you, we are not sure what is causing this issue.
Could you see if any comments from the following discussion is helpful?
https://huggingface.co/meta-llama/Meta-Llama-3-8B/discussions/132

Best,
Andrew

andrewsong90 changed discussion status to closed

Hello,
me and and other members of the lab where I work encountered the same issue, even with granted access an successfully authenticated.

Any update on this would be greatly appreciated. Thanks in advance!

Best,
Juan Pablo

Sign up or log in to comment