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

Possible to get image embeddings out directly? #8

Open
nabsiddiqui opened this issue Jan 30, 2025 · 4 comments
Open

Possible to get image embeddings out directly? #8

nabsiddiqui opened this issue Jan 30, 2025 · 4 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@nabsiddiqui
Copy link

Hello, would it be possible to get the image embeddings out directly? Say for each image in a folder?

@frankiethull frankiethull added enhancement New feature or request question Further information is requested labels Feb 1, 2025
@frankiethull
Copy link
Owner

As of now, this package will take images and encode them before returning an LLM's response. By embeddings, can you give an example of what the use case is or results you are after?

For the ollamar-backend, looks like there's a few ways to creating embeddings, we could possibly support.

For the ellmer-backend, I think there will be additional packages for embedding and RAG, so TBD on this side.

Let me know if you have an example and we can test support on the ollamar side, or if you are willing to put a PR, I can review it.

@nabsiddiqui
Copy link
Author

I'm mainly interested in basic things, such as clustering of the images and cosine similarity between the vectors.

@frankiethull
Copy link
Owner

I guess embedding text is supported, but support for embedding images is TBD with ollama:
ollama/ollama#5304

will bump & track this issue to include image embedding!

@nabsiddiqui
Copy link
Author

Thank you. No rush. I just noticed there was a need for image embeddings in R and this seemed like it was already doing something in that area.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants