Datasets:
Add links to paper and code repository
#2
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,15 +1,14 @@
|
|
| 1 |
---
|
| 2 |
annotations_creators:
|
| 3 |
- machine-generated
|
|
|
|
|
|
|
| 4 |
language:
|
| 5 |
- en
|
| 6 |
- zh
|
| 7 |
-
language_creators:
|
| 8 |
-
- found
|
| 9 |
license: cc-by-4.0
|
| 10 |
multilinguality:
|
| 11 |
- multilingual
|
| 12 |
-
pretty_name: FactGuard-Bench
|
| 13 |
size_categories:
|
| 14 |
- 10K<n<100K
|
| 15 |
source_datasets:
|
|
@@ -23,6 +22,7 @@ task_categories:
|
|
| 23 |
task_ids:
|
| 24 |
- closed-domain-qa
|
| 25 |
- open-domain-qa
|
|
|
|
| 26 |
tags:
|
| 27 |
- long-context
|
| 28 |
- unanswerable-questions
|
|
@@ -42,6 +42,10 @@ configs:
|
|
| 42 |
|
| 43 |
# FactGuard-Bench
|
| 44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
FactGuard-Bench is a bilingual long-context benchmark for evaluating and
|
| 46 |
improving whether language models answer only when the supplied document
|
| 47 |
contains sufficient evidence. It contains English and Chinese examples from
|
|
@@ -139,7 +143,10 @@ Empty strings indicate fields that do not apply to a particular perturbation.
|
|
| 139 |
```python
|
| 140 |
example = dataset["test"][0]
|
| 141 |
prompt = (
|
| 142 |
-
f"Document:
|
|
|
|
|
|
|
|
|
|
| 143 |
f"Please Answer the Question based on the document: {example['question']}"
|
| 144 |
)
|
| 145 |
```
|
|
@@ -148,7 +155,10 @@ For Chinese examples:
|
|
| 148 |
|
| 149 |
```python
|
| 150 |
prompt = (
|
| 151 |
-
f"文档:
|
|
|
|
|
|
|
|
|
|
| 152 |
f"请根据文档回答问题: {example['question']}"
|
| 153 |
)
|
| 154 |
```
|
|
@@ -214,4 +224,4 @@ subject to their respective rights.
|
|
| 214 |
author={Zhang, Qian-Wen and Liu, Biao and Li, Fang and Wang, Jie and Qiao, Lingfeng and Yu, Yifei and Yin, Di and Sun, Xing},
|
| 215 |
year={2026}
|
| 216 |
}
|
| 217 |
-
```
|
|
|
|
| 1 |
---
|
| 2 |
annotations_creators:
|
| 3 |
- machine-generated
|
| 4 |
+
language_creators:
|
| 5 |
+
- found
|
| 6 |
language:
|
| 7 |
- en
|
| 8 |
- zh
|
|
|
|
|
|
|
| 9 |
license: cc-by-4.0
|
| 10 |
multilinguality:
|
| 11 |
- multilingual
|
|
|
|
| 12 |
size_categories:
|
| 13 |
- 10K<n<100K
|
| 14 |
source_datasets:
|
|
|
|
| 22 |
task_ids:
|
| 23 |
- closed-domain-qa
|
| 24 |
- open-domain-qa
|
| 25 |
+
pretty_name: FactGuard-Bench
|
| 26 |
tags:
|
| 27 |
- long-context
|
| 28 |
- unanswerable-questions
|
|
|
|
| 42 |
|
| 43 |
# FactGuard-Bench
|
| 44 |
|
| 45 |
+
**Paper:** [Towards Reliable Long-Context Reasoning: Detecting Unanswerable Questions via FactGuard](https://huggingface.co/papers/2504.05607)
|
| 46 |
+
|
| 47 |
+
**Code:** [https://github.com/biaoliu-kiritsugu/FactGuard](https://github.com/biaoliu-kiritsugu/FactGuard)
|
| 48 |
+
|
| 49 |
FactGuard-Bench is a bilingual long-context benchmark for evaluating and
|
| 50 |
improving whether language models answer only when the supplied document
|
| 51 |
contains sufficient evidence. It contains English and Chinese examples from
|
|
|
|
| 143 |
```python
|
| 144 |
example = dataset["test"][0]
|
| 145 |
prompt = (
|
| 146 |
+
f"Document:
|
| 147 |
+
{example['document']}
|
| 148 |
+
|
| 149 |
+
"
|
| 150 |
f"Please Answer the Question based on the document: {example['question']}"
|
| 151 |
)
|
| 152 |
```
|
|
|
|
| 155 |
|
| 156 |
```python
|
| 157 |
prompt = (
|
| 158 |
+
f"文档:
|
| 159 |
+
{example['document']}
|
| 160 |
+
|
| 161 |
+
"
|
| 162 |
f"请根据文档回答问题: {example['question']}"
|
| 163 |
)
|
| 164 |
```
|
|
|
|
| 224 |
author={Zhang, Qian-Wen and Liu, Biao and Li, Fang and Wang, Jie and Qiao, Lingfeng and Yu, Yifei and Yin, Di and Sun, Xing},
|
| 225 |
year={2026}
|
| 226 |
}
|
| 227 |
+
```
|