ColPali
FreeLayout-rich PDF retrieval
About ColPali
ColPali is an open-source model for efficient document retrieval using vision-language models (VLMs). It constructs multi-vector embeddings directly from the visual content of documents, such as PDFs, by feeding ViT output patches from a VLM (e.g., PaliGemma-3B) through a linear projection, following the ColBERT late-interaction method. This approach eliminates the need for separate OCR and layout analysis pipelines, as the single model can understand both textual and visual elements (text, layout, charts, images). The repository includes multiple model variants (ColPali, ColQwen2, ColSmol) with different backbones and licenses, all evaluated on the ViDoRe benchmark, achieving top scores up to 90.9. The code supports training and inference for visual document retrieval.
Key Features
Pros & Cons
- Eliminates brittle OCR and layout analysis steps with a single end-to-end model
- Handles both textual and visual document content (layout, charts, images)
- High accuracy on the ViDoRe benchmark, outperforming text-only retrievers
- Multiple model variants allow trade-offs between speed, size, and accuracy
- Fully open-source with permissive licenses for many variants