---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

[Models](/models)/google/deplot

apache-2.0

# deplot

by google

Turns a chart image into a table you can actually search

321likes

282Mparams

[HuggingFace](https://huggingface.co/google/deplot)[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

Identifiers

Model ID

`google/deplot`

## Deploy deplot

Single-tenant

Mixpeek has no managed extractor for this model. On a single-tenant deployment you upload the weights and a custom plugin serves them next to the rest of your pipeline.

[Read the customer-hosted guide](https://mixpeek.com/docs/customer-hosted/overview) [Talk to us about single-tenant](/demo)

## Overview

DePlot reads a chart or plot image and emits a linearised data table. That is a narrow job and a useful one: a number that exists only as a bar in a PNG is invisible to every text index you own, so the answer sits in your archive and no search returns it. Converting the chart to a table makes the underlying values ordinary text, which can then be embedded, filtered and cited like anything else.

## Architecture

Pix2Struct encoder-decoder, 768-dimensional hidden state on both the vision and text sides, 282,285,696 parameters in safetensors. Image-to-text rather than a VQA head: it emits the table, and a downstream model does the reasoning.

## Mixpeek SDK Integration

IngestRetrieve

\# Chart pages are images. Run DePlot over them, then index the TABLE it
# returns as text, so the numbers become searchable.
from transformers import Pix2StructProcessor, Pix2StructForConditionalGeneration
from mixpeek import Mixpeek

proc = Pix2StructProcessor.from\_pretrained("google/deplot")
model = Pix2StructForConditionalGeneration.from\_pretrained("google/deplot")
mx = Mixpeek(api\_key="API\_KEY")

inputs = proc(images=chart\_image, text="Generate underlying data table:", return\_tensors="pt")
table = proc.decode(model.generate(\*\*inputs, max\_new\_tokens=512)\[0\], skip\_special\_tokens=True)

mx.namespaces.documents.upsert(
    namespace\_id="ns\_your\_namespace",
    documents=\[{
        "document\_id": "deck-q3-slide-14",
        # The table is text now, so give the collection a text vector index and
        # embed it. Keeping it only in payload makes it filterable, not findable.
        "payload": {"chart\_table": table, "source\_key": "decks/q3.pdf#page=14"},
    }\],
)

## Capabilities

*   Chart or plot image in, linearised data table out
*   Pairs with an LLM for question answering over the extracted numbers
*   282M parameters, small enough to run on modest hardware
*   Apache-2.0

## Use Cases on Mixpeek

Making the figures in research PDFs and analyst decks searchable

Recovering numbers from screenshots of dashboards nobody exported

A preprocessing step before document embedding, so charts stop being blank spots

## Frequently Asked Questions

### Why not just ask a vision model the question directly?

You can, and for a one-off it is simpler. The reason to extract the table first is search: a table can be embedded and indexed once, so the chart is findable by anyone later. Asking a VLM per question means re-reading the image every time and never building an index.

### How accurate is chart to table?

Good enough to search on, not good enough to audit with. Values read off a rendered chart inherit whatever the rendering lost, and a busy or unlabelled plot degrades it further. Treat the output as a search surface pointing back at the source, and read the number off the source before anyone acts on it.

### Does Mixpeek run DePlot?

Not as a managed extractor. Run it yourself over your chart pages and upsert the table it returns, or bring the numbers in as payload alongside a text index.

## Explore on Mixpeek

[

Browse all models

Search the full model catalog

](/models)[

Feature Extractors

See how Mixpeek runs models as extractors

](/extractors)[

Mixpeek Vector Store

Store & search embeddings at scale

](/mvs)[

Pricing

Usage-based pricing for pipelines

](/pricing)[

All Curated Lists

Compare models, APIs & infrastructure

](/curated-lists)

### Specification

Organizationgoogle

Retriever\-

Parameters282M

Licenseapache-2.0

Downloads/moN/A

Likes321

[

### Research Paper

DePlot: One-shot visual language reasoning by plot-to-table translation

arxiv.org](https://arxiv.org/abs/2212.10505)

### Build a pipeline with deplot

Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.

[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)