getting this error (OSError: You are trying to access a gated repo ) even if i have got the access

#134
by Sumaiya23 - opened

OSError: You are trying to access a gated repo. Make sure to have access to it at https://huggingface.co/meta-llama/Llama-2-7b-chat-hf. 401 Client Error. (Request ID: Root=1-6641dff5-0c5f553629c299650f656015;3e15c3b8-e929-476f-bfff-d68e8968e5ed) Cannot access gated repo for url https://huggingface.co/meta-llama/Llama-2-7b-chat-hf/resolve/main/config.json. Access to model meta-llama/Llama-2-7b-chat-hf is restricted. You must be authenticated to access it.

i am getting this error when running a streamlit application in hugging face even i have been granted access to this model. here i have given for the model llama 2 but i got the same error for llama 3 8b also. how can i deal with this?

Hi there! Please read https://huggingface.co/meta-llama/Meta-Llama-3-8B/discussions/141. Make sure to be using a token with read access to the repo.

osanseviero changed discussion status to closed

Sign up or log in to comment