File size: 4,289 Bytes
1c69352
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31c13c6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
---
license: other
license_name: nutrient-commercial
library_name: transformers
pipeline_tag: text-classification
language:
  - multilingual
  - en
  - de
  - fr
  - es
  - zh
  - ja
  - ar
  - hi
  - ru
  - tr
  - vi
  - ko
  - sw
  - ur
  - th
tags:
  - grounding
  - hallucination-detection
  - fact-verification
  - nli
  - zero-shot-classification
  - multilingual
  - document-ai
  - cross-encoder
datasets:
  - nutrientdocs/grounding-benchmark
metrics:
  - roc_auc
---

# grounding-multilingual Β· _commercial_

**Does the document actually support this claim β€” in 15+ languages?** `grounding-multilingual` is a
cross-encoder that scores whether a hypothesis (a number, date, or fact) is **entailed by** a premise
drawn from a real document β€” a
financial table, a filing, prose evidence.

It is the strongest, multilingual member of Nutrient's grounding model family. **Weights are commercial**
(not downloadable here); this page is a spec + scorecard. For the open, English model see
[`grounding-en`](https://huggingface.co/nutrientdocs/grounding-en).

- 🎯 **Try it:** [grounding-demo](https://huggingface.co/spaces/nutrientdocs/grounding-demo?model=multi)
- πŸ† **Leaderboard:** [grounding-leaderboard](https://huggingface.co/spaces/nutrientdocs/grounding-leaderboard)
- πŸ“Š **Benchmark:** [grounding-benchmark](https://huggingface.co/datasets/nutrientdocs/grounding-benchmark)

## Results

On the held-out multilingual [grounding-benchmark](https://huggingface.co/datasets/nutrientdocs/grounding-benchmark)
(ROC-AUC), against the top open multilingual NLI models:

| Facet | `grounding-multilingual` | mDeBERTa-v3-base XNLI-2mil7 | mDeBERTa-v3-base MNLI-XNLI | XLM-R-large XNLI |
| --- | ---: | ---: | ---: | ---: |
| **Overall** | **.965** | .894 | .831 | .811 |
| Number | **.999** | .775 | .806 | .765 |
| Table premises | **.999** | .727 | .780 | .715 |
| Prose premises | .926 | **.961** | .864 | .869 |

It leads on **number** (.999 vs .77–.81) and **table** grounding (.999 vs .72–.78) across 15+ languages;
on general prose NLI the best multilingual zero-shot model edges it. Full ranking on the
[leaderboard](https://huggingface.co/spaces/nutrientdocs/grounding-leaderboard). (Date/string grounding
is too rare in the multilingual corpus to score reliably, so it's omitted here.)

## Calibrating the score

Fine-tuning maximizes _ranking_ (AUC), which can leave the raw probability overconfident. For a score you
can gate on ("0.9 means ~90% right"), apply **temperature scaling** β€” divide the logits by a fitted `T`
before softmax. It's monotonic, so AUC/ranking is untouched and only the confidence values are repaired.
On the serving distribution we fit **T = 0.94** (ECE 0.012 β†’ 0.007). Re-fit `T` on your distribution
whenever your input pipeline changes.

## Intended use & limits

- **Use it for:** verifying extracted values against source documents, hallucination/citation checking,
  and routing low-confidence extractions for review β€” across 15+ languages, on-prem.
- **Limits:** the remaining ceiling is _reasoning_ table-claim negatives and multi-step
  arithmetic. As a dedicated grounding checkpoint it trades a little general-NLI accuracy for grounding.

## License & data

The model **weights** are offered under a commercial Nutrient license β€” on-prem, so documents never leave
your infrastructure. The training set is not redistributed. The **evaluation** data is public and
reproducible: [grounding-benchmark](https://huggingface.co/datasets/nutrientdocs/grounding-benchmark)
(CC-BY-SA-4.0); the full training set is not redistributed.

> ### πŸ“© Get access
>
> `grounding-multilingual` is commercial and its weights are not downloadable here. To run it on-prem β€”
> multilingual, calibrated, private β€” **contact Nutrient: [nutrient.io/contact-sales](https://www.nutrient.io/contact-sales/).**

## About the author

<a href="https://nutrient.io/">
  <img src="https://avatars2.githubusercontent.com/u/1527679?v=3&s=200" height="80" />
</a>

This project is maintained and funded by [Nutrient](https://nutrient.io/) - The deterministic document infrastructure enterprises run their highest-stakes workflows on: replayable output, clear exceptions, and full audit trails on the messy, regulated documents where AI alone breaks.