Runtime error after duplicating Llama 3 model (authenticated by Meta)

Hello team,

I want to duplicate this model (“Duplicate Space for private use”)

spaces/ysharma/Chat_with_Meta_llama3_8b

After copying it and the space starting, I get this error:

OSError: You are trying to access a gated repo. Make sure to have access to it at https:// meta-llama/Meta-Llama-3-8B-Instruct · Hugging Face. 401 Client Error. (Request ID: Root=1-663654daxxxxxxxxxxxxxxxxxxxx)

Cannot access gated repo for url https:// huggingface. co/meta-llama/Meta-Llama-3-8B-Instruct/resolve/main/config.json. Access to model meta-llama/Meta-Llama-3-8B-Instruct is restricted. You must be authenticated to access it.

Settings:

  • On this page it says “Gated model: You have been granted access to this model”
  • I have not set the HF_Token in the process, because I am not aware what it does and if I need it to access the model on the web.
  • My search in this subreddit did not yield any result.

Any suggestions what I might be doing wrong?

Thank you

I am getting same error

Access to model meta-llama/Meta-Llama-3-8B-Instruct is restricted. You must be authenticated to access it.

Not sure what to do did you got access