File size: 1,831 Bytes
f96c4ca
 
 
 
 
 
 
 
 
 
 
8295246
f96c4ca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
pretty_name: RealContextBench
language: en
tags:
- text-retrieval
---

# RealContextBench

RealContextBench is a text retrieval benchmark with source documents, chunks, queries, and chunk-level relevance labels. It combines five application collections with three NanoBEIR context conditions.

[Dataset archive](https://huggingface.co/datasets/JJHou1/RealContextBench/resolve/main/RealContextBench.tar) · [ConTra model card](https://huggingface.co/JJHou1/ConTra-2B)

## Application collections

| Collection | Source material | Queries | Documents | Chunks |
| --- | --- | ---: | ---: | ---: |
| Natural Questions | Google search questions and Wikipedia pages | 5,499 | 5,181 | 99,096 |
| TechQA | IBM support questions and Technotes | 149 | 139 | 1,036 |
| FairytaleQA | Fairy tales with expert-written questions | 1,007 | 23 | 342 |
| QMSum | Meeting transcripts with questions about specific discussions | 244 | 35 | 2,140 |
| FinanceBench | Financial questions and corporate filings | 146 | 84 | 45,049 |

We retain the source questions and pool the documents within each collection. Documents are split into ordered, non-overlapping chunks. The chunk-level labels come from mapping existing answer spans or supporting evidence to those chunks.

## NanoBEIR context conditions

All three conditions share the same 13 tasks, 649 queries, target chunks, and relevance labels. Only the surrounding text varies.

| Condition | Surrounding text |
| --- | --- |
| Original | The target chunk on its own. |
| Random | Four passages sampled from the same task corpus, two on each side of the target. |
| Topical | Four passages generated by GPT-6 Luna on the target's topic, describing different subjects, cases, or events. |

For empty targets and failed generations, the Topical condition uses the corresponding Random context.