Copy: no em dashes
Browse files24 unmodified lines252627282829303128 unmodified lines60616263636465666 unmodified lines737475767776777879804 unmodified lines85868788888990919293949596979596979899991001011021031041051051061071081091101111121121131141155 unmodified lines1211221231241241251261273 unmodified lines13113213313413413513613713813913914014114114214314414 unmodified lines1591601611621621631641651661671681681691701714 unmodified lines17617717817917918018118224 unmodified lines
# nutrient-document-decision-v2 Β· _commercial_
**Ask a document anything typed β yes/no, pick-one, a score, where on the page, which words β and get every answer**Ask a document anything typed (yes/no, pick-one, a score, where on the page, which words) and get every answerfrom one read, each with a confidence you can trust.**
`nutrient-document-decision-v2` is a document specialist in a field of generalists. It reads page images and text28 unmodified linesnon-Nutrient system on that leaderboard.
<!-- RESULTS-TABLE:START -->### Grounding β is a claim supported by its source? (ROC AUC)### Grounding: is a claim supported by its source? (ROC AUC)
| | **v2** | v1 | specialist ([grounding-en](https://huggingface.co/nutrientdocs/grounding-en) / [grounding-multilingual](https://huggingface.co/nutrientdocs/grounding-multilingual)) | best other ||---|---|---|---|---|6 unmodified lines|---|---|---|---|---|| DocLayNet | **0.995** | 0.914 | 0.968 | 0.832 (Claude Opus 4.5 / 5, Gemini Flash, GPT-sol) || Forms | **1.000** | 0.997 | **1.000** | **1.000** (several) || OOD (unseen document types) | 0.768 | 0.632 | **0.946** | β || OOV (unseen label wording) | **0.919** | 0.812 | 0.830 | β || OOD (unseen document types) | 0.768 | 0.632 | **0.946** | n/a || OOV (unseen label wording) | **0.919** | 0.812 | 0.830 | n/a || Tobacco3482 | 0.834 | **0.940** | 0.735 | 0.894 (OpenAI Decisions, gpt-6-luna) |
### Open-vocabulary / figure classification (top-1, 9,375 images)4 unmodified lines| Specialized | **0.891** | 0.827 | 0.713 | 0.596 (OpenAI Decisions, gpt-6-luna) || Synonym (label-wording robustness) | 0.848 | 0.833 | 0.730 | **0.880** (OpenAI Decisions, gpt-6-luna) |
### Document split β page-stream boundaries (F1)### Document split: page-stream boundaries (F1)
| Stream | **v2** | v1 | specialist ([doc-split-v2](https://huggingface.co/nutrientdocs/doc-split-v2)) | best other ||---|---|---|---|---|| our-200 | 0.936 | **0.962** | 0.944 | 0.942 (GPT-sol) || OpenPSS-short | 0.624 | **0.683** | 0.652 | 0.598 (Gemini Flash) || OpenPSS-long | 0.923 | **0.959** | 0.891 | 0.244 (Gemini Flash) || TABME++ | **0.994** | 0.960 | 0.943 | β || Tobacco800 | **0.990** | 0.987 | 0.969 | β || val-full | 0.926 | **0.958** | 0.917 | β || TABME++ | **0.994** | 0.960 | 0.943 | n/a || Tobacco800 | **0.990** | 0.987 | 0.969 | n/a || val-full | 0.926 | **0.958** | 0.917 | n/a |
### Hallucinated spans β which words of an answer does the context not support? (LettuceDetect v2 test)### Hallucinated spans: which words of an answer does the context not support? (LettuceDetect v2 test)
| | **v2** | Vela 3.1-fast | Vela 3-fast | LettuceDetect v2 (mmBERT-base) ||---|---|---|---|---|| Example F1 | **89.5** | 87.7 | 87.2 | 84.7 || Character span F1 | 59.1 | **66.4** | 65.4 | 62.7 || RAGTruth example F1 / span F1 | **79.1** / 50.1 | 78.1 / 57.5 | β | 79.2 / **58.9** (LettuceDetect-large v1) || RAGTruth example F1 / span F1 | **79.1** / 50.1 | 78.1 / 57.5 | n/a | 79.2 / **58.9** (LettuceDetect-large v1) |
v2: all 10,698 test answers (prose and code), measured by us. The other columns are the numbers reported on the[vela3.1-fast](https://huggingface.co/vllm-sr/vela3.1-fast) model card, on its 8,490 "clean" answers of the same test(RAGTruth row: the RAGTruth answers), so the rows are not identical. v2 detects *that* an answer hallucinates as wellor better; it marks *which* words less precisely. v2 on non-English answers: example F1 95.4.
### PII signal β does a text contain personal data? (ROC AUC, router-signal-suite test, same 3,000 rows)### PII signal: does a text contain personal data? (ROC AUC, router-signal-suite test, same 3,000 rows)
| | **v2** | Vela (released) | mmBERT-32K (released) ||---|---|---|---|5 unmodified lines
### New in v2 (this model only)
**Page-stream splitting that follows instructions** β "split at every page", "one document per type", "keep**Page-stream splitting that follows instructions:** "split at every page", "one document per type", "keepattachments with their parent", "group all pages of a type together"β¦ Accuracy per page decision:
| Instruction family | Accuracy |3 unmodified lines| Group pages of a type | 0.945 || *Held-out wordings and families:* attach to type / group by type / group several types / only before / every page | 0.897 / 0.819 / 0.777 / 0.832 / 0.897 |
**Boxes** β precision / recall of the boxes returned at the default 0.5 confidence threshold, held-out pages (40 per**Boxes:** precision / recall of the boxes returned at the default 0.5 confidence threshold, held-out pages (40 persource; a box counts when it overlaps a true box at IoU β₯ 0.5 with the right label): DocLayNet layout 0.84 / 0.83,PubLayNet 0.83 / 0.80, DocGenome 0.85 / 0.86, objects in photos (RefCOCO) 0.78 / 0.83, form fields (CommonForms)0.82 / 0.51, extraction fields 0.56 / 0.43.
**Policy decisions (JevBench)** β accuracy easy 1.000 / original 0.903 / hard 0.604.**Policy decisions (JevBench):** accuracy easy 1.000 / original 0.903 / hard 0.604.
**Calibration** β expected calibration error on held-out validation data, mean over sources (lower is better):**Calibration:** expected calibration error on held-out validation data, mean over sources (lower is better):
| Output | ECE ||---|---|14 unmodified lines
## Intended use & limits
Built for document-heavy workflows β contracts, filings, forms, invoices, mixed page streams, RAG answers β where oneBuilt for document-heavy workflows (contracts, filings, forms, invoices, mixed page streams, RAG answers) where onecalibrated pass has to answer several typed questions about the same document. Not a chat assistant: it returns typedanswers, not prose.
- Calibration is per output type, not per document source: on a source very different from its training data a confidence can drift. Contract-clause spans in particular are over-confident (right far less often than their confidence suggests) β validate before relying on them unattended. confidence suggests), so validate before relying on them unattended.- Returned spans and boxes carry their own confidence; filter on it (0.5 is the default threshold).- Text in images is read from the page; very small print lowers box confidence.
4 unmodified lines
> ### π© Get access>> `nutrient-document-decision-v2` is commercial and its weights are not downloadable here. To run it on-prem β> `nutrient-document-decision-v2` is commercial and its weights are not downloadable here. To run it on-prem,> **contact Nutrient: [nutrient.io/contact-sales](https://www.nutrient.io/contact-sales/).**
## About the authorREADME.md+18-18