PARAS MADAN
All writing

Latest in AI

Granite Docling V2 vs Vision 5.0: Which Model Should Parse Your PDF?

Test whole-page conversion separately from chart and table extraction, and replace the old JSON table tag before upgrading Granite Vision.

If you are upgrading an IBM Granite document pipeline, decide what you want back from the model. A page in reading order, the data from one chart and a ranking of relevant PDF pages are three different outputs. IBM released models for all three on November 30.

Granite Docling V2 converts full pages into structured documents. Granite Vision 5.0 4B is for extracting or describing specific content inside them. The most immediate migration issue is in Vision: the old <tables_json> tag is no longer supported. The JSON you can export from Docling is a different output from the old Vision table task.

Pick a model by the output you need

JobModelWhat to check
Turn a full page into a readable documentDocling V2 500M or 2BReading order, headings, tables and formulas survive DocLang export
Extract data from a chart, cropped table or formGranite Vision 5.0 4BChart CSV, table HTML or OTSL, or schema-guided form fields
Find the relevant page without converting every result to text firstGranite Embedding Vision R2Search results identify the right page; the embeddings are not extracted text

For conversion, start with Docling V2 500M, then compare the 2B model on the pages where you lose structure. IBM recommends the larger model for dense documents and reports higher accuracy in its evaluations. The 500M variant is designed for throughput. Check accepted pages per minute on your own PDFs rather than assuming an advertised GPU result transfers to your hardware.

Replace the JSON table tag without changing your app schema

Vision 5.0's model card documents <tables_html> and <tables_otsl> as the supported table formats. If the next service expects JSON, add an adapter between the model and that service. Start with HTML if your team already has a parser for table spans. Parse it as data instead of inserting raw model output into a live page. Preserve row and column spans, blank cells and the order of headings as you map the result to your application schema.

Do not remove every JSON path in your code. The model still supports schema-guided extraction of form fields and key-value pairs. The removed output is the dedicated JSON table task. Inventory the callers that send the old tag rather than treating every existing extraction job as broken.

Test the seam between one page and one table

Use a synthetic invoice page with a two-row heading, a merged cell and a line-item total. Convert the full page with Docling, then run the cropped table through Vision. Check that the section heading and footnote stay in order on the full page and that the cropped table preserves the relationship between each column header and its values. Compare both results with a human-labeled answer rather than rewarding an output just because it parses.

Do the same with a page containing two charts. Use the Vision model card to test its chart tasks and verify that a value from one panel does not end up in the other. Record failed pages before deciding whether to send only difficult cases to a larger model. That gives you a reason to keep, chain or replace each model instead of requiring one of them to handle the whole document workflow.

I'm Paras. I help AI teams write technical guides that make model upgrades easier to test and ship.

Book a 30-minute call.