Datasets:
Tasks:
Token Classification
Modalities:
Text
Formats:
json
Languages:
English
Size:
10K - 100K
License:
Upload folder using huggingface_hub
Browse filesFiles changed (5)
- .gitattributes+2
- README.mdAdded+95
- dataset_card.mdAdded+95
- halueval_data.jsonAdded+3
- halueval_spans_data.jsonAdded+3
56 unmodified lines57585956 unmodified lines# Video files - compressed*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -text56 unmodified lines575859606156 unmodified lines# Video files - compressed*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -texthalueval_data.json filter=lfs diff=lfs merge=lfs -texthalueval_spans_data.json filter=lfs diff=lfs merge=lfs -text
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495---license: mittask_categories: - token-classificationlanguage: - entags: - hallucination-detection - fact-verification - RAG - NLI - span-detectionpretty_name: HaluEval Span-Level (DeBERTa-FEVER-ANLI)size_categories: - 10K<n<100Kconfigs: - config_name: default data_files: - split: train path: halueval_data.json---
# HaluEval Span-Level Dataset
π **Span-level hallucination detection dataset** converted from HaluEval using DeBERTa-FEVER-ANLI NLI model.
## Quick Start
```pythonfrom datasets import load_dataset
dataset = load_dataset("llm-semantic-router/halueval-spans-deberta")```
## Why This Dataset?
| Problem | Solution ||---------|----------|| HaluEval has binary labels only | β
Span-level annotations || Most hallucination datasets are imbalanced | β
45.8% hallucinated tokens || Token classifiers need character offsets | β
Exact span boundaries |
## Statistics
- **20,000** samples (10K QA + 10K Summarization)- **8,407** samples with detected hallucination spans- **45.8%** hallucinated tokens (near-balanced!)- **9,128** total hallucinated spans
## Format
```json{ "prompt": "Knowledge: France is in Europe...\n\nQuestion: What is the capital?\n\nAnswer:", "answer": "The capital is Berlin.", "labels": [{"start": 15, "end": 21, "label": "hallucinated"}], "task_type": "qa", "split": "train"}```
## Conversion Method
Used [MoritzLaurer/DeBERTa-v3-base-mnli-fever-anli](https://huggingface.co/MoritzLaurer/DeBERTa-v3-base-mnli-fever-anli) to identify unsupported sentences:
1. Split response into sentences2. Check each sentence against source knowledge using NLI3. Mark sentences classified as "contradiction" or "neutral" as hallucinated4. Merge adjacent spans
## Use Cases
- π― Train token-level hallucination detectors- π Evaluate RAG system faithfulness - π¬ Research on factual consistency- βοΈ Balance training data for minority class
## Related
- [llm-semantic-router/modernbert-base-32k](https://huggingface.co/llm-semantic-router/modernbert-base-32k) - 32K context ModernBERT for long documents- [llm-semantic-router/halugate-sentinel](https://huggingface.co/llm-semantic-router/halugate-sentinel) - Hallucination detection model- [LettuceDetect](https://github.com/KRLabsOrg/LettuceDetect) - Hallucination detection framework- [RAGTruth](https://huggingface.co/datasets/RAGTruth) - Primary span-level dataset- [HaluEval](https://huggingface.co/datasets/pminervini/HaluEval) - Original binary dataset
## Citation
```bibtex@misc{halueval_spans, title={HaluEval Span-Level Dataset}, year={2025}, howpublished={Hugging Face Hub}}```
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495---license: mittask_categories: - token-classificationlanguage: - entags: - hallucination-detection - fact-verification - RAG - NLI - span-detectionpretty_name: HaluEval Span-Level (DeBERTa-FEVER-ANLI)size_categories: - 10K<n<100Kconfigs: - config_name: default data_files: - split: train path: halueval_data.json---
# HaluEval Span-Level Dataset
π **Span-level hallucination detection dataset** converted from HaluEval using DeBERTa-FEVER-ANLI NLI model.
## Quick Start
```pythonfrom datasets import load_dataset
dataset = load_dataset("llm-semantic-router/halueval-spans-deberta")```
## Why This Dataset?
| Problem | Solution ||---------|----------|| HaluEval has binary labels only | β
Span-level annotations || Most hallucination datasets are imbalanced | β
45.8% hallucinated tokens || Token classifiers need character offsets | β
Exact span boundaries |
## Statistics
- **20,000** samples (10K QA + 10K Summarization)- **8,407** samples with detected hallucination spans- **45.8%** hallucinated tokens (near-balanced!)- **9,128** total hallucinated spans
## Format
```json{ "prompt": "Knowledge: France is in Europe...\n\nQuestion: What is the capital?\n\nAnswer:", "answer": "The capital is Berlin.", "labels": [{"start": 15, "end": 21, "label": "hallucinated"}], "task_type": "qa", "split": "train"}```
## Conversion Method
Used [MoritzLaurer/DeBERTa-v3-base-mnli-fever-anli](https://huggingface.co/MoritzLaurer/DeBERTa-v3-base-mnli-fever-anli) to identify unsupported sentences:
1. Split response into sentences2. Check each sentence against source knowledge using NLI3. Mark sentences classified as "contradiction" or "neutral" as hallucinated4. Merge adjacent spans
## Use Cases
- π― Train token-level hallucination detectors- π Evaluate RAG system faithfulness - π¬ Research on factual consistency- βοΈ Balance training data for minority class
## Related
- [llm-semantic-router/modernbert-base-32k](https://huggingface.co/llm-semantic-router/modernbert-base-32k) - 32K context ModernBERT for long documents- [llm-semantic-router/halugate-sentinel](https://huggingface.co/llm-semantic-router/halugate-sentinel) - Hallucination detection model- [LettuceDetect](https://github.com/KRLabsOrg/LettuceDetect) - Hallucination detection framework- [RAGTruth](https://huggingface.co/datasets/RAGTruth) - Primary span-level dataset- [HaluEval](https://huggingface.co/datasets/pminervini/HaluEval) - Original binary dataset
## Citation
```bibtex@misc{halueval_spans, title={HaluEval Span-Level Dataset}, year={2025}, howpublished={Hugging Face Hub}}```
123version https://git-lfs.github.com/spec/v1oid sha256:3e131e0df6b893d0bcefeaa4561bcea186506dd0e094c1620e758754bda52402size 52744213123version https://git-lfs.github.com/spec/v1oid sha256:0379cf1181e34b01abc39e48e142fbabd6bff2f0ef979e07d1ac9029cb59c171size 53474193.gitattributes+2
README.mdAdded+95
dataset_card.mdAdded+95
halueval_data.jsonAdded+3
halueval_spans_data.jsonAdded+3