Datasets:
query-id
int64 318
538k
| corpus-id
int64 117
538k
| score
int64 1
1
|
---|---|---|
318 | 317 | 1 |
378 | 377 | 1 |
379 | 29,976 | 1 |
379 | 380 | 1 |
379 | 45,646 | 1 |
379 | 45,647 | 1 |
379 | 261,886 | 1 |
399 | 58,672 | 1 |
399 | 18,738 | 1 |
399 | 364,917 | 1 |
399 | 2,606 | 1 |
399 | 2,607 | 1 |
399 | 75,211 | 1 |
399 | 102,346 | 1 |
399 | 55,149 | 1 |
399 | 276,497 | 1 |
399 | 172,795 | 1 |
399 | 22,099 | 1 |
399 | 9,754 | 1 |
399 | 95,146 | 1 |
399 | 3,956 | 1 |
399 | 50,270 | 1 |
399 | 15,261 | 1 |
399 | 3,955 | 1 |
399 | 1,779 | 1 |
399 | 55,150 | 1 |
399 | 100,513 | 1 |
399 | 21,663 | 1 |
399 | 21,662 | 1 |
399 | 44,346 | 1 |
399 | 102,345 | 1 |
399 | 400 | 1 |
399 | 1,780 | 1 |
399 | 78,756 | 1 |
399 | 53,404 | 1 |
420 | 419 | 1 |
540 | 93,765 | 1 |
540 | 541 | 1 |
548 | 549 | 1 |
609 | 608 | 1 |
609 | 26,710 | 1 |
744 | 257,345 | 1 |
744 | 33,905 | 1 |
744 | 23,949 | 1 |
744 | 17,190 | 1 |
744 | 745 | 1 |
744 | 62,075 | 1 |
744 | 54,251 | 1 |
744 | 17,191 | 1 |
744 | 82,405 | 1 |
744 | 82,404 | 1 |
784 | 785 | 1 |
784 | 44,095 | 1 |
858 | 859 | 1 |
858 | 137,433 | 1 |
975 | 974 | 1 |
1,079 | 260,818 | 1 |
1,079 | 1,078 | 1 |
1,088 | 40,625 | 1 |
1,088 | 40,626 | 1 |
1,164 | 30,996 | 1 |
1,164 | 509,713 | 1 |
1,164 | 98,062 | 1 |
1,164 | 1,165 | 1 |
1,164 | 98,063 | 1 |
1,164 | 30,997 | 1 |
1,164 | 227,207 | 1 |
1,166 | 1,167 | 1 |
1,248 | 39,021 | 1 |
1,248 | 137,904 | 1 |
1,248 | 224,085 | 1 |
1,248 | 347,497 | 1 |
1,248 | 46,840 | 1 |
1,248 | 46,839 | 1 |
1,248 | 27,060 | 1 |
1,248 | 109,328 | 1 |
1,248 | 141,532 | 1 |
1,248 | 1,249 | 1 |
1,248 | 74,599 | 1 |
1,248 | 224,657 | 1 |
1,248 | 39,022 | 1 |
1,248 | 334,904 | 1 |
1,248 | 94,479 | 1 |
1,248 | 27,059 | 1 |
1,350 | 1,349 | 1 |
1,350 | 331,457 | 1 |
1,453 | 1,452 | 1 |
1,453 | 164,807 | 1 |
1,453 | 249,576 | 1 |
1,578 | 1,577 | 1 |
1,803 | 1,804 | 1 |
1,956 | 1,955 | 1 |
1,956 | 79,023 | 1 |
1,956 | 79,022 | 1 |
1,956 | 64,346 | 1 |
1,956 | 223,958 | 1 |
1,956 | 242,083 | 1 |
1,992 | 163,321 | 1 |
1,992 | 72,594 | 1 |
1,992 | 128,942 | 1 |
Dataset Card for BEIR Benchmark
Dataset Summary
BEIR is a heterogeneous benchmark that has been built from 18 diverse datasets representing 9 information retrieval tasks:
- Fact-checking: FEVER, Climate-FEVER, SciFact
- Question-Answering: NQ, HotpotQA, FiQA-2018
- Bio-Medical IR: TREC-COVID, BioASQ, NFCorpus
- News Retrieval: TREC-NEWS, Robust04
- Argument Retrieval: Touche-2020, ArguAna
- Duplicate Question Retrieval: Quora, CqaDupstack
- Citation-Prediction: SCIDOCS
- Tweet Retrieval: Signal-1M
- Entity Retrieval: DBPedia
All these datasets have been preprocessed and can be used for your experiments.
Supported Tasks and Leaderboards
The dataset supports a leaderboard that evaluates models against task-specific metrics such as F1 or EM, as well as their ability to retrieve supporting information from Wikipedia.
The current best performing models can be found here.
Languages
All tasks are in English (en
).
Dataset Structure
All BEIR datasets must contain a corpus, queries and qrels (relevance judgments file). They must be in the following format:
corpus
file: a.jsonl
file (jsonlines) that contains a list of dictionaries, each with three fields_id
with unique document identifier,title
with document title (optional) andtext
with document paragraph or passage. For example:{"_id": "doc1", "title": "Albert Einstein", "text": "Albert Einstein was a German-born...."}
queries
file: a.jsonl
file (jsonlines) that contains a list of dictionaries, each with two fields_id
with unique query identifier andtext
with query text. For example:{"_id": "q1", "text": "Who developed the mass-energy equivalence formula?"}
qrels
file: a.tsv
file (tab-seperated) that contains three columns, i.e. thequery-id
,corpus-id
andscore
in this order. Keep 1st row as header. For example:q1 doc1 1
Data Instances
A high level example of any beir dataset:
corpus = {
"doc1" : {
"title": "Albert Einstein",
"text": "Albert Einstein was a German-born theoretical physicist. who developed the theory of relativity, \
one of the two pillars of modern physics (alongside quantum mechanics). His work is also known for \
its influence on the philosophy of science. He is best known to the general public for his mass–energy \
equivalence formula E = mc2, which has been dubbed 'the world's most famous equation'. He received the 1921 \
Nobel Prize in Physics 'for his services to theoretical physics, and especially for his discovery of the law \
of the photoelectric effect', a pivotal step in the development of quantum theory."
},
"doc2" : {
"title": "", # Keep title an empty string if not present
"text": "Wheat beer is a top-fermented beer which is brewed with a large proportion of wheat relative to the amount of \
malted barley. The two main varieties are German Weißbier and Belgian witbier; other types include Lambic (made\
with wild yeast), Berliner Weisse (a cloudy, sour beer), and Gose (a sour, salty beer)."
},
}
queries = {
"q1" : "Who developed the mass-energy equivalence formula?",
"q2" : "Which beer is brewed with a large proportion of wheat?"
}
qrels = {
"q1" : {"doc1": 1},
"q2" : {"doc2": 1},
}
Data Fields
Examples from all configurations have the following features:
Corpus
corpus
: adict
feature representing the document title and passage text, made up of:_id
: astring
feature representing the unique document idtitle
: astring
feature, denoting the title of the document.text
: astring
feature, denoting the text of the document.
Queries
queries
: adict
feature representing the query, made up of:_id
: astring
feature representing the unique query idtext
: astring
feature, denoting the text of the query.
Qrels
qrels
: adict
feature representing the query document relevance judgements, made up of:_id
: astring
feature representing the query id_id
: astring
feature, denoting the document id.score
: aint32
feature, denoting the relevance judgement between query and document.
Data Splits
Dataset | Website | BEIR-Name | Type | Queries | Corpus | Rel D/Q | Down-load | md5 |
---|---|---|---|---|---|---|---|---|
MSMARCO | Homepage | msmarco |
train dev test |
6,980 | 8.84M | 1.1 | Link | 444067daf65d982533ea17ebd59501e4 |
TREC-COVID | Homepage | trec-covid |
test |
50 | 171K | 493.5 | Link | ce62140cb23feb9becf6270d0d1fe6d1 |
NFCorpus | Homepage | nfcorpus |
train dev test |
323 | 3.6K | 38.2 | Link | a89dba18a62ef92f7d323ec890a0d38d |
BioASQ | Homepage | bioasq |
train test |
500 | 14.91M | 8.05 | No | How to Reproduce? |
NQ | Homepage | nq |
train test |
3,452 | 2.68M | 1.2 | Link | d4d3d2e48787a744b6f6e691ff534307 |
HotpotQA | Homepage | hotpotqa |
train dev test |
7,405 | 5.23M | 2.0 | Link | f412724f78b0d91183a0e86805e16114 |
FiQA-2018 | Homepage | fiqa |
train dev test |
648 | 57K | 2.6 | Link | 17918ed23cd04fb15047f73e6c3bd9d9 |
Signal-1M(RT) | Homepage | signal1m |
test |
97 | 2.86M | 19.6 | No | How to Reproduce? |
TREC-NEWS | Homepage | trec-news |
test |
57 | 595K | 19.6 | No | How to Reproduce? |
ArguAna | Homepage | arguana |
test |
1,406 | 8.67K | 1.0 | Link | 8ad3e3c2a5867cdced806d6503f29b99 |
Touche-2020 | Homepage | webis-touche2020 |
test |
49 | 382K | 19.0 | Link | 46f650ba5a527fc69e0a6521c5a23563 |
CQADupstack | Homepage | cqadupstack |
test |
13,145 | 457K | 1.4 | Link | 4e41456d7df8ee7760a7f866133bda78 |
Quora | Homepage | quora |
dev test |
10,000 | 523K | 1.6 | Link | 18fb154900ba42a600f84b839c173167 |
DBPedia | Homepage | dbpedia-entity |
dev test |
400 | 4.63M | 38.2 | Link | c2a39eb420a3164af735795df012ac2c |
SCIDOCS | Homepage | scidocs |
test |
1,000 | 25K | 4.9 | Link | 38121350fc3a4d2f48850f6aff52e4a9 |
FEVER | Homepage | fever |
train dev test |
6,666 | 5.42M | 1.2 | Link | 5a818580227bfb4b35bb6fa46d9b6c03 |
Climate-FEVER | Homepage | climate-fever |
test |
1,535 | 5.42M | 3.0 | Link | 8b66f0a9126c521bae2bde127b4dc99d |
SciFact | Homepage | scifact |
train test |
300 | 5K | 1.1 | Link | 5f7d1de60b170fc8027bb7898e2efca1 |
Robust04 | Homepage | robust04 |
test |
249 | 528K | 69.9 | No | How to Reproduce? |
Dataset Creation
Curation Rationale
[Needs More Information]
Source Data
Initial Data Collection and Normalization
[Needs More Information]
Who are the source language producers?
[Needs More Information]
Annotations
Annotation process
[Needs More Information]
Who are the annotators?
[Needs More Information]
Personal and Sensitive Information
[Needs More Information]
Considerations for Using the Data
Social Impact of Dataset
[Needs More Information]
Discussion of Biases
[Needs More Information]
Other Known Limitations
[Needs More Information]
Additional Information
Dataset Curators
[Needs More Information]
Licensing Information
[Needs More Information]
Citation Information
Cite as:
@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}
}
Contributions
Thanks to @Nthakur20 for adding this dataset.
- Downloads last month
- 210