Skip to content

(draft) colpali WIP#394

Closed
I8dNLo wants to merge 29 commits into
qdrant:mainfrom
I8dNLo:colpali
Closed

(draft) colpali WIP#394
I8dNLo wants to merge 29 commits into
qdrant:mainfrom
I8dNLo:colpali

Conversation

@I8dNLo

@I8dNLo I8dNLo commented Nov 8, 2024

Copy link
Copy Markdown
Contributor

Colpali draft
Works for texts, does not work for images

@I8dNLo I8dNLo requested a review from joein November 20, 2024 15:46
Comment thread fastembed/text/colpali_model.py Outdated
Comment thread fastembed/text/colpali_model.py Outdated
Comment thread fastembed/image/colpali_model.py Outdated
Comment thread fastembed/image/colpali_model.py Outdated
@joein joein self-requested a review November 22, 2024 08:14
Comment thread fastembed/image/colpali_model.py Outdated
Comment thread fastembed/image/image_embedding.py
Comment thread fastembed/text/colpali_model.py Outdated
Comment thread fastembed/text/colpali_model.py Outdated
Comment thread fastembed/text/colpali_model.py Outdated

supported_onnx_models = [
{
"model": "akshayballal/colpali-v1.2-merged",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use only text part of the model here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not really separated in our quantization. We could re-quantize it and separate, but I can not say it will have original behaviour. It could, but I'm not sure 100%

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which image model is used?
How much does it weight?
Does it make sense to split the models or the difference is negligible?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gemma 2B

Comment thread fastembed/image/colpali_model.py Outdated
Comment thread fastembed/text/colpali_model.py Outdated
@qdrant qdrant deleted a comment from review-notebook-app Bot Nov 29, 2024
@joein joein mentioned this pull request Dec 18, 2024
@I8dNLo I8dNLo closed this Dec 27, 2024
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.

3 participants