21 · RAG evaluation · Open weights

Every unsupported span, flagged.

cbx-hallucination-detector-68M

Marks the exact spans of a generated answer that its source material does not support.

Real inputs it was built for.

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.

On Hugging Face

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.

On Hugging Face

Benchmark

Measured against the alternative.

0.000

Hallucinated-class F1, HaluBench (lenient mode)

Full results ↗
  • cbx-hallucination-detector-68M0.621
  • TinyLettuce 32M (trained on RAGTruth)0.521
  • TinyLettuce 17M (trained on RAGTruth)0.419

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.

Model

68M

Licence

Apache 2.0

Fine-tuned from

jhu-clsp/ettin-encoder-68m

Read the full model card ↗

Full results. Every number, from the card.

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.

ModelModeHaluEval QA ↑HaluEval summaries ↑HaluBench ↑
cbx-hallucination-detector-68Mlenient0.6860.5900.621
cbx-hallucination-detector-68Mstrict0.6850.6440.626
cbx-hallucination-detector-32Mlenient0.7350.6170.521
cbx-hallucination-detector-32Mstrict0.7460.6500.522
TinyLettuce 17M ⚠–0.5020.4190.419
TinyLettuce 32M ⚠–0.6680.4560.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.

ModelModeSpan F1 ↑QA / summary / data-to-text span F1 ↑Answer F1 ↑False alarms ↓Data-to-text false alarms ↓
cbx-hallucination-detector-68Mlenient0.3150.357 / 0.221 / 0.3230.61652%74%
cbx-hallucination-detector-68Mstrict0.2430.352 / 0.210 / 0.2060.61259%95%
cbx-hallucination-detector-32Mlenient0.2800.363 / 0.236 / 0.2240.59752%74%
cbx-hallucination-detector-32Mstrict0.2080.347 / 0.218 / 0.1440.60760%95%
TinyLettuce 17M ⚠–0.4460.551 / 0.235 / 0.4380.68519%31%
TinyLettuce 32M ⚠–0.4800.556 / 0.280 / 0.4950.72322%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.

ModelModeSpan F1 ↑False alarms ↓
cbx-hallucination-detector-68Mlenient0.50230%
cbx-hallucination-detector-68Mstrict0.51832%
cbx-hallucination-detector-32Mlenient0.43424%
cbx-hallucination-detector-32Mstrict0.46827%
TinyLettuce 17M ⚠–0.09447%
TinyLettuce 32M ⚠–0.12650%

Speed (median, batch 1, about 930 tokens per input; NVIDIA TITAN RTX / Intel i7-10700 with 8 threads):

ModelGPU (ms per 1,000 tokens)CPU (ms per 1,000 tokens)
cbx-hallucination-detector-68M14230
cbx-hallucination-detector-32M984
How we evaluated

The model marks answer text that the context does not support:

  • conflicts with the context: a wrong number, date, name, place, attribute or cause, or a changed meaning;
  • additions the context does not contain, even if they may be true in the world: invented details, events, features, quotes or figures.

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).

Know its limits. Before you ship it.

Limitations

  • Structured records: it still flags many correct data-to-text answers (lenient: 74% of correct RAGTruth data-to-text answers get a span). In a hand check of 50 such flags from an earlier version, most were misreadings of reworded reviews, opening hours or record fields; opening hours have improved since.
  • Stricter than RAGTruth's annotators: it flags more small unsupported details than human annotators of RAGTruth do (false alarms 52% in lenient mode). Use strict mode only when every unsupported word matters.
  • Spans follow tokens: a span can start or end inside a word, or cover only part of a claim.
  • English only, three tasks (QA, summaries, data-to-text). Code, tool output and agent traces are not covered.
  • Only the given context counts. A claim that is true but not in the context is flagged; the model does not check facts against the world.

Training data

What it learned from.

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).

01

Contexts

2,065 contexts, several answers each.

02

1,717 generated with gpt-5.4-mini (structured records, reviews, articles and passages, all invented; 5,980 answers).

03

181 from RAGBench TAT-QA and CUAD (CC-BY-4.0; 743 answers).

04

84 from PsiloQA (CC-BY-4.0; Wikipedia passages, CC-BY-SA-4.0; 337 answers).

05

83 from HAGRID (Apache-2.0; 330 answers).

06

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).

07

Labels

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.

08

No passages with non-commercial or unclear licences were used. RAGTruth was never trained on.

2 sizes. Smaller is faster, larger is more accurate.

Run it on your own infrastructure. Open weights on Hugging Face.

Download the model, run it beside your own systems, and talk to us about tuning it to your data.