Marten
Marten is a vision-language model for document visual question answering. It reads a document page image and generates a text response to a question or a request to transcribe the page. Paper
How Marten learns to read a page
The CVPR 2025 paper introduces VQAMask, a pretraining task that jointly trains a model to parse text and predict masks over the corresponding regions of a document image. The authors built MTMask6M, a collection of six million training samples, for this task. The auxiliary mask generator provides spatial supervision during training and is discarded at inference. CVPR paper · Training implementation
Checkpoint and inputs
This repository contains four Safetensors weight shards, a chat template and a processor configuration. Its model configuration declares Qwen2_5_VLForConditionalGeneration. Pair the page image with a text prompt such as “Read the invoice number.” The Transformers documentation illustrates the image-and-text message format, chat templating and generation API for this architecture. Checkpoint configuration · Chat template · Transformers usage
- Downloads last month
- 19