225 likesNew · 9d old
IBM releases 2B model that reads documents like a human
What is granite-docling-v2-2b?
Granite Docling V2 2B turns a page image into a structured markup called DocLang, capturing headings, paragraphs, tables, formulas, code and even picture captions. The output can be saved as Markdown, HTML or JSON for downstream use.
Who it is for
Developers and data teams that need to automate extraction of rich document content can use it to replace manual OCR pipelines.
How granite-docling-v2-2b works
Granite Docling V2 2B is a vision-language transformer that takes an image of a document page and generates DocLang markup. The model is loaded with the AutoModelForImageTextToText class and uses multi-token-prediction heads to draft up to three tokens per step, which are then verified. It runs on GPUs such as an H100 via vLLM or on Apple silicon via MLX-VLM, and can also be used directly with the Transformers library. The output includes element types, bounding boxes on a 512 by 512 grid and the extracted content, which can be deserialized by docling-core.
What you can do with it
- Convert a scanned page into structured markup that includes headings, paragraphs, tables and formulas.
- Export the generated DocLang to Markdown, HTML or JSON for downstream processing.
- Ask the model to return only tables, formulas or picture captions by adding a task prompt.
- Process multilingual pages and handwritten notes with higher accuracy than the previous model.
Good to know
- High throughput relies on a powerful GPU such as an H100; performance on other hardware is slower.
- The model accepts only one image per request and requires the special-token setting to keep DocLang tags.
- Handwritten text is recognized less accurately than printed text.
Written from the project's own model card.
How to try it
Open the demo on the Hugging Face model page.
The story so far
Early Signal first spotted ibm-granite/granite-docling-v2-2b on November 30, 2026, with 225 likes. On its busiest day it gained 121 likes. The project is 9 days old. Early Signal files it under Image, Coding, LLMs.
Questions about granite-docling-v2-2b
- How do I try granite-docling-v2-2b?
- Open the demo on the Hugging Face model page.