Skip to content
ModelListedExternal
Download

Matcha Plotqa v1

This model is the MatCha model, fine-tuned on plotQA-v1 dataset. This fine-tuned checkpoint might be better suited for plots question answering tasks.

KindText modelVersionpytorch_model

Model source

Kind
Text model
File size
1.05 GB
Version
vpytorch_model
Updated
Sep 26, 2026
Downloads
174
Tasks
Captioning
Source
Hugging Face

Source excerpt

This model is the MatCha model, fine-tuned on plotQA-v1 dataset. This fine-tuned checkpoint might be better suited for plots question answering tasks.

Sources

1 source
Hugging FacePrimaryVersion 3be96db0dfdd1c493ae85b7cdfe98c73d02995f7
huggingface.co/google/matcha-plotqa-v1/tree/3be96db0dfdd1c493ae85b7cdfe98c73d02995f7

Verified Sep 11

Model artifacts

1 artifact

pytorch_model.bin

bin · 1.05 GB · SHA-256 53d33ab54072…71ca · Hugging Face

Download

Source excerpts

2 excerpts

--- language: - en - fr - ro - de - multilingual inference: false pipeline_tag: visual-question-answering license: apache-2.0 --- # Model card for MatCha - fine-tuned on PlotQA-v1 dataset <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/model_doc/matcha_architecture.jpg" alt="drawing" width="600"/> This model is the MatCha model, fine-tuned on plotQA-v1 dataset. This fine-tuned checkpoint might be better suited for plots question answering tasks. # Table of Contents 0. [TL;DR](#TL;DR) 1. [Using the model](#using-the-model) 2. [Contribution](#contribution) 3. [Citation](#citation) # TL;DR The abstract of the paper states that: > Visual language data such as plots, charts, and infographics are ubiquitous in the human world. However, state-of-the-art visionlanguage models do not perform well on these data. We propose MATCHA (Math reasoning and Chart derendering pretraining) to enhance visual language models’ capabilities jointly modeling charts/plots and language data. Specifically we propose several pretraining tasks that cover plot deconstruction and numerical reasoning which are the key capabilities in visual language modeling. We perform the MATCHA pretraining starting from Pix2Struct, a recently proposed imageto-text visual language model. On standard benchmarks such as PlotQA and ChartQA, MATCHA model outperforms state-of-the-art methods by as much as nearly 20%. We also examine how well MATCHA pretraining transfers to domains such as screenshot, textbook diagrams, and document figures and observe overall improvement, verifying the usefulness of MATCHA pretraining on broader visual language tasks. # Using the model ## Converting from T5x to huggingface You can use the [`convert_pix2struct_checkpoint_to_pytorch.py`](https://github.com/huggingface/transformers/blob/main/src/transformers/models/pix2struct/convert_pix2struct_original_pytorch_to_hf.py) script as follows: ```bash python convert_pix2struct_checkpoint_to_pytorch.py --t5x_checkpoint_path PATH_TO_T5X_CHECKPOINTS --pytorch_dump_path PATH_TO_SAVE --is_vqa ``` if you are converting a large model, run: ```bash python convert_pix2struct_checkpoint_to_pytorch.py --t5x_checkpoint_path PATH_TO_T5X_CHECKPOINTS --pytorch_dump_path PATH_TO_SAVE --use-large --is_vqa ``` Once saved, you can push your converted model with the following snippet:...

Source context: 174 downloads · 3 likes · Pipeline visual-question-answering · Library transformers · Repo google/matcha-plotqa-v1