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

Fix Auth Token Bug #277

Merged
merged 1 commit into from
Jan 18, 2023
Merged

Fix Auth Token Bug #277

merged 1 commit into from
Jan 18, 2023

Conversation

ken-myers
Copy link
Contributor

@ken-myers ken-myers commented Jan 17, 2023

Fixes bug where auth token is not used when loading a private pretrained model.

Fixes #278

@ken-myers ken-myers closed this Jan 17, 2023
@ken-myers
Copy link
Contributor Author

Sorry, did not mean to close the PR--a bit new to contributing to open source and all.

@ken-myers ken-myers reopened this Jan 17, 2023
@tomaarsen tomaarsen added the bug Something isn't working label Jan 17, 2023
@tomaarsen
Copy link
Member

Well spotted! Thanks for this. For others reading, here are the relevant docs for the SentenceTransformer initialization.

@tomaarsen tomaarsen merged commit 4fe132a into huggingface:main Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auth token not used when loading pretrained model.
2 participants