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

Added use_auth_token to TextEmbedding class #49

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

Bhanu-py
Copy link

What kind of change does this PR introduce?

Feature to load private models from Huggingface. Added Arg: use_auth_token in the adapters class TextEmbedding from text.py, which is then passed to SentenceTransformer class.

What is the current behavior?

Only public models are allowed

What is the new behavior?

Allows to load private models from HuggingFace

@olirice olirice self-requested a review October 2, 2023 21:22
@olirice
Copy link
Collaborator

olirice commented Oct 2, 2023

thanks!

@olirice olirice merged commit b68baf6 into supabase:main Oct 2, 2023
4 checks passed
@Bhanu-py Bhanu-py deleted the private_models branch October 5, 2023 18:27
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