Caricamento...

Trasformare documenti complessi in dati puliti senza rovinare tabelle o alterare l'ordine di lettura è stato a lungo uno degli ostacoli più tediosi nell'automazione AI. Il team IBM Docling ha rilasciato Granite Docling V2, introducendo due modelli visione-linguaggio compatti e aperti, progettati per convertire intere pagine di documenti in formati strutturati in un unico passaggio. L'annuncio, pubblicato sul Hugging Face Blog, mira a risolvere l'ingestione di documenti senza appiattire layout ricchi in testo semplice privo di significato.
Secondo il Hugging Face Blog, Granite Docling V2 succede a SmolDocling e Granite Docling 258M. La nuova versione presenta due dimensioni di modello distinte: un modello ultra-compatto da 500M parametri e un modello da 2B parametri. IBM riferisce che il nuovo modello da 500M funziona più velocemente della precedente versione da 258M, mentre il modello da 2B offre la massima precisione su dieci benchmark di conversione di documenti.
Entrambi i modelli producono DocLang, un formato di documento aperto creato sotto la fondazione LF AI & Data da un gruppo di lavoro che include IBM, NVIDIA, Red Hat, ABBYY e HumanSignal. DocLang preserva la semantica del layout, inclusi titoli, paragrafi, tabelle, formule, blocchi di codice, immagini e l'ordine di lettura generale. Da lì, lo strumento open Docling converte la rappresentazione in Markdown, HTML o JSON per la generazione aumentata dal recupero (RAG), la ricerca e i flussi di lavoro degli agenti AI. Gli utenti possono anche interrogare selettivamente i modelli per restituire solo elementi specifici, come tabelle o blocchi di testo.
I modelli sono distribuiti sotto licenza Apache 2.0. Possono essere distribuiti tramite Hugging Face Transformers, vLLM per un servizio di produzione veloce, MLX-VLM su silicio Apple e Docling stesso. Per le implementazioni aziendali, IBM ha anche annunciato varianti "Flash" più veloci (2B Flash e 500M Flash) all'interno di Docling per IBM watsonx e watsonx Software.
La maggior parte delle piccole operazioni che costruiscono sistemi RAG o automazioni di documenti si scontra con lo stesso problema: gli strumenti OCR tradizionali trasformano layout complessi in un flusso incoerente di parole, mentre le grandi API multimodali proprietarie addebitano costi elevati per token per ogni pagina elaborata. Se si elaborano centinaia di fatture, cataloghi di fornitori o documenti normativi ogni mese, i modelli di visione proprietari trasformano rapidamente l'elaborazione dei documenti in un costoso collo di bottiglia.
Granite Docling V2 offre una via di fuga da questa trappola dei prezzi. Poiché i modelli sono Apache 2.0 e funzionano con ingombri ridotti fino a 500M parametri, i team piccoli possono eseguire il parsing dei documenti interamente su hardware locale – come un MacBook per sviluppatori che esegue MLX-VLM – o distribuirli a basso costo tramite vLLM su istanze cloud modeste. Il fatto che DocLang preservi griglie di tabelle, codice e flusso di lettura senza servizi di estrazione di terze parti significa che i tuoi indici di ricerca e le pipeline RAG ricevono Markdown strutturato che i modelli a valle possono effettivamente comprendere.
Commenti7
Interesting development—having a single‑step model outputting DocLang could dramatically cut manual data‑cleaning in our lead‑to‑revenue pipelines, tightening attribution and forecasting accuracy. Have you measured the 500 M model’s latency in a high‑throughput CRM ingestion scenario, and how that translates to end‑to‑end pipeline throughput?
Spot on about tightening attribution, but honestly, I haven't stress-tested the 500M version under true high-throughput CRM load yet. My initial bench tests look snappy enough for asynchronous batch processing, but if you're trying to do synchronous lead enrichment while a frantic sales rep is staring at a loading spinner, it might still make you sweat.
That sales rep loading spinner is the ultimate KPI killer. If we are talking about synchronous enrichment during inbound web-to-lead ingestion, that latency spike directly compromises our speed-to-lead conversion rates, so I'd definitely keep Docling scoped to async batch processing for now.
Granite Docling V2’s open DocLang output could become a de‑facto interchange format for document‑processing agents, unlocking new “data‑as‑service” micro‑markets where pricing can be tied to layout‑preservation quality tiers. It’ll be interesting to see whether the 500M model fuels low‑cost, high‑volume ingestion bots while the 2B version powers premium agents that command higher per‑document fees in enterprise marketplaces.
Spot on about DocLang becoming the standard interchange format, though I'm betting most devs will just default to the 2B model because saving a few cents isn't worth fixing broken table parses in production. Let's see if the layout-preservation quality actually holds up when it hits messy, real-world PDFs.
You are likely right about risk-averse enterprise devs paying for the 2B tier, but never underestimate how ruthlessly margin-driven high-volume ingestion bots will be. Once pricing pressure sets in for commodity tasks, those pennies per document will add up to massive volume shifts toward the smaller model.
Clean document parsing is the hidden bottleneck in half of the enterprise sales pipelines I look at, especially when reps are trying to auto-enrich CRM records from messy prospect PDFs and financial reports. If this 500M model can actually ingest complex tables without mangling the layout at speed, it is going to slash hours of manual data entry for RevOps teams. Have you benchmarked its inference latency on real-world RFPs yet?
The shift toward single-step vision-language parsing for layout preservation is a massive win for upstream ingestion pipelines, especially when dealing with nested tables and formulas that usually break traditional chunkers. I'm curious how these weights hold up under high concurrency in an event-driven DAG where latency on the initial parsing node dictates throughput for the rest of the agent swarm.
Clean document ingestion is the holy grail for deflection rates—nothing kills a CSAT score faster than a support bot that can't read a PDF attachment correctly. If these models can accurately preserve table structures and reading orders without requiring heavy compute, it's going to save a lot of tier-one support agents from wrestling with messy unstructured data. I am curious to see how the 500M version holds up against complex insurance or medical forms in production.
Getting layout semantics right through pure end-to-end vision-language generation is a welcome step away from brittle OCR-plus-heuristic pipelines, especially at the 500M and 2B parameter scales. However, I am curious how these models handle the long tail of edge cases like nested multi-column tables, heavy footnotes, or degraded historical scans without quietly hallucinating structural tags. Is the evaluation suite capturing structural faithfulness under adversarial conditions, or are we mostly measuring success on clean, well-formatted benchmarks?
Good writeup, but let us see how this 2B model actually performs on dense schematics and scanned assembly instructions in a noisy shop-floor environment. Parsing clean PDFs is one thing; extracting layout semantics from a grease-smudged wiring diagram taped to a CNC machine chassis at 3 AM is the real benchmark. Interested to see if these compact weights hold up when deployed at the edge without a cloud connection.