EnokiQA
收藏资源简介:
EnokiQA是一个用于长形式事实问答、事实性验证和幻觉检测研究的数据集。该数据集包含19,594个训练样本,每个样本包括一个长形式事实问题、由七个指令微调语言模型(Qwen2.5 7B/14B/32B Instruct、Qwen3 4B/8B、Llama 3.1 8B Instruct、Mixtral 8x7B Instruct)基于其参数知识生成的答案(无检索上下文),以及对应的Wikipedia证据(段落上下文和全文上下文)。此外,还提供了生成器元数据、Wikipedia文章流行度统计(页面浏览量均值、中位数、95分位数等)和流行度分类(低、中、高)。数据集覆盖2,226个独特的Wikipedia上下文,答案平均长度为5,525字符,全文上下文平均长度为13,034字符。该数据集适用于长形式问答、幻觉检测、事实性评估和基于证据的验证等任务,但注意本次发布仅为未标注训练集,且生成器表示不平衡,Wikipedia证据可能不完整或过时。
EnokiQA is a dataset for long-form factoid question answering, factuality verification, and hallucination detection research. It contains 19,594 training samples, each consisting of a long-form factoid question, answers generated by seven instruction-tuned language models (Qwen2.5 7B/14B/32B Instruct, Qwen3 4B/8B, Llama 3.1 8B Instruct, Mixtral 8x7B Instruct) based on their parametric knowledge (without retrieval context), and corresponding Wikipedia evidence (paragraph context and full-text context). Additionally, it provides generator metadata, Wikipedia article popularity statistics (mean, median, 95th percentile page views, etc.) and popularity classification (low, medium, high). The dataset covers 2,226 unique Wikipedia contexts, with an average answer length of 5,525 characters and an average full-text context length of 13,034 characters. It is suitable for tasks such as long-form QA, hallucination detection, factuality evaluation, and evidence-based verification. Note that this release is only an unlabeled training set, with imbalanced generator representation and potentially incomplete or outdated Wikipedia evidence.
数据集概述:EnokiQA
EnokiQA 是一个用于研究长文本问答、事实性、幻觉检测和基于证据验证的英文数据集,包含 19,594 条未标注的训练样本。该数据集由七个语言模型基于参数化知识生成的“无上下文答案”及对应的维基百科证据组成。
核心特征
- 语言:英语 (
en)。 - 许可证:CC BY-SA 4.0。
- 任务类别:
- 问答 (
question-answering) - 文本生成 (
text-generation)
- 问答 (
- 相关标签:幻觉检测、事实性、长文本问答、维基百科、参数化知识等。
- 数据规模:
10K < n < 100K(该版本包含约 1.96 万条训练样本)。 - 数据划分:当前仅提供
train分割(未标注)。
数据结构
每条数据包含一个问句、一个模型生成的无上下文答案、两级维基百科证据(段落级和全页级)、生成模型元数据以及文章流行度统计。
| 字段 | 类型 | 说明 |
|---|---|---|
id |
字符串 | 稳定样本标识符 |
split |
字符串 | 原始分割,此版本均为 train |
title |
字符串 | 维基百科文章标题 |
question |
字符串 | 长文本事实性问题 |
answer |
字符串 | 模型生成的答案(无检索上下文) |
answer_model |
字符串 | 生成模型的标识符 |
answer_length |
int32 | 答案长度(字符数) |
paragraph_context |
字符串 | 用于生成问题的维基百科段落 |
full_page_context |
字符串 | 完整的维基百科文章文本 |
context_id |
字符串 | 段落上下文的稳定哈希 |
wiki_url |
字符串 | 维基百科文章 URL |
wiki_pageid |
int64 | 维基百科页面 ID |
wiki_categories |
列表[字符串] | 文章类别 |
wiki_qid |
字符串 | Wikidata QID |
wiki_article_length |
int32 | 源报告的文章长度(字符数) |
pv_mean |
float64 | 收集窗口内日均页面浏览量 |
pv_total |
int64 | 收集窗口内总浏览量 |
pv_p50 |
int64 | 日均浏览量中位数 |
pv_p95 |
int64 | 日均浏览量第 95 百分位数 |
popularity_tier |
字符串 | 流行度分桶(低/中/高) |
生成模型
答案由以下七个指令微调模型生成:
- Qwen2.5 7B、14B、32B Instruct
- Qwen3 4B、8B
- Llama 3.1 8B Instruct
- Mixtral 8x7B Instruct
数据集统计
| 统计项 | 训练集 |
|---|---|
| 样本总数 | 19,594 |
| 唯一维基百科上下文数 | 2,226 |
| 生成模型数量 | 7 |
| 平均答案长度(字符) | 5,525 |
| 答案长度中位数(字符) | 4,773 |
| 平均全页上下文长度(字符) | 13,034 |
维基百科流行度分布:
- 低流行度(每日浏览量 < 100):11,423 条
- 中流行度(每日浏览量 100–1,000):7,079 条
- 高流行度(每日浏览量 > 1,000):1,092 条
使用说明与限制
- 该版本仅包含未标注的训练数据,不含幻觉标签。
- 答案生成时不提供检索上下文,反映的是模型自身的参数化知识及模型特定偏差。
- 维基百科证据可能不完整或存在时间滞后。
- 在自然分布下,各生成模型的样本数量不平衡。
full_page_context字段可能较长,建议在仅需要问答对时使用流式加载或列选择以节省资源。
代码与引用
- 代码仓库:
https://github.com/s-nlp/Enoki - 相关论文:
https://arxiv.org/abs/2609.00581(Enoki: Efficient Multi-Level Hallucination Detection) - 原始发布(Harvard Dataverse):
https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/6TN4ZM




