Datasets:
Modalities:
Text
Formats:
parquet
Languages:
English
Size:
1M - 10M
Tags:
biomedical-information-retrieval
citation-prediction-retrieval
passage-retrieval
news-retrieval
argument-retrieval
zero-shot-information-retrieval
License:
Duplicate from BeIR/msmarco
Browse filesCo-authored-by: Nandan Thakur <nthakur@users.noreply.huggingface.co>
- .gitattributes +37 -0
- README.md +179 -0
- corpus/corpus-00000-of-00001.parquet +3 -0
- queries/queries-00000-of-00001.parquet +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
# Audio files - uncompressed
|
| 29 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
# Audio files - compressed
|
| 33 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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:
|
| 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: 1632573546
|
| 49 |
+
num_examples: 8841823
|
| 50 |
+
download_size: 1632573546
|
| 51 |
+
dataset_size: 1632573546
|
| 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: 15437162
|
| 63 |
+
num_examples: 509962
|
| 64 |
+
download_size: 15437162
|
| 65 |
+
dataset_size: 15437162
|
| 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 |
+
This `msmarco` subset is part of BEIR.
|
| 83 |
+
|
| 84 |
+
### Languages
|
| 85 |
+
|
| 86 |
+
All tasks are in English (`en`).
|
| 87 |
+
|
| 88 |
+
## Dataset Structure
|
| 89 |
+
|
| 90 |
+
This dataset uses the standard BEIR retrieval layout and includes:
|
| 91 |
+
|
| 92 |
+
- `corpus`: one row per document with `_id`, `title`, `text`
|
| 93 |
+
- `queries`: one row per query with `_id`, `title`, `text`
|
| 94 |
+
|
| 95 |
+
### Data Fields
|
| 96 |
+
|
| 97 |
+
- `_id` (`string`): unique identifier
|
| 98 |
+
- `title` (`string`): title (empty string when unavailable)
|
| 99 |
+
- `text` (`string`): document/query text
|
| 100 |
+
|
| 101 |
+
### Data Instances
|
| 102 |
+
|
| 103 |
+
A high level example of any BEIR dataset:
|
| 104 |
+
|
| 105 |
+
```python
|
| 106 |
+
corpus = {
|
| 107 |
+
"doc1" : {
|
| 108 |
+
"title": "Albert Einstein",
|
| 109 |
+
"text": "Albert Einstein was a German-born theoretical physicist. who developed the theory of relativity, \
|
| 110 |
+
one of the two pillars of modern physics (alongside quantum mechanics). His work is also known for \
|
| 111 |
+
its influence on the philosophy of science. He is best known to the general public for his mass–energy \
|
| 112 |
+
equivalence formula E = mc2, which has been dubbed 'the world's most famous equation'. He received the 1921 \
|
| 113 |
+
Nobel Prize in Physics 'for his services to theoretical physics, and especially for his discovery of the law \
|
| 114 |
+
of the photoelectric effect', a pivotal step in the development of quantum theory."
|
| 115 |
+
},
|
| 116 |
+
"doc2" : {
|
| 117 |
+
"title": "", # Keep title an empty string if not present
|
| 118 |
+
"text": "Wheat beer is a top-fermented beer which is brewed with a large proportion of wheat relative to the amount of \
|
| 119 |
+
malted barley. The two main varieties are German Weißbier and Belgian witbier; other types include Lambic (made\
|
| 120 |
+
with wild yeast), Berliner Weisse (a cloudy, sour beer), and Gose (a sour, salty beer)."
|
| 121 |
+
},
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
queries = {
|
| 125 |
+
"q1" : "Who developed the mass-energy equivalence formula?",
|
| 126 |
+
"q2" : "Which beer is brewed with a large proportion of wheat?"
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
qrels = {
|
| 130 |
+
"q1" : {"doc1": 1},
|
| 131 |
+
"q2" : {"doc2": 1},
|
| 132 |
+
}
|
| 133 |
+
```
|
| 134 |
+
|
| 135 |
+
### MSMARCO Data Splits
|
| 136 |
+
|
| 137 |
+
| Subset | Split | Rows |
|
| 138 |
+
| --- | --- | ---: |
|
| 139 |
+
| corpus | corpus | 8,841,823 |
|
| 140 |
+
| queries | queries | 509,962 |
|
| 141 |
+
|
| 142 |
+
### BEIR Dataset Download
|
| 143 |
+
|
| 144 |
+
You can also download BEIR datasets directly (without loading through Hugging Face datasets) using the links below.
|
| 145 |
+
|
| 146 |
+
| Dataset | Website | BEIR-Name | Type | Queries | Corpus | Rel D/Q | Down-load | md5 |
|
| 147 |
+
| --- | --- | --- | --- | ---: | ---: | ---: | --- | --- |
|
| 148 |
+
| 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` |
|
| 149 |
+
| 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` |
|
| 150 |
+
| 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` |
|
| 151 |
+
| 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) |
|
| 152 |
+
| 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` |
|
| 153 |
+
| 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` |
|
| 154 |
+
| 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` |
|
| 155 |
+
| 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) |
|
| 156 |
+
| 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) |
|
| 157 |
+
| 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` |
|
| 158 |
+
| 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` |
|
| 159 |
+
| 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` |
|
| 160 |
+
| 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` |
|
| 161 |
+
| 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` |
|
| 162 |
+
| 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` |
|
| 163 |
+
| 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` |
|
| 164 |
+
| 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` |
|
| 165 |
+
| 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` |
|
| 166 |
+
| 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) |
|
| 167 |
+
|
| 168 |
+
## Citation Information
|
| 169 |
+
|
| 170 |
+
```bibtex
|
| 171 |
+
@inproceedings{
|
| 172 |
+
thakur2021beir,
|
| 173 |
+
title={{BEIR}: A Heterogeneous Benchmark for Zero-shot Evaluation of Information Retrieval Models},
|
| 174 |
+
author={Nandan Thakur and Nils Reimers and Andreas R{\"u}ckl{\'e} and Abhishek Srivastava and Iryna Gurevych},
|
| 175 |
+
booktitle={Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2)},
|
| 176 |
+
year={2021},
|
| 177 |
+
url={https://openreview.net/forum?id=wCu6T5xFjeJ}
|
| 178 |
+
}
|
| 179 |
+
```
|
corpus/corpus-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:57d6fc19851d4a363fff8b3e9acb0b549d97d4b141bd2aedd1522149dfeb8bd6
|
| 3 |
+
size 1632573546
|
queries/queries-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f43da825b7788be9303603cc48ae21705da7a75e4a69e6121af56e25b34cdd6
|
| 3 |
+
size 15437162
|