-
Notifications
You must be signed in to change notification settings - Fork 228
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
Updated gated models snippet #765
Comments
hmm not include the token, but mention to do |
cc @osanseviero |
I agree with a mention to |
and btw the error message if not logged in should already prompt you to |
let me know, I can create an issue on transformers |
btw it should work with diffusers too |
i meant it must already be the case AFAIK |
and yes it's not library specific |
on transformers:
|
on diffusers:
|
Ok, so maybe we add
(i think that error string is in moon) |
but orthogonally, i'm ok to add a |
oh and btw maybe let's also start to add (cc @Wauplin too) EDIT: what's an easy alternative for Windows? |
|
Ah yeah here is the authentication string prompt: https://github.com/huggingface/moon-landing/blob/19a45f022a771c9f1b045c95e072122982513514/server/lib/Auth.ts#L930 |
For windows I can help on having a |
would it be |
Tentatively yes - this or |
@mfuntowicz I'm not knowledgeable on |
Is "huggingface-cli login" the recommended way to login for transformers.js? For example, if an "Error: Forbidden access to file" error is received. |
Hello @goldingdamien! For transformers.js, I think you need to follow these steps (server environments): https://huggingface.co/docs/transformers.js/en/guides/private |
@pcuenca Thank you. Yes, that was the first issue. I also had to request access. Going to the link in the error directly made that clear. |
For gated models add a comment on how to create the token + update the code snippet to include the token (edit: as a placeholder)
The text was updated successfully, but these errors were encountered: