Contexts
2,065 contexts, several answers each.
21 · RAG evaluation · Open weights
cbx-hallucination-detector-68M
Marks the exact spans of a generated answer that its source material does not support.
Not in the hosted Playground yet. Run it from the open weights on Hugging Face.
Warranty answer
Source: The warranty covers parts and labor for 12 months from purchase. Answer: Your warranty covers parts and labor for 24 months, including accidental damage.
Policy summary
Source: Employees may work remotely up to two days a week with manager approval. Answer: Employees can work remotely two days a week if their manager approves.
Benchmark
From the model card
Finds the parts of an AI answer that its context does not support. Give it the context the answer should be based on (retrieved passages, a document, or a structured record such as JSON), the question and the answer. It returns the unsupported spans of the answer, each with a type and a score. 68M parameters, about 14 ms per 1,000 tokens on a GPU and 230 ms on a CPU.
The most accurate size: best of ours on HaluBench, RAGTruth and our own test set. Fine-tuned from jhu-clsp/ettin-encoder-68m. Current version: v0.1 (use --revision v0.1 to pin it). Also available in the 32M size.
Two other compact detectors are shown for comparison: TinyLettuce (Ettin, same sizes). ⚠ marks models trained on RAGTruth, so their RAGTruth numbers are not a held-out comparison. This model was not trained on RAGTruth or on any benchmark below.
1. HaluEval and HaluBench (answer level: is the answer hallucinated?). Independent benchmarks whose wrong answers were written by an LLM: in HaluEval (QA and summaries) ChatGPT wrote wrong answers from HotpotQA questions and CNN / Daily Mail articles; in HaluBench GPT-4o rewrote correct answers into minimally different wrong ones (our subset: DROP, CovidQA, PubMedQA, FinanceBench; its HaluEval and RAGTruth parts are left out as duplicates). F1 of the hallucinated class.
| Model | Mode | HaluEval QA ↑ | HaluEval summaries ↑ | HaluBench ↑ |
|---|---|---|---|---|
| cbx-hallucination-detector-68M | lenient | 0.686 | 0.590 | 0.621 |
| cbx-hallucination-detector-68M | strict | 0.685 | 0.644 | 0.626 |
| cbx-hallucination-detector-32M | lenient | 0.735 | 0.617 | 0.521 |
| cbx-hallucination-detector-32M | strict | 0.746 | 0.650 | 0.522 |
| TinyLettuce 17M ⚠ | – | 0.502 | 0.419 | 0.419 |
| TinyLettuce 32M ⚠ | – | 0.668 | 0.456 | 0.521 |
2. RAGTruth test (2,700 real model answers with human-annotated spans). Span F1 is over characters; "false alarms" is the share of correct answers that get any span. Spans inside a refusal sentence ("the passages do not say") are not scored as spans, for every model, because RAGTruth labels refusals per answer.
| Model | Mode | Span F1 ↑ | QA / summary / data-to-text span F1 ↑ | Answer F1 ↑ | False alarms ↓ | Data-to-text false alarms ↓ |
|---|---|---|---|---|---|---|
| cbx-hallucination-detector-68M | lenient | 0.315 | 0.357 / 0.221 / 0.323 | 0.616 | 52% | 74% |
| cbx-hallucination-detector-68M | strict | 0.243 | 0.352 / 0.210 / 0.206 | 0.612 | 59% | 95% |
| cbx-hallucination-detector-32M | lenient | 0.280 | 0.363 / 0.236 / 0.224 | 0.597 | 52% | 74% |
| cbx-hallucination-detector-32M | strict | 0.208 | 0.347 / 0.218 / 0.144 | 0.607 | 60% | 95% |
| TinyLettuce 17M ⚠ | – | 0.446 | 0.551 / 0.235 / 0.438 | 0.685 | 19% | 31% |
| TinyLettuce 32M ⚠ | – | 0.480 | 0.556 / 0.280 / 0.495 | 0.723 | 22% | 33% |
RAGTruth's annotators mark only clear conflicts and clearly invented facts. This model was trained on labels that also mark smaller unsupported details, so it flags more than they do; that difference explains most of the gap to the models trained on RAGTruth.
3. Our test set (543 answers, LLM-labelled by the same judge as the training data; split by context, none seen in training). Lenient mode is scored against factual spans only.
| Model | Mode | Span F1 ↑ | False alarms ↓ |
|---|---|---|---|
| cbx-hallucination-detector-68M | lenient | 0.502 | 30% |
| cbx-hallucination-detector-68M | strict | 0.518 | 32% |
| cbx-hallucination-detector-32M | lenient | 0.434 | 24% |
| cbx-hallucination-detector-32M | strict | 0.468 | 27% |
| TinyLettuce 17M ⚠ | – | 0.094 | 47% |
| TinyLettuce 32M ⚠ | – | 0.126 | 50% |
Speed (median, batch 1, about 930 tokens per input; NVIDIA TITAN RTX / Intel i7-10700 with 8 threads):
| Model | GPU (ms per 1,000 tokens) | CPU (ms per 1,000 tokens) |
|---|---|---|
| cbx-hallucination-detector-68M | 14 | 230 |
| cbx-hallucination-detector-32M | 9 | 84 |
The model marks answer text that the context does not support:
Each span has a type:
factual: a conflict or an invented fact;soft: tone, praise or interpretation the context does not support ("a hidden gem", "known for its friendly staff").Two modes come from the same model:
lenient (default): factual spans only. It flags fewer correct answers.strict: factual and soft spans.Not flagged: correct paraphrases and summaries, reasonable readings of the context, hedges, and statements that the context does not mention something.
It covers three kinds of input: question answering over passages, summaries, and descriptions written from structured records (data-to-text).
Limitations
Training data
Build v0.4 of the CBX hallucination dataset, "natural" mix: 7,390 training answers (2,964 data-to-text, 2,347 QA, 2,079 summary; 62% contain at least one unsupported span).
2,065 contexts, several answers each.
1,717 generated with gpt-5.4-mini (structured records, reviews, articles and passages, all invented; 5,980 answers).
181 from RAGBench TAT-QA and CUAD (CC-BY-4.0; 743 answers).
84 from PsiloQA (CC-BY-4.0; Wikipedia passages, CC-BY-SA-4.0; 337 answers).
83 from HAGRID (Apache-2.0; 330 answers).
Correct answers, answers with inserted errors, and natural answers from gpt-5.4-mini, Gemma 4 31B and four open models (Phi-3.5-mini, Qwen2.5-7B, Mistral-7B v0.3, OLMo-2 7B).
LLM-made. Inserted errors are known by construction. Natural answers were labelled by a gpt-5.4-mini judge, and every span was typed factual or soft by a second gpt-5.4-mini pass. No human labelling.
No passages with non-commercial or unclear licences were used. RAGTruth was never trained on.
Download the model, run it beside your own systems, and talk to us about tuning it to your data.