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

only pass hf tokens #203

Merged
merged 1 commit into from
Mar 13, 2025
Merged

only pass hf tokens #203

merged 1 commit into from
Mar 13, 2025

Conversation

ChuckHend
Copy link
Member

Fixes issue related to UKPLab/sentence-transformers#3212. Only passes a value for token if it is a valid hf token, assuming if the value begins with hf_then it is valid.

Also:

  • change parameter from use_auth_token to token to resolve deprecation warning
  • make log level configurable with LOG_LEVEL env var

@ChuckHend ChuckHend requested a review from nhudson March 13, 2025 14:08
@ChuckHend ChuckHend merged commit 551e2b5 into main Mar 13, 2025
9 checks passed
@ChuckHend ChuckHend deleted the TEM-3331 branch March 13, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants