Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add loading of Huggingface token #172

Open
rchan26 opened this issue Apr 4, 2024 · 0 comments
Open

Add loading of Huggingface token #172

rchan26 opened this issue Apr 4, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@rchan26
Copy link
Collaborator

rchan26 commented Apr 4, 2024

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).

@rchan26 rchan26 added the good first issue Good for newcomers label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant