File size: 9,769 Bytes
e84b722
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
---
language:
- en
license:
- cc-by-sa-4.0
multilinguality:
- monolingual
paperswithcode_id: beir
pretty_name: BEIR Benchmark
task_categories:
- zero-shot-classification
- text-retrieval
task_ids:
- document-retrieval
- entity-linking-retrieval
- fact-checking-retrieval
tags:
- biomedical-information-retrieval
- citation-prediction-retrieval
- passage-retrieval
- news-retrieval
- argument-retrieval
- zero-shot-information-retrieval
- tweet-retrieval
- question-answering-retrieval
- duplication-question-retrieval
- zero-shot-retrieval
configs:
- config_name: android
  data_files:
  - split: corpus
    path: android/corpus/corpus-*
  - split: queries
    path: android/queries/queries-*
- config_name: english
  data_files:
  - split: corpus
    path: english/corpus/corpus-*
  - split: queries
    path: english/queries/queries-*
- config_name: gaming
  data_files:
  - split: corpus
    path: gaming/corpus/corpus-*
  - split: queries
    path: gaming/queries/queries-*
- config_name: gis
  data_files:
  - split: corpus
    path: gis/corpus/corpus-*
  - split: queries
    path: gis/queries/queries-*
- config_name: mathematica
  data_files:
  - split: corpus
    path: mathematica/corpus/corpus-*
  - split: queries
    path: mathematica/queries/queries-*
- config_name: physics
  data_files:
  - split: corpus
    path: physics/corpus/corpus-*
  - split: queries
    path: physics/queries/queries-*
- config_name: programmers
  data_files:
  - split: corpus
    path: programmers/corpus/corpus-*
  - split: queries
    path: programmers/queries/queries-*
- config_name: stats
  data_files:
  - split: corpus
    path: stats/corpus/corpus-*
  - split: queries
    path: stats/queries/queries-*
- config_name: tex
  data_files:
  - split: corpus
    path: tex/corpus/corpus-*
  - split: queries
    path: tex/queries/queries-*
- config_name: unix
  data_files:
  - split: corpus
    path: unix/corpus/corpus-*
  - split: queries
    path: unix/queries/queries-*
- config_name: webmasters
  data_files:
  - split: corpus
    path: webmasters/corpus/corpus-*
  - split: queries
    path: webmasters/queries/queries-*
- config_name: wordpress
  data_files:
  - split: corpus
    path: wordpress/corpus/corpus-*
  - split: queries
    path: wordpress/queries/queries-*
dataset_info:
- config_name: android
  features:
  - name: _id
    dtype: string
  - name: title
    dtype: string
  - name: text
    dtype: string
  splits:
  - name: corpus
    num_bytes: 8255816
    num_examples: 22998
  - name: queries
    num_bytes: 31997
    num_examples: 699
  download_size: 8287813
  dataset_size: 8287813
- config_name: english
  features:
  - name: _id
    dtype: string
  - name: title
    dtype: string
  - name: text
    dtype: string
  splits:
  - name: corpus
    num_bytes: 12417951
    num_examples: 40221
  - name: queries
    num_bytes: 68095
    num_examples: 1570
  download_size: 12486046
  dataset_size: 12486046
- config_name: gaming
  features:
  - name: _id
    dtype: string
  - name: title
    dtype: string
  - name: text
    dtype: string
  splits:
  - name: corpus
    num_bytes: 14156689
    num_examples: 45301
  - name: queries
    num_bytes: 70040
    num_examples: 1595
  download_size: 14226729
  dataset_size: 14226729
- config_name: gis
  features:
  - name: _id
    dtype: string
  - name: title
    dtype: string
  - name: text
    dtype: string
  splits:
  - name: corpus
    num_bytes: 21024580
    num_examples: 37637
  - name: queries
    num_bytes: 39653
    num_examples: 885
  download_size: 21064233
  dataset_size: 21064233
- config_name: mathematica
  features:
  - name: _id
    dtype: string
  - name: title
    dtype: string
  - name: text
    dtype: string
  splits:
  - name: corpus
    num_bytes: 10765498
    num_examples: 16705
  - name: queries
    num_bytes: 34583
    num_examples: 804
  download_size: 10800081
  dataset_size: 10800081
- config_name: physics
  features:
  - name: _id
    dtype: string
  - name: title
    dtype: string
  - name: text
    dtype: string
  splits:
  - name: corpus
    num_bytes: 18811650
    num_examples: 38316
  - name: queries
    num_bytes: 47465
    num_examples: 1039
  download_size: 18859115
  dataset_size: 18859115
- config_name: programmers
  features:
  - name: _id
    dtype: string
  - name: title
    dtype: string
  - name: text
    dtype: string
  splits:
  - name: corpus
    num_bytes: 20111039
    num_examples: 32176
  - name: queries
    num_bytes: 41633
    num_examples: 876
  download_size: 20152672
  dataset_size: 20152672
- config_name: stats
  features:
  - name: _id
    dtype: string
  - name: title
    dtype: string
  - name: text
    dtype: string
  splits:
  - name: corpus
    num_bytes: 25668372
    num_examples: 42269
  - name: queries
    num_bytes: 30347
    num_examples: 652
  download_size: 25698719
  dataset_size: 25698719
- config_name: tex
  features:
  - name: _id
    dtype: string
  - name: title
    dtype: string
  - name: text
    dtype: string
  splits:
  - name: corpus
    num_bytes: 44756206
    num_examples: 68184
  - name: queries
    num_bytes: 117655
    num_examples: 2906
  download_size: 44873861
  dataset_size: 44873861
- config_name: unix
  features:
  - name: _id
    dtype: string
  - name: title
    dtype: string
  - name: text
    dtype: string
  splits:
  - name: corpus
    num_bytes: 25746785
    num_examples: 47382
  - name: queries
    num_bytes: 47358
    num_examples: 1072
  download_size: 25794143
  dataset_size: 25794143
- config_name: webmasters
  features:
  - name: _id
    dtype: string
  - name: title
    dtype: string
  - name: text
    dtype: string
  splits:
  - name: corpus
    num_bytes: 7353229
    num_examples: 17405
  - name: queries
    num_bytes: 24033
    num_examples: 506
  download_size: 7377262
  dataset_size: 7377262
- config_name: wordpress
  features:
  - name: _id
    dtype: string
  - name: title
    dtype: string
  - name: text
    dtype: string
  splits:
  - name: corpus
    num_bytes: 27597725
    num_examples: 48605
  - name: queries
    num_bytes: 24475
    num_examples: 541
  download_size: 27622200
  dataset_size: 27622200
---

# Dataset Card for BEIR Benchmark

## Dataset Description

- **Homepage:** https://beir.ai
- **Repository:** https://beir.ai
- **Paper:** https://openreview.net/forum?id=wCu6T5xFjeJ
- **Leaderboard:** https://docs.google.com/spreadsheets/d/1L8aACyPaXrL8iEelJLGqlMqXKPX2oSP_R10pZoy77Ns
- **Point of Contact:** nandan.thakur@uwaterloo.ca

### Dataset Summary

BEIR is a heterogeneous benchmark built from 18 diverse datasets representing 9 information retrieval tasks.

- Fact-checking: [FEVER](http://fever.ai), [Climate-FEVER](http://climatefever.ai), [SciFact](https://github.com/allenai/scifact)
- Question-Answering: [NQ](https://ai.google.com/research/NaturalQuestions), [HotpotQA](https://hotpotqa.github.io), [FiQA-2018](https://sites.google.com/view/fiqa/)
- Bio-Medical IR: [TREC-COVID](https://ir.nist.gov/covidSubmit/index.html), [BioASQ](http://bioasq.org), [NFCorpus](https://www.cl.uni-heidelberg.de/statnlpgroup/nfcorpus/)
- News Retrieval: [TREC-NEWS](https://trec.nist.gov/data/news2019.html), [Robust04](https://trec.nist.gov/data/robust/04.guidelines.html)
- Argument Retrieval: [Touche-2020](https://webis.de/events/touche-20/shared-task-1.html), [ArguAna](tp://argumentation.bplaced.net/arguana/data)
- Duplicate Question Retrieval: [Quora](https://www.quora.com/q/quoradata/First-Quora-Dataset-Release-Question-Pairs), [CqaDupstack](http://nlp.cis.unimelb.edu.au/resources/cqadupstack/)
- Citation-Prediction: [SCIDOCS](https://allenai.org/data/scidocs)
- Tweet Retrieval: [Signal-1M](https://research.signal-ai.com/datasets/signal1m-tweetir.html)
- Entity Retrieval: [DBPedia](https://github.com/iai-group/DBpedia-Entity/)

> **This `cqadupstack` subset is the Duplicate Question Retrieval task within BEIR, with 12 domains.**

### Languages

All tasks are in English (`en`).

## Dataset Structure

This dataset uses the standard BEIR retrieval layout with 12 domain configs:
`android`, `english`, `gaming`, `gis`, `mathematica`, `physics`, `programmers`, `stats`, `tex`, `unix`, `webmasters`, `wordpress`.

Each config includes:

- `corpus`: one row per document with `_id`, `title`, `text`
- `queries`: one row per query with `_id`, `title`, `text`

### Data Fields

- `_id` (`string`): unique identifier
- `title` (`string`): title (empty string when unavailable)
- `text` (`string`): document/query text

### CQADupstack Data Splits

| Domain | Split | Rows |
| --- | --- | ---: |
| `android` | corpus | 22,998 |
| `android` | queries | 699 |
| `english` | corpus | 40,221 |
| `english` | queries | 1,570 |
| `gaming` | corpus | 45,301 |
| `gaming` | queries | 1,595 |
| `gis` | corpus | 37,637 |
| `gis` | queries | 885 |
| `mathematica` | corpus | 16,705 |
| `mathematica` | queries | 804 |
| `physics` | corpus | 38,316 |
| `physics` | queries | 1,039 |
| `programmers` | corpus | 32,176 |
| `programmers` | queries | 876 |
| `stats` | corpus | 42,269 |
| `stats` | queries | 652 |
| `tex` | corpus | 68,184 |
| `tex` | queries | 2,906 |
| `unix` | corpus | 47,382 |
| `unix` | queries | 1,072 |
| `webmasters` | corpus | 17,405 |
| `webmasters` | queries | 506 |
| `wordpress` | corpus | 48,605 |
| `wordpress` | queries | 541 |

## Citation Information

```bibtex
@inproceedings{
thakur2021beir,
title={{BEIR}: A Heterogeneous Benchmark for Zero-shot Evaluation of Information Retrieval Models},
author={Nandan Thakur and Nils Reimers and Andreas R{\"u}ckl{\'e} and Abhishek Srivastava and Iryna Gurevych},
booktitle={Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2)},
year={2021},
url={https://openreview.net/forum?id=wCu6T5xFjeJ}
}
```