Skip to content

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