Team Ai
Apppublic

vk98/colpali-visual-retrieval

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
App README

ColPali Visual Retrieval with Vespa

A powerful visual document retrieval system that combines ColPali (Contextual Late Interaction with Patch-level Information) with Vespa for scalable, intelligent document search and question-answering.

๐ŸŒŸ Features

  • โ€”Visual Document Search: Search through PDF documents using natural language queries
  • โ€”Token-level Similarity Maps: Visualize exactly which parts of documents match your query
  • โ€”AI-Powered Chat: Ask questions about retrieved documents using Google Gemini
  • โ€”Multiple Ranking Methods: Choose between ColPali, BM25, or Hybrid ranking

๐Ÿš€ Try It Out

  1. 1.Enter a natural language query in the search box
  2. 2.Select your preferred ranking method
  3. 3.Click on token buttons to see visual attention maps
  4. 4.Ask follow-up questions in the chat interface

๐Ÿ“„ Sample Queries

  • โ€”"Pie chart with model comparison"
  • โ€”"Speaker diarization evaluation"
  • โ€”"Results table from dense retrieval"
  • โ€”"Graph showing training loss"
  • โ€”"Architecture diagram with transformer"

๐Ÿ› ๏ธ Technology Stack

  • โ€”ColPali: Visual-language model for document understanding
  • โ€”Vespa: Distributed search engine for scalability
  • โ€”FastHTML: Modern web framework for the UI
  • โ€”Google Gemini: AI-powered question answering

๐Ÿ“Š About the Dataset

This demo uses ~400 pages from AI-related research papers published in 2024. The documents are processed using ColPali to create visual embeddings that enable semantic search across document images.

๐Ÿ”— Links