Close Menu
techwavedispatch.com

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Accelerating Stable Diffusion Inference on Intel CPUs

    November 14, 2026

    Outlook Went Down? Microsoft May Owe You Money

    November 14, 2026

    Ethical Openness at Hugging Face

    November 14, 2026
    Facebook X (Twitter) Instagram
    Trending
    • Accelerating Stable Diffusion Inference on Intel CPUs
    • Outlook Went Down? Microsoft May Owe You Money
    • Ethical Openness at Hugging Face
    • FAA Allows Flights To Resume After Hours-Long Ground Stop Across The US
    • A hands-on guide to train LLaMA with RLHF
    • Tuft & Needle Promo Codes: 20% Off | November 2026
    • unlock foundation models for enterprises
    • PlayStation Discount Code: 15% Off | November 2026
    Facebook X (Twitter) Instagram
    techwavedispatch.com
    Subscribe
    Saturday, November 14
    • Home
    • AI Tools & Software
    • Machine Learning
    • Generative AI
    • Robotics & Automation
    • Future Tech & Hardware
    • AI in Business
    • Ethics & Regulations
    • More
      • Gadgets & Smart Devices
      • Cybersecurity & AI
      • Tech Breakthroughs
    techwavedispatch.com
    Home»AI Tools & Software»a huge dataset for Document Visual Question Answering
    AI Tools & Software

    a huge dataset for Document Visual Question Answering

    adminBy adminNovember 11, 2026No Comments4 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    a huge dataset for Document Visual Question Answering
    Share
    Facebook Twitter LinkedIn Pinterest Email

    With this blog we are releasing Docmatix – a huge dataset for Document Visual Question Answering (DocVQA) that is 100s of times larger than previously available. Ablations using this dataset for fine-tuning Florence-2 show a 20% increase in performance on DocVQA.

    Example from the dataset
    An example from the dataset

    We first had the idea to create Docmatix when we developed The Cauldron, an extensive collection of 50 datasets for the fine-tuning of Vision-Language Model (VLM), and Idefics2 in particular. Through this process, we identified a significant gap in the availability of large-scale Document Visual Question Answering (DocVQA) datasets. The primary dataset we relied on for Idefics2 was DocVQA, which contains 10,000 images and 39,000 question-answer (Q/A) pairs. Fine-tuning on this and other datasets, open-sourced models still maintain a large gap in performance to closed-source ones.
    To address this limitation, we are excited to introduce Docmatix, a DocVQA dataset featuring 2.4 million images and 9.5 million Q/A pairs derived from 1.3 million PDF documents. A 240X increase in scale compared to previous datasets.

    Comparing Docmatix to other DocVQA datasets
    Comparing Docmatix to other DocVQA datasets

    Here you can explore the dataset yourself and see the type of documents and question-answer pairs contained in Docterix.

    Docmatix is generated from PDFA, an extensive OCR dataset containing 2.1 million PDFs. We took the transcriptions from PDFA and employed a Phi-3-small model to generate Q/A pairs. To ensure the dataset’s quality, we filtered the generations, discarding 15% of the Q/A pairs identified as hallucinations. To do so, we used regular expressions to detect code and removed answers that contained the keyword “unanswerable”.
    The dataset contains a row for each PDF. We converted the PDFs to images at a resolution of 150 dpi, and uploaded the processed images to the Hugging Face Hub for easy access.
    All the original PDFs in Docmatix can be traced back to the original PDFA dataset, providing transparency and reliability. Still, we uploaded the processed images for convenience because converting many PDFs to images can be resource-intensive.

    Processing for Docmatix
    Processing pipeline to generate Docmatix

    After processing the first small batch of the dataset, we performed several ablation studies to optimize the prompts. We aimed to generate around four pairs of Q/A per page. Too many pairs indicate a large overlap between them, while too few pairs suggest a lack of detail.
    Additionally, we aimed for answers to be human-like, avoiding excessively short or long responses. We also prioritized diversity in the questions, ensuring minimal repetition. Interestingly, when we guided the Phi-3 model to ask questions based on the specific information in the document (e.g., “What are the titles of John Doe?”), the questions showed very few repetitions. The following plot presents some key statistics from our analysis:

    Prompt analysis Docmatix
    Analysis of Docmatix per prompt

    To evaluate Docmatix’s performance, we conducted ablation studies using the Florence-2 model. We trained two versions of the model for comparison. The first version was trained over several epochs on the DocVQA dataset. The second version was trained for one epoch on Docmatix (20% of the images and 4% of the Q/A pairs), followed by one epoch on DocVQA to ensure the model produced the correct format for DocVQA evaluation.
    The results are significant: training on this small portion of Docmatix yielded a relative improvement of almost 20%. Additionally, the 0.7B Florence-2 model performed only 5% worse than the 8B Idefics2 model trained on a mixture of datasets and is significantly larger.

    Dataset ANSL on DocVQA model size
    Florence 2 fine-tuned on DocVQA 60.1 700M
    Florence 2 fine-tuned on Docmatix 71,4 700M
    Idefics2 74,0 8B



    Conclusion

    In this post, we presented Docmatix, a gigantic dataset for DocVQA. We showed that using Docmatix we can achieve a 20% increase in DocVQA performance when finetuning Florence-2. This dataset should help bridge the gap between proprietary VLMs and open-sourced VLMs. We encourage the open-source community to leverage Docmatix and train new amazing DocVQA models! We can’t wait to see your models on the 🤗 Hub!



    Useful Resources

    We would like to thank merve and leo for their reviews and thumbnails for this blog.

    Answering dataset Document Huge Question Visual
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    admin
    • Website

    Related Posts

    Accelerating Stable Diffusion Inference on Intel CPUs

    November 14, 2026

    Ethical Openness at Hugging Face

    November 14, 2026

    A hands-on guide to train LLaMA with RLHF

    November 14, 2026
    Leave A Reply Cancel Reply

    Top Posts

    NVIDIA Is Investigating Reports That CEO Jensen Huang Was The Target Of Chinese Spy Efforts

    November 8, 202619 Views

    ADIndex: Layer-Adaptive Sparse Attention Indexing via Group-Level Distillation

    November 11, 20265 Views

    Anthropic releases new Mythos and Fable models amid RSI concerns

    November 9, 20265 Views

    One Policy for 100 Household Tasks: Our Solution for the 2026 BEHAVIOR Challenge

    November 11, 20264 Views
    Don't Miss
    AI Tools & Software

    Accelerating Stable Diffusion Inference on Intel CPUs

    By adminNovember 14, 20260

    Recently, we introduced the latest generation of Intel Xeon CPUs (code name Sapphire Rapids), its…

    Outlook Went Down? Microsoft May Owe You Money

    November 14, 2026

    Ethical Openness at Hugging Face

    November 14, 2026

    FAA Allows Flights To Resume After Hours-Long Ground Stop Across The US

    November 14, 2026
    About Us

    Welcome to TechWave Dispatch

    At TechWave Dispatch, we bring you the latest news, insights, and developments from the ever-evolving world of technology. Our mission is to keep readers informed about the innovations shaping our digital future.

    From artificial intelligence and machine learning to cybersecurity, robotics, smart devices, and groundbreaking technologies, we cover the topics that matter in today's fast-moving tech landscape.

    Our Picks

    Accelerating Stable Diffusion Inference on Intel CPUs

    November 14, 2026

    Outlook Went Down? Microsoft May Owe You Money

    November 14, 2026

    Ethical Openness at Hugging Face

    November 14, 2026
    Most Popular

    Who Controls Scientific Discovery? – O’Reilly

    November 6, 20260 Views

    After blocking Muse, Amazon now lets users text Alexa to help them shop

    November 6, 20260 Views

    A controlled world for robot learning and evaluation

    November 6, 20260 Views
    Facebook X (Twitter) Instagram Pinterest
    • Terms and Conditions
    • Privacy Policy
    • Contact Us
    • About Us
    © 2026 TechWave Dispatch. All Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.