Find answers from the community

Updated 8 months ago

Thanks for sharing , it says "Repo model

Thanks for sharing , it says "Repo model meta-llama/Meta-Llama-3-8B-Instruct is gated. You must be authenticated to access it."
L
r
3 comments
Yea you need to ask for access, and then use your huggingface token
you can login in the CLI and it caches it, or you can provide your token


It looks like I missed specifying the token for the tokenizer above

Plain Text
tokenizer = AutoTokenizer.from_pretrained("meta-llama/Meta-Llama-3-8B-Instruct", token=hf_token)
Add a reply
Sign up and join the conversation on Discord