You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using some models like Llama2 or Gemma, you need to request access first on Huggingface and then pass in an token argument or sign in via the huggingfce-cli.
For us, it's probably easiest to just require the user to set a HUGGINGFACE_TOKEN environment variable and then pass it to where it's needed (e.g. when we load the Llama2 tokenizer with transformers.AutoTokenizer).
The text was updated successfully, but these errors were encountered:
When using some models like Llama2 or Gemma, you need to request access first on Huggingface and then pass in an
token
argument or sign in via thehuggingfce-cli
.For us, it's probably easiest to just require the user to set a
HUGGINGFACE_TOKEN
environment variable and then pass it to where it's needed (e.g. when we load the Llama2 tokenizer withtransformers.AutoTokenizer
).The text was updated successfully, but these errors were encountered: