Visual Document Retrieval
Visual document retrieval finds the pages, slides or screenshots that best answer a text query.
Inputs
Input
Example input
Visual Document Retrieval Model
Output
Output
Example output
About Visual Document Retrieval
Visual document retrieval finds the pages, slides or screenshots that best answer a text query. Browse visual document retrieval models on HubClone to compare checkpoints, or open a Space to try one in the browser.
Use Cases
Search over reports
Find the slide that contains a given chart.
Retrieval-augmented generation
Feed the most relevant document pages to a language model.
Inference
The Transformers pipeline API runs visual document retrieval models in a few lines. Replace <model-id> with any model listed on this page.
from transformers import pipeline
pipe = pipeline("visual-document-retrieval", model="<model-id>")
pipe("Example input")Useful Resources
Want to dig deeper into the topic? Great! Here is a hand-picked list of resources we found helpful.
Documentation
- Visual Document Retrieval task guide
- Pipelines reference
Notebooks
- Fine-tuning a visual document retrieval model