-
Notifications
You must be signed in to change notification settings - Fork 922
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
Cannot run bigcode example : access to source requires login credentials #592
Comments
Try setting By default it should indeed be in https://github.com/huggingface/hf-hub/blob/main/src/lib.rs#L169-L181 I'm guessing something must be wrong in codespaces regarding HOME maybe ? |
Looks like this uses |
your a miracle worker @LaurentMazare ! This was it:
|
Thanks @Narsil Codespaces it a bit finicky. The issue turned out to be I didn't realize I need to ask for access to starcoderbase-1b. Btw, I plan on making a reproducible .devcontainer project since I teach with this at Duke University and we get free GPU :). So I will share this config when done. Thanks again for the help! HUGE fan of this project. |
I love this project so far! Thanks everyone for working on it. I got several models to work but did run into an issue here. Hopefully, someone can help me with it.
When I run
cargo run --example bigcode --release
. I get a similar issue as issue 350.Here are the steps that I tried:
You have been granted access to this model" for starcoder
HUGGING_FACE_HUB_TOKEN
in GitHub Codespaces secret (Didn't work)echo $HUGGING_FACE_HUB_TOKEN > $HOME/.cache/huggingface/token
(Didn't work)pip install huggingface_hub && huggingface-cli login
(Didn't work)>>> from transformers import pipeline
thenpipe = pipeline("text-generation", model="bigcode/starcoder")
FYI, this is my
huggingface-cli env
outputThe text was updated successfully, but these errors were encountered: