Datasets:
Modalities:
Text
Formats:
parquet
Languages:
English
Size:
100K - 1M
Tags:
biomedical-information-retrieval
citation-prediction-retrieval
passage-retrieval
news-retrieval
argument-retrieval
zero-shot-information-retrieval
License:
Convert webis-touche2020 dataset to Parquet
#3
by nthakur - opened
README.md
CHANGED
|
@@ -1,6 +1,4 @@
|
|
| 1 |
---
|
| 2 |
-
annotations_creators: []
|
| 3 |
-
language_creators: []
|
| 4 |
language:
|
| 5 |
- en
|
| 6 |
license:
|
|
@@ -9,93 +7,77 @@ multilinguality:
|
|
| 9 |
- monolingual
|
| 10 |
paperswithcode_id: beir
|
| 11 |
pretty_name: BEIR Benchmark
|
| 12 |
-
size_categories:
|
| 13 |
-
msmarco:
|
| 14 |
-
- 1M<n<10M
|
| 15 |
-
trec-covid:
|
| 16 |
-
- 100k<n<1M
|
| 17 |
-
nfcorpus:
|
| 18 |
-
- 1K<n<10K
|
| 19 |
-
nq:
|
| 20 |
-
- 1M<n<10M
|
| 21 |
-
hotpotqa:
|
| 22 |
-
- 1M<n<10M
|
| 23 |
-
fiqa:
|
| 24 |
-
- 10K<n<100K
|
| 25 |
-
arguana:
|
| 26 |
-
- 1K<n<10K
|
| 27 |
-
touche-2020:
|
| 28 |
-
- 100K<n<1M
|
| 29 |
-
cqadupstack:
|
| 30 |
-
- 100K<n<1M
|
| 31 |
-
quora:
|
| 32 |
-
- 100K<n<1M
|
| 33 |
-
dbpedia:
|
| 34 |
-
- 1M<n<10M
|
| 35 |
-
scidocs:
|
| 36 |
-
- 10K<n<100K
|
| 37 |
-
fever:
|
| 38 |
-
- 1M<n<10M
|
| 39 |
-
climate-fever:
|
| 40 |
-
- 1M<n<10M
|
| 41 |
-
scifact:
|
| 42 |
-
- 1K<n<10K
|
| 43 |
-
source_datasets: []
|
| 44 |
task_categories:
|
|
|
|
| 45 |
- text-retrieval
|
| 46 |
-
- zero-shot-retrieval
|
| 47 |
-
- information-retrieval
|
| 48 |
-
- zero-shot-information-retrieval
|
| 49 |
task_ids:
|
| 50 |
-
-
|
| 51 |
- entity-linking-retrieval
|
| 52 |
- fact-checking-retrieval
|
| 53 |
-
|
|
|
|
| 54 |
- citation-prediction-retrieval
|
| 55 |
-
-
|
| 56 |
-
- argument-retrieval
|
| 57 |
- news-retrieval
|
| 58 |
-
-
|
|
|
|
|
|
|
| 59 |
- question-answering-retrieval
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
---
|
| 61 |
|
| 62 |
# Dataset Card for BEIR Benchmark
|
| 63 |
|
| 64 |
-
## Table of Contents
|
| 65 |
-
- [Dataset Description](#dataset-description)
|
| 66 |
-
- [Dataset Summary](#dataset-summary)
|
| 67 |
-
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
| 68 |
-
- [Languages](#languages)
|
| 69 |
-
- [Dataset Structure](#dataset-structure)
|
| 70 |
-
- [Data Instances](#data-instances)
|
| 71 |
-
- [Data Fields](#data-fields)
|
| 72 |
-
- [Data Splits](#data-splits)
|
| 73 |
-
- [Dataset Creation](#dataset-creation)
|
| 74 |
-
- [Curation Rationale](#curation-rationale)
|
| 75 |
-
- [Source Data](#source-data)
|
| 76 |
-
- [Annotations](#annotations)
|
| 77 |
-
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
| 78 |
-
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
| 79 |
-
- [Social Impact of Dataset](#social-impact-of-dataset)
|
| 80 |
-
- [Discussion of Biases](#discussion-of-biases)
|
| 81 |
-
- [Other Known Limitations](#other-known-limitations)
|
| 82 |
-
- [Additional Information](#additional-information)
|
| 83 |
-
- [Dataset Curators](#dataset-curators)
|
| 84 |
-
- [Licensing Information](#licensing-information)
|
| 85 |
-
- [Citation Information](#citation-information)
|
| 86 |
-
- [Contributions](#contributions)
|
| 87 |
-
|
| 88 |
## Dataset Description
|
| 89 |
|
| 90 |
-
- **Homepage:** https://
|
| 91 |
-
- **Repository:** https://
|
| 92 |
- **Paper:** https://openreview.net/forum?id=wCu6T5xFjeJ
|
| 93 |
- **Leaderboard:** https://docs.google.com/spreadsheets/d/1L8aACyPaXrL8iEelJLGqlMqXKPX2oSP_R10pZoy77Ns
|
| 94 |
- **Point of Contact:** nandan.thakur@uwaterloo.ca
|
| 95 |
|
| 96 |
### Dataset Summary
|
| 97 |
|
| 98 |
-
BEIR is a heterogeneous benchmark
|
| 99 |
|
| 100 |
- Fact-checking: [FEVER](http://fever.ai), [Climate-FEVER](http://climatefever.ai), [SciFact](https://github.com/allenai/scifact)
|
| 101 |
- Question-Answering: [NQ](https://ai.google.com/research/NaturalQuestions), [HotpotQA](https://hotpotqa.github.io), [FiQA-2018](https://sites.google.com/view/fiqa/)
|
|
@@ -107,18 +89,7 @@ BEIR is a heterogeneous benchmark that has been built from 18 diverse datasets r
|
|
| 107 |
- Tweet Retrieval: [Signal-1M](https://research.signal-ai.com/datasets/signal1m-tweetir.html)
|
| 108 |
- Entity Retrieval: [DBPedia](https://github.com/iai-group/DBpedia-Entity/)
|
| 109 |
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
```python
|
| 114 |
-
|
| 115 |
-
```
|
| 116 |
-
|
| 117 |
-
### Supported Tasks and Leaderboards
|
| 118 |
-
|
| 119 |
-
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.
|
| 120 |
-
|
| 121 |
-
The current best performing models can be found [here](https://eval.ai/web/challenges/challenge-page/689/leaderboard/).
|
| 122 |
|
| 123 |
### Languages
|
| 124 |
|
|
@@ -126,19 +97,25 @@ All tasks are in English (`en`).
|
|
| 126 |
|
| 127 |
## Dataset Structure
|
| 128 |
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
- `
|
| 132 |
-
- `
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 133 |
|
| 134 |
### Data Instances
|
| 135 |
|
| 136 |
-
A high level example of any
|
| 137 |
|
| 138 |
```python
|
| 139 |
corpus = {
|
| 140 |
"doc1" : {
|
| 141 |
-
"title": "Albert Einstein",
|
| 142 |
"text": "Albert Einstein was a German-born theoretical physicist. who developed the theory of relativity, \
|
| 143 |
one of the two pillars of modern physics (alongside quantum mechanics). His work is also known for \
|
| 144 |
its influence on the philosophy of science. He is best known to the general public for his mass–energy \
|
|
@@ -165,111 +142,42 @@ qrels = {
|
|
| 165 |
}
|
| 166 |
```
|
| 167 |
|
| 168 |
-
### Data
|
| 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 |
-
| Touche-2020| [Homepage](https://webis.de/events/touche-20/shared-task-1.html) | ``webis-touche2020``| ``test``| 49 | 382K | 19.0 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/webis-touche2020.zip) | ``46f650ba5a527fc69e0a6521c5a23563`` |
|
| 205 |
-
| CQADupstack| [Homepage](http://nlp.cis.unimelb.edu.au/resources/cqadupstack/) | ``cqadupstack``| ``test``| 13,145 | 457K | 1.4 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/cqadupstack.zip) | ``4e41456d7df8ee7760a7f866133bda78`` |
|
| 206 |
-
| Quora| [Homepage](https://www.quora.com/q/quoradata/First-Quora-Dataset-Release-Question-Pairs) | ``quora``| ``dev``<br>``test``| 10,000 | 523K | 1.6 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/quora.zip) | ``18fb154900ba42a600f84b839c173167`` |
|
| 207 |
-
| DBPedia | [Homepage](https://github.com/iai-group/DBpedia-Entity/) | ``dbpedia-entity``| ``dev``<br>``test``| 400 | 4.63M | 38.2 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/dbpedia-entity.zip) | ``c2a39eb420a3164af735795df012ac2c`` |
|
| 208 |
-
| SCIDOCS| [Homepage](https://allenai.org/data/scidocs) | ``scidocs``| ``test``| 1,000 | 25K | 4.9 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/scidocs.zip) | ``38121350fc3a4d2f48850f6aff52e4a9`` |
|
| 209 |
-
| FEVER | [Homepage](http://fever.ai) | ``fever``| ``train``<br>``dev``<br>``test``| 6,666 | 5.42M | 1.2| [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/fever.zip) | ``5a818580227bfb4b35bb6fa46d9b6c03`` |
|
| 210 |
-
| Climate-FEVER| [Homepage](http://climatefever.ai) | ``climate-fever``|``test``| 1,535 | 5.42M | 3.0 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/climate-fever.zip) | ``8b66f0a9126c521bae2bde127b4dc99d`` |
|
| 211 |
-
| SciFact| [Homepage](https://github.com/allenai/scifact) | ``scifact``| ``train``<br>``test``| 300 | 5K | 1.1 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/scifact.zip) | ``5f7d1de60b170fc8027bb7898e2efca1`` |
|
| 212 |
-
| Robust04 | [Homepage](https://trec.nist.gov/data/robust/04.guidelines.html) | ``robust04``| ``test``| 249 | 528K | 69.9 | No | [How to Reproduce?](https://github.com/UKPLab/beir/blob/main/examples/dataset#3-robust04) |
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
## Dataset Creation
|
| 216 |
-
|
| 217 |
-
### Curation Rationale
|
| 218 |
-
|
| 219 |
-
[Needs More Information]
|
| 220 |
-
|
| 221 |
-
### Source Data
|
| 222 |
-
|
| 223 |
-
#### Initial Data Collection and Normalization
|
| 224 |
-
|
| 225 |
-
[Needs More Information]
|
| 226 |
-
|
| 227 |
-
#### Who are the source language producers?
|
| 228 |
-
|
| 229 |
-
[Needs More Information]
|
| 230 |
-
|
| 231 |
-
### Annotations
|
| 232 |
-
|
| 233 |
-
#### Annotation process
|
| 234 |
-
|
| 235 |
-
[Needs More Information]
|
| 236 |
-
|
| 237 |
-
#### Who are the annotators?
|
| 238 |
-
|
| 239 |
-
[Needs More Information]
|
| 240 |
-
|
| 241 |
-
### Personal and Sensitive Information
|
| 242 |
-
|
| 243 |
-
[Needs More Information]
|
| 244 |
-
|
| 245 |
-
## Considerations for Using the Data
|
| 246 |
-
|
| 247 |
-
### Social Impact of Dataset
|
| 248 |
-
|
| 249 |
-
[Needs More Information]
|
| 250 |
-
|
| 251 |
-
### Discussion of Biases
|
| 252 |
-
|
| 253 |
-
[Needs More Information]
|
| 254 |
-
|
| 255 |
-
### Other Known Limitations
|
| 256 |
-
|
| 257 |
-
[Needs More Information]
|
| 258 |
-
|
| 259 |
-
## Additional Information
|
| 260 |
-
|
| 261 |
-
### Dataset Curators
|
| 262 |
-
|
| 263 |
-
[Needs More Information]
|
| 264 |
-
|
| 265 |
-
### Licensing Information
|
| 266 |
-
|
| 267 |
-
[Needs More Information]
|
| 268 |
-
|
| 269 |
-
### Citation Information
|
| 270 |
-
|
| 271 |
-
Cite as:
|
| 272 |
-
```
|
| 273 |
@inproceedings{
|
| 274 |
thakur2021beir,
|
| 275 |
title={{BEIR}: A Heterogeneous Benchmark for Zero-shot Evaluation of Information Retrieval Models},
|
|
@@ -279,7 +187,3 @@ year={2021},
|
|
| 279 |
url={https://openreview.net/forum?id=wCu6T5xFjeJ}
|
| 280 |
}
|
| 281 |
```
|
| 282 |
-
|
| 283 |
-
### Contributions
|
| 284 |
-
|
| 285 |
-
Thanks to [@Nthakur20](https://github.com/Nthakur20) for adding this dataset.
|
|
|
|
| 1 |
---
|
|
|
|
|
|
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
license:
|
|
|
|
| 7 |
- monolingual
|
| 8 |
paperswithcode_id: beir
|
| 9 |
pretty_name: BEIR Benchmark
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
task_categories:
|
| 11 |
+
- zero-shot-classification
|
| 12 |
- text-retrieval
|
|
|
|
|
|
|
|
|
|
| 13 |
task_ids:
|
| 14 |
+
- document-retrieval
|
| 15 |
- entity-linking-retrieval
|
| 16 |
- fact-checking-retrieval
|
| 17 |
+
tags:
|
| 18 |
+
- biomedical-information-retrieval
|
| 19 |
- citation-prediction-retrieval
|
| 20 |
+
- passage-retrieval
|
|
|
|
| 21 |
- news-retrieval
|
| 22 |
+
- argument-retrieval
|
| 23 |
+
- zero-shot-information-retrieval
|
| 24 |
+
- tweet-retrieval
|
| 25 |
- question-answering-retrieval
|
| 26 |
+
- duplication-question-retrieval
|
| 27 |
+
- zero-shot-retrieval
|
| 28 |
+
configs:
|
| 29 |
+
- config_name: corpus
|
| 30 |
+
data_files:
|
| 31 |
+
- split: corpus
|
| 32 |
+
path: corpus/corpus-*
|
| 33 |
+
- config_name: queries
|
| 34 |
+
data_files:
|
| 35 |
+
- split: queries
|
| 36 |
+
path: queries/queries-*
|
| 37 |
+
dataset_info:
|
| 38 |
+
- config_name: corpus
|
| 39 |
+
features:
|
| 40 |
+
- name: _id
|
| 41 |
+
dtype: string
|
| 42 |
+
- name: title
|
| 43 |
+
dtype: string
|
| 44 |
+
- name: text
|
| 45 |
+
dtype: string
|
| 46 |
+
splits:
|
| 47 |
+
- name: corpus
|
| 48 |
+
num_bytes: 356779687
|
| 49 |
+
num_examples: 382545
|
| 50 |
+
download_size: 356779687
|
| 51 |
+
dataset_size: 356779687
|
| 52 |
+
- config_name: queries
|
| 53 |
+
features:
|
| 54 |
+
- name: _id
|
| 55 |
+
dtype: string
|
| 56 |
+
- name: title
|
| 57 |
+
dtype: string
|
| 58 |
+
- name: text
|
| 59 |
+
dtype: string
|
| 60 |
+
splits:
|
| 61 |
+
- name: queries
|
| 62 |
+
num_bytes: 4202
|
| 63 |
+
num_examples: 49
|
| 64 |
+
download_size: 4202
|
| 65 |
+
dataset_size: 4202
|
| 66 |
---
|
| 67 |
|
| 68 |
# Dataset Card for BEIR Benchmark
|
| 69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
## Dataset Description
|
| 71 |
|
| 72 |
+
- **Homepage:** https://beir.ai
|
| 73 |
+
- **Repository:** https://beir.ai
|
| 74 |
- **Paper:** https://openreview.net/forum?id=wCu6T5xFjeJ
|
| 75 |
- **Leaderboard:** https://docs.google.com/spreadsheets/d/1L8aACyPaXrL8iEelJLGqlMqXKPX2oSP_R10pZoy77Ns
|
| 76 |
- **Point of Contact:** nandan.thakur@uwaterloo.ca
|
| 77 |
|
| 78 |
### Dataset Summary
|
| 79 |
|
| 80 |
+
BEIR is a heterogeneous benchmark built from 18 diverse datasets representing 9 information retrieval tasks.
|
| 81 |
|
| 82 |
- Fact-checking: [FEVER](http://fever.ai), [Climate-FEVER](http://climatefever.ai), [SciFact](https://github.com/allenai/scifact)
|
| 83 |
- Question-Answering: [NQ](https://ai.google.com/research/NaturalQuestions), [HotpotQA](https://hotpotqa.github.io), [FiQA-2018](https://sites.google.com/view/fiqa/)
|
|
|
|
| 89 |
- Tweet Retrieval: [Signal-1M](https://research.signal-ai.com/datasets/signal1m-tweetir.html)
|
| 90 |
- Entity Retrieval: [DBPedia](https://github.com/iai-group/DBpedia-Entity/)
|
| 91 |
|
| 92 |
+
> **This `webis-touche2020` subset is the Argument Retrieval task within BEIR.**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
|
| 94 |
### Languages
|
| 95 |
|
|
|
|
| 97 |
|
| 98 |
## Dataset Structure
|
| 99 |
|
| 100 |
+
This dataset uses the standard BEIR retrieval layout and includes:
|
| 101 |
+
|
| 102 |
+
- `corpus`: one row per document with `_id`, `title`, `text`
|
| 103 |
+
- `queries`: one row per query with `_id`, `title`, `text`
|
| 104 |
+
|
| 105 |
+
### Data Fields
|
| 106 |
+
|
| 107 |
+
- `_id` (`string`): unique identifier
|
| 108 |
+
- `title` (`string`): title (empty string when unavailable)
|
| 109 |
+
- `text` (`string`): document/query text
|
| 110 |
|
| 111 |
### Data Instances
|
| 112 |
|
| 113 |
+
A high level example of any BEIR dataset:
|
| 114 |
|
| 115 |
```python
|
| 116 |
corpus = {
|
| 117 |
"doc1" : {
|
| 118 |
+
"title": "Albert Einstein",
|
| 119 |
"text": "Albert Einstein was a German-born theoretical physicist. who developed the theory of relativity, \
|
| 120 |
one of the two pillars of modern physics (alongside quantum mechanics). His work is also known for \
|
| 121 |
its influence on the philosophy of science. He is best known to the general public for his mass–energy \
|
|
|
|
| 142 |
}
|
| 143 |
```
|
| 144 |
|
| 145 |
+
### Touche-2020 Data Splits
|
| 146 |
+
|
| 147 |
+
| Subset | Split | Rows |
|
| 148 |
+
| --- | --- | ---: |
|
| 149 |
+
| corpus | corpus | 382,545 |
|
| 150 |
+
| queries | queries | 49 |
|
| 151 |
+
|
| 152 |
+
### BEIR Direct Download
|
| 153 |
+
|
| 154 |
+
You can also download BEIR datasets directly (without loading through Hugging Face datasets) using the links below.
|
| 155 |
+
|
| 156 |
+
| Dataset | Website | BEIR-Name | Type | Queries | Corpus | Rel D/Q | Down-load | md5 |
|
| 157 |
+
| --- | --- | --- | --- | ---: | ---: | ---: | --- | --- |
|
| 158 |
+
| MSMARCO | [Homepage](https://microsoft.github.io/msmarco/) | `msmarco` | `train` `dev` `test` | 6,980 | 8.84M | 1.1 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/msmarco.zip) | `444067daf65d982533ea17ebd59501e4` |
|
| 159 |
+
| TREC-COVID | [Homepage](https://ir.nist.gov/covidSubmit/index.html) | `trec-covid` | `test` | 50 | 171K | 493.5 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/trec-covid.zip) | `ce62140cb23feb9becf6270d0d1fe6d1` |
|
| 160 |
+
| NFCorpus | [Homepage](https://www.cl.uni-heidelberg.de/statnlpgroup/nfcorpus/) | `nfcorpus` | `train` `dev` `test` | 323 | 3.6K | 38.2 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/nfcorpus.zip) | `a89dba18a62ef92f7d323ec890a0d38d` |
|
| 161 |
+
| BioASQ | [Homepage](http://bioasq.org) | `bioasq` | `train` `test` | 500 | 14.91M | 8.05 | No | [How to Reproduce?](https://github.com/UKPLab/beir/blob/main/examples/dataset#2-bioasq) |
|
| 162 |
+
| NQ | [Homepage](https://ai.google.com/research/NaturalQuestions) | `nq` | `train` `test` | 3,452 | 2.68M | 1.2 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/nq.zip) | `d4d3d2e48787a744b6f6e691ff534307` |
|
| 163 |
+
| HotpotQA | [Homepage](https://hotpotqa.github.io) | `hotpotqa` | `train` `dev` `test` | 7,405 | 5.23M | 2.0 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/hotpotqa.zip) | `f412724f78b0d91183a0e86805e16114` |
|
| 164 |
+
| FiQA-2018 | [Homepage](https://sites.google.com/view/fiqa/) | `fiqa` | `train` `dev` `test` | 648 | 57K | 2.6 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/fiqa.zip) | `17918ed23cd04fb15047f73e6c3bd9d9` |
|
| 165 |
+
| Signal-1M(RT) | [Homepage](https://research.signal-ai.com/datasets/signal1m-tweetir.html) | `signal1m` | `test` | 97 | 2.86M | 19.6 | No | [How to Reproduce?](https://github.com/UKPLab/beir/blob/main/examples/dataset#4-signal-1m) |
|
| 166 |
+
| TREC-NEWS | [Homepage](https://trec.nist.gov/data/news2019.html) | `trec-news` | `test` | 57 | 595K | 19.6 | No | [How to Reproduce?](https://github.com/UKPLab/beir/blob/main/examples/dataset#1-trec-news) |
|
| 167 |
+
| ArguAna | [Homepage](http://argumentation.bplaced.net/arguana/data) | `arguana` | `test` | 1,406 | 8.67K | 1.0 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/arguana.zip) | `8ad3e3c2a5867cdced806d6503f29b99` |
|
| 168 |
+
| Touche-2020 | [Homepage](https://webis.de/events/touche-20/shared-task-1.html) | `webis-touche2020` | `test` | 49 | 382K | 19.0 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/webis-touche2020.zip) | `46f650ba5a527fc69e0a6521c5a23563` |
|
| 169 |
+
| CQADupstack | [Homepage](http://nlp.cis.unimelb.edu.au/resources/cqadupstack/) | `cqadupstack` | `test` | 13,145 | 457K | 1.4 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/cqadupstack.zip) | `4e41456d7df8ee7760a7f866133bda78` |
|
| 170 |
+
| Quora | [Homepage](https://www.quora.com/q/quoradata/First-Quora-Dataset-Release-Question-Pairs) | `quora` | `dev` `test` | 10,000 | 523K | 1.6 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/quora.zip) | `18fb154900ba42a600f84b839c173167` |
|
| 171 |
+
| DBPedia | [Homepage](https://github.com/iai-group/DBpedia-Entity/) | `dbpedia-entity` | `dev` `test` | 400 | 4.63M | 38.2 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/dbpedia-entity.zip) | `c2a39eb420a3164af735795df012ac2c` |
|
| 172 |
+
| SCIDOCS | [Homepage](https://allenai.org/data/scidocs) | `scidocs` | `test` | 1,000 | 25K | 4.9 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/scidocs.zip) | `38121350fc3a4d2f48850f6aff52e4a9` |
|
| 173 |
+
| FEVER | [Homepage](http://fever.ai) | `fever` | `train` `dev` `test` | 6,666 | 5.42M | 1.2 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/fever.zip) | `5a818580227bfb4b35bb6fa46d9b6c03` |
|
| 174 |
+
| Climate-FEVER | [Homepage](http://climatefever.ai) | `climate-fever` | `test` | 1,535 | 5.42M | 3.0 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/climate-fever.zip) | `8b66f0a9126c521bae2bde127b4dc99d` |
|
| 175 |
+
| SciFact | [Homepage](https://github.com/allenai/scifact) | `scifact` | `train` `test` | 300 | 5K | 1.1 | [Link](https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/scifact.zip) | `5f7d1de60b170fc8027bb7898e2efca1` |
|
| 176 |
+
| Robust04 | [Homepage](https://trec.nist.gov/data/robust/04.guidelines.html) | `robust04` | `test` | 249 | 528K | 69.9 | No | [How to Reproduce?](https://github.com/UKPLab/beir/blob/main/examples/dataset#3-robust04) |
|
| 177 |
+
|
| 178 |
+
## Citation Information
|
| 179 |
+
|
| 180 |
+
```bibtex
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 181 |
@inproceedings{
|
| 182 |
thakur2021beir,
|
| 183 |
title={{BEIR}: A Heterogeneous Benchmark for Zero-shot Evaluation of Information Retrieval Models},
|
|
|
|
| 187 |
url={https://openreview.net/forum?id=wCu6T5xFjeJ}
|
| 188 |
}
|
| 189 |
```
|
|
|
|
|
|
|
|
|
|
|
|
corpus.jsonl.gz → corpus/corpus-00000-of-00001.parquet
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73cceb94101bdd250a97baaf279446ca9b22ca08e6e2b742e13176306f2613f0
|
| 3 |
+
size 356779687
|
queries.jsonl.gz → queries/queries-00000-of-00001.parquet
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9da9f45bc76294eedbaa0635d8543a8bfa30ac016cbcb98f1303259fa2ed7cc
|
| 3 |
+
size 4202
|
webis-touche2020.py
DELETED
|
@@ -1,58 +0,0 @@
|
|
| 1 |
-
import json
|
| 2 |
-
import csv
|
| 3 |
-
import os
|
| 4 |
-
import datasets
|
| 5 |
-
|
| 6 |
-
logger = datasets.logging.get_logger(__name__)
|
| 7 |
-
|
| 8 |
-
_DESCRIPTION = "FIQA Dataset"
|
| 9 |
-
_SPLITS = ["corpus", "queries"]
|
| 10 |
-
|
| 11 |
-
URL = ""
|
| 12 |
-
_URLs = {subset: URL + f"{subset}.jsonl.gz" for subset in _SPLITS}
|
| 13 |
-
|
| 14 |
-
class BEIR(datasets.GeneratorBasedBuilder):
|
| 15 |
-
"""BEIR BenchmarkDataset."""
|
| 16 |
-
|
| 17 |
-
BUILDER_CONFIGS = [
|
| 18 |
-
datasets.BuilderConfig(
|
| 19 |
-
name=name,
|
| 20 |
-
description=f"This is the {name} in the FiQA dataset.",
|
| 21 |
-
) for name in _SPLITS
|
| 22 |
-
]
|
| 23 |
-
|
| 24 |
-
def _info(self):
|
| 25 |
-
|
| 26 |
-
return datasets.DatasetInfo(
|
| 27 |
-
description=_DESCRIPTION,
|
| 28 |
-
features=datasets.Features({
|
| 29 |
-
"_id": datasets.Value("string"),
|
| 30 |
-
"title": datasets.Value("string"),
|
| 31 |
-
"text": datasets.Value("string"),
|
| 32 |
-
}),
|
| 33 |
-
supervised_keys=None,
|
| 34 |
-
)
|
| 35 |
-
|
| 36 |
-
def _split_generators(self, dl_manager):
|
| 37 |
-
"""Returns SplitGenerators."""
|
| 38 |
-
|
| 39 |
-
my_urls = _URLs[self.config.name]
|
| 40 |
-
data_dir = dl_manager.download_and_extract(my_urls)
|
| 41 |
-
|
| 42 |
-
return [
|
| 43 |
-
datasets.SplitGenerator(
|
| 44 |
-
name=self.config.name,
|
| 45 |
-
# These kwargs will be passed to _generate_examples
|
| 46 |
-
gen_kwargs={"filepath": data_dir},
|
| 47 |
-
),
|
| 48 |
-
]
|
| 49 |
-
|
| 50 |
-
def _generate_examples(self, filepath):
|
| 51 |
-
"""Yields examples."""
|
| 52 |
-
with open(filepath, encoding="utf-8") as f:
|
| 53 |
-
texts = f.readlines()
|
| 54 |
-
for i, text in enumerate(texts):
|
| 55 |
-
text = json.loads(text)
|
| 56 |
-
if 'metadata' in text: del text['metadata']
|
| 57 |
-
if "title" not in text: text["title"] = ""
|
| 58 |
-
yield i, text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|