wandb/RAGTruth-processed
Viewer • Updated • 17.8k • 3k • 31
Reads an LLM answer and its source document together and outputs P(hallucinated): does the answer contain a claim the source does not support?
cross-encoder/nli-deberta-v3-small (already trained for entailment/contradiction), with a new 2-class headtokenizer(answer, source), answer capped at 320 tokens, total 512 tokens (truncation="longest_first")| Detector | ROC-AUC | PR-AUC |
|---|---|---|
| This model | 0.834 | 0.763 |
| XGBoost on 16 features | 0.819 | 0.720 |
| Average of both | 0.847 | 0.767 |
95% confidence intervals come from a bootstrap that resamples whole source documents.
Demo: see the companion Hugging Face Space.
Base model
microsoft/deberta-v3-small