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

multimodal huggingface embeddings #17463

Merged
merged 4 commits into from
Jan 9, 2025
Merged

Conversation

logan-markewich
Copy link
Collaborator

This PR adds (initial) multimodal support to huggingface embeddings

Its pretty straightforward, a lot of it relies on the sentence transformer model having image processing built in
For example
https://huggingface.co/jinaai/jina-clip-v2/blob/main/custom_st.py

Or if the model is already supported by huggingface
https://huggingface.co/sentence-transformers/clip-ViT-B-32/blob/main/0_CLIPModel/preprocessor_config.json

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jan 9, 2025
@logan-markewich logan-markewich merged commit 0648ceb into main Jan 9, 2025
11 checks passed
@logan-markewich logan-markewich deleted the logan/multimodal_huggingface branch January 9, 2025 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant