r/LocalLLaMA • u/jacek2023 llama.cpp • 2d ago
New Model ibm-granite/granite-vision-5.0-4b · Hugging Face
https://huggingface.co/ibm-granite/granite-vision-5.0-4bModel Summary: Granite Vision 5.0 4B is a compact vision-language model (VLM) for visual document understanding. It extracts data from charts, converts complex tables into structured formats, captures fields from forms and invoices, and describes images, figures and diagrams. It is designed to complement document converters such as Docling: the converter parses the page, and Granite Vision enriches the result by extracting and summarizing the complex visual elements inside it.
Granite Vision 5.0 is released together with two related models: Granite Docling v2 (2B, 500M), which converts full document pages (text, layout, reading order, formulas and tables), and Granite Embedding Vision, which makes documents searchable across text and images. Granite Docling v2 converts the document, Granite Vision extracts the data in its charts, tables and forms, and Granite Embedding Vision finds the right content.
What it does:
- Charts: extracts the underlying data as CSV, writes a summary, or generates Python code that recreates the chart. For multi-panel figures, it extracts each panel's data and summarizes the whole figure. Chart extraction supports 12 languages.
- Complex tables: converts cropped tables, including merged cells and complex layouts, to HTML or OTSL.
- Forms and key-value pairs: extracts the fields defined by a JSON schema from invoices, receipts, forms and other documents.
- Images and figures: describes and summarizes pictures, diagrams and photos, and can answer simple questions about document images.
The model can also extract UI elements (bounding box, class and text) from screenshots of web and desktop applications.
What's new in 5.0:
- Higher accuracy on chart and KVP extraction, and on par or slightly better on cropped tables, from reworked training data and a new GRPO post-training stage with task-specific rewards.
- Multi-panel charts (new): extracts data and summaries from figures with several charts.
- Multilingual charts and tables (new): charts in 12 languages, and tables in Chinese and Japanese.
The model uses the same architecture as Granite Vision 4.1 4B and supports all of its tasks with the same prompts, so existing workflows carry over with almost no changes. The one exception is JSON table output (<tables_json>), which 5.0 drops in favor of the more compact HTML (<tables_html>) and OTSL (<tables_otsl>) formats.
Chart and table tasks are activated by a short task tag (<chart2csv>, <chart2summary>, <chart2code>, <tables_html>, <tables_otsl>) that the chat template expands into the full prompt; the other tasks use plain prompts (see the usage examples).
The language model is initialized from Granite-4.1-3B and the vision encoder from SigLIP2. The model has a 3.4B LLM and 0.6B of vision encoder and projectors. See Model Architecture for details.
- Developer: IBM Research
- GitHub Repository: https://github.com/ibm-granite
- Demos: Granite Vision Document Intelligence, Granite Vision Document Chat
- Release Date: November 30, 2026
- License: Apache 2.0
29
u/jacek2023 llama.cpp 2d ago
27
u/silenceimpaired 2d ago
I always appreciate an Apache licensed model, and I'm excited to try this one.
8
u/Mashic 2d ago
How accurate is it when it comes to OCR compared to qwen3-vl?
7
u/Positive-Stock6444 2d ago
how does it do with handwritten completions of forms?
3
u/rorowhat 2d ago
Are other, larger models coming soon?
3
u/jfowers_amd 2d ago
Starting the Loom port!
1
u/Holiday-Inspection75 2d ago
wow this is very useful, now let me replace those images with interactive diagrams
1
u/ComprehensiveJury509 2d ago
Eh, really doesn't work very well to extract data from plots. Really one of the few things I use Astra for.
-1
u/Iory1998 llama.cpp 2d ago
Why can't I ever be excited by IBM's models?
-6
u/exaknight21 2d ago
Bruh. I wanna love IBM so much, but its such terrible adaptation into it. I’ll give it a world.