It is the open, English member of Nutrient's grounding model family.
On the held-out English
grounding-benchmark
(ROC-AUC), against the strongest open English NLI models:
grounding-en leads the field on the hard axis —
number grounding .92 vs .48–.66 for general-purpose
NLI models — while matching or beating them everywhere else. Full ranking on the
leaderboard. The commercial sibling
grounding-multilingual scores a touch
higher again and covers 15+ languages.
1import torch
2from transformers import AutoModelForSequenceClassification, AutoTokenizer
3
4m = "nutrientdocs/grounding-en"
5tok = AutoTokenizer.from_pretrained(m)
6model = AutoModelForSequenceClassification.from_pretrained(m).eval()
7
8premise = "Revenue | 2023 | $4,213M\nRevenue | 2022 | $3,905M"
9hypothesis = "2023 revenue was $4.2 billion."
10
11enc = tok(premise, hypothesis, truncation=True, max_length=1024, return_tensors="pt")
12with torch.no_grad():
13 probs = torch.softmax(model(**enc).logits, dim=-1)[0]
14p_support = probs[0].item() # entailment is class index 0 (id2label = {0: entailment, 1: not_entailment})
15print(f"grounded support = {p_support:.3f}")
An
ONNX export is provided under
onnx/ for on-device / ONNX Runtime deployment.
Weights are
Apache-2.0. Trained on a multi-corpus grounding set. The public,
redistributable slice of the
evaluation data is
grounding-benchmark (CC-BY-SA-4.0);
the full training set is not redistributed.
This project is maintained and funded by
Nutrient - 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.