Datasets:
mteb
/

Modalities:
Text
Formats:
json
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
License:
Samoed commited on
Commit
7228a2c
·
verified ·
1 Parent(s): e4e08e0

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +211 -59
README.md CHANGED
@@ -1,69 +1,221 @@
1
  ---
 
 
2
  language:
3
- - en
4
- multilinguality:
5
- - monolingual
6
  task_categories:
7
  - text-retrieval
8
- source_datasets:
9
- - quora
10
  task_ids:
11
- - document-retrieval
12
  config_names:
13
  - corpus
14
  tags:
15
- - text-retrieval
 
16
  dataset_info:
17
- - config_name: default
18
- features:
19
- - name: query-id
20
- dtype: string
21
- - name: corpus-id
22
- dtype: string
23
- - name: score
24
- dtype: float64
25
- splits:
26
- - name: dev
27
- num_bytes: 208509
28
- num_examples: 7626
29
- - name: test
30
- num_bytes: 428097
31
- num_examples: 15675
32
- - config_name: corpus
33
- features:
34
- - name: _id
35
- dtype: string
36
- - name: title
37
- dtype: string
38
- - name: text
39
- dtype: string
40
- splits:
41
- - name: corpus
42
- num_bytes: 41829670
43
- num_examples: 522931
44
- - config_name: queries
45
- features:
46
- - name: _id
47
- dtype: string
48
- - name: text
49
- dtype: string
50
- splits:
51
- - name: queries
52
- num_bytes: 979930
53
- num_examples: 15000
54
  configs:
55
- - config_name: default
56
- data_files:
57
- - split: dev
58
- path: qrels/dev.jsonl
59
- - split: test
60
- path: qrels/test.jsonl
61
- - config_name: corpus
62
- data_files:
63
- - split: corpus
64
- path: corpus.jsonl
65
- - config_name: queries
66
- data_files:
67
- - split: queries
68
- path: queries.jsonl
69
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - human-annotated
4
  language:
5
+ - eng
6
+ license: unknown
7
+ multilinguality: monolingual
8
  task_categories:
9
  - text-retrieval
 
 
10
  task_ids:
11
+ - Question answering
12
  config_names:
13
  - corpus
14
  tags:
15
+ - mteb
16
+ - text
17
  dataset_info:
18
+ - config_name: default
19
+ features:
20
+ - name: query-id
21
+ dtype: string
22
+ - name: corpus-id
23
+ dtype: string
24
+ - name: score
25
+ dtype: float64
26
+ splits:
27
+ - name: dev
28
+ num_bytes: 208509
29
+ num_examples: 7626
30
+ - name: test
31
+ num_bytes: 428097
32
+ num_examples: 15675
33
+ - config_name: corpus
34
+ features:
35
+ - name: _id
36
+ dtype: string
37
+ - name: title
38
+ dtype: string
39
+ - name: text
40
+ dtype: string
41
+ splits:
42
+ - name: corpus
43
+ num_bytes: 41829670
44
+ num_examples: 522931
45
+ - config_name: queries
46
+ features:
47
+ - name: _id
48
+ dtype: string
49
+ - name: text
50
+ dtype: string
51
+ splits:
52
+ - name: queries
53
+ num_bytes: 979930
54
+ num_examples: 15000
55
  configs:
56
+ - config_name: default
57
+ data_files:
58
+ - split: dev
59
+ path: qrels/dev.jsonl
60
+ - split: test
61
+ path: qrels/test.jsonl
62
+ - config_name: corpus
63
+ data_files:
64
+ - split: corpus
65
+ path: corpus.jsonl
66
+ - config_name: queries
67
+ data_files:
68
+ - split: queries
69
+ path: queries.jsonl
70
+ ---
71
+ <!-- adapted from https://github.com/huggingface/huggingface_hub/blob/v0.30.2/src/huggingface_hub/templates/datasetcard_template.md -->
72
+
73
+ <div align="center" style="padding: 40px 20px; background-color: white; border-radius: 12px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); max-width: 600px; margin: 0 auto;">
74
+ <h1 style="font-size: 3.5rem; color: #1a1a1a; margin: 0 0 20px 0; letter-spacing: 2px; font-weight: 700;">QuoraRetrieval</h1>
75
+ <div style="font-size: 1.5rem; color: #4a4a4a; margin-bottom: 5px; font-weight: 300;">An <a href="https://github.com/embeddings-benchmark/mteb" style="color: #2c5282; font-weight: 600; text-decoration: none;" onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'">MTEB</a> dataset</div>
76
+ <div style="font-size: 0.9rem; color: #2c5282; margin-top: 10px;">Massive Text Embedding Benchmark</div>
77
+ </div>
78
+
79
+ QuoraRetrieval is based on questions that are marked as duplicates on the Quora platform. Given a question, find other (duplicate) questions.
80
+
81
+ | | |
82
+ |---------------|---------------------------------------------|
83
+ | Task category | t2t |
84
+ | Domains | Written, Web, Blog |
85
+ | Reference | https://quoradata.quora.com/First-Quora-Dataset-Release-Question-Pairs |
86
+
87
+
88
+ ## How to evaluate on this task
89
+
90
+ You can evaluate an embedding model on this dataset using the following code:
91
+
92
+ ```python
93
+ import mteb
94
+
95
+ task = mteb.get_tasks(["QuoraRetrieval"])
96
+ evaluator = mteb.MTEB(task)
97
+
98
+ model = mteb.get_model(YOUR_MODEL)
99
+ evaluator.run(model)
100
+ ```
101
+
102
+ <!-- Datasets want link to arxiv in readme to autolink dataset with paper -->
103
+ To learn more about how to run models on `mteb` task check out the [GitHub repitory](https://github.com/embeddings-benchmark/mteb).
104
+
105
+ ## Citation
106
+
107
+ If you use this dataset, please cite the dataset as well as [mteb](https://github.com/embeddings-benchmark/mteb), as this dataset likely includes additional processing as a part of the [MMTEB Contribution](https://github.com/embeddings-benchmark/mteb/tree/main/docs/mmteb).
108
+
109
+ ```bibtex
110
+
111
+ @misc{quora-question-pairs,
112
+ author = {DataCanary, hilfialkaff, Lili Jiang, Meg Risdal, Nikhil Dandekar, tomtung},
113
+ publisher = {Kaggle},
114
+ title = {Quora Question Pairs},
115
+ url = {https://kaggle.com/competitions/quora-question-pairs},
116
+ year = {2017},
117
+ }
118
+
119
+
120
+ @article{enevoldsen2025mmtebmassivemultilingualtext,
121
+ title={MMTEB: Massive Multilingual Text Embedding Benchmark},
122
+ author={Kenneth Enevoldsen and Isaac Chung and Imene Kerboua and Márton Kardos and Ashwin Mathur and David Stap and Jay Gala and Wissam Siblini and Dominik Krzemiński and Genta Indra Winata and Saba Sturua and Saiteja Utpala and Mathieu Ciancone and Marion Schaeffer and Gabriel Sequeira and Diganta Misra and Shreeya Dhakal and Jonathan Rystrøm and Roman Solomatin and Ömer Çağatan and Akash Kundu and Martin Bernstorff and Shitao Xiao and Akshita Sukhlecha and Bhavish Pahwa and Rafał Poświata and Kranthi Kiran GV and Shawon Ashraf and Daniel Auras and Björn Plüster and Jan Philipp Harries and Loïc Magne and Isabelle Mohr and Mariya Hendriksen and Dawei Zhu and Hippolyte Gisserot-Boukhlef and Tom Aarsen and Jan Kostkan and Konrad Wojtasik and Taemin Lee and Marek Šuppa and Crystina Zhang and Roberta Rocca and Mohammed Hamdy and Andrianos Michail and John Yang and Manuel Faysse and Aleksei Vatolin and Nandan Thakur and Manan Dey and Dipam Vasani and Pranjal Chitale and Simone Tedeschi and Nguyen Tai and Artem Snegirev and Michael Günther and Mengzhou Xia and Weijia Shi and Xing Han Lù and Jordan Clive and Gayatri Krishnakumar and Anna Maksimova and Silvan Wehrli and Maria Tikhonova and Henil Panchal and Aleksandr Abramov and Malte Ostendorff and Zheng Liu and Simon Clematide and Lester James Miranda and Alena Fenogenova and Guangyu Song and Ruqiya Bin Safi and Wen-Ding Li and Alessia Borghini and Federico Cassano and Hongjin Su and Jimmy Lin and Howard Yen and Lasse Hansen and Sara Hooker and Chenghao Xiao and Vaibhav Adlakha and Orion Weller and Siva Reddy and Niklas Muennighoff},
123
+ publisher = {arXiv},
124
+ journal={arXiv preprint arXiv:2502.13595},
125
+ year={2025},
126
+ url={https://arxiv.org/abs/2502.13595},
127
+ doi = {10.48550/arXiv.2502.13595},
128
+ }
129
+
130
+ @article{muennighoff2022mteb,
131
+ author = {Muennighoff, Niklas and Tazi, Nouamane and Magne, Lo{\"\i}c and Reimers, Nils},
132
+ title = {MTEB: Massive Text Embedding Benchmark},
133
+ publisher = {arXiv},
134
+ journal={arXiv preprint arXiv:2210.07316},
135
+ year = {2022}
136
+ url = {https://arxiv.org/abs/2210.07316},
137
+ doi = {10.48550/ARXIV.2210.07316},
138
+ }
139
+ ```
140
+
141
+ # Dataset Statistics
142
+ <details>
143
+ <summary> Dataset Statistics</summary>
144
+
145
+ The following code contains the descriptive statistics from the task. These can also be obtained using:
146
+
147
+ ```python
148
+ import mteb
149
+
150
+ task = mteb.get_task("QuoraRetrieval")
151
+
152
+ desc_stats = task.metadata.descriptive_stats
153
+ ```
154
+
155
+ ```json
156
+ {
157
+ "dev": {
158
+ "num_samples": 527931,
159
+ "number_of_characters": 33285028,
160
+ "num_documents": 522931,
161
+ "min_document_length": 2,
162
+ "average_document_length": 63.158154708747425,
163
+ "max_document_length": 1170,
164
+ "unique_documents": 522931,
165
+ "num_queries": 5000,
166
+ "min_query_length": 12,
167
+ "average_query_length": 51.5342,
168
+ "max_query_length": 268,
169
+ "unique_queries": 5000,
170
+ "none_queries": 0,
171
+ "num_relevant_docs": 7626,
172
+ "min_relevant_docs_per_query": 1,
173
+ "average_relevant_docs_per_query": 1.5252,
174
+ "max_relevant_docs_per_query": 84,
175
+ "unique_relevant_docs": 7626,
176
+ "num_instructions": null,
177
+ "min_instruction_length": null,
178
+ "average_instruction_length": null,
179
+ "max_instruction_length": null,
180
+ "unique_instructions": null,
181
+ "num_top_ranked": null,
182
+ "min_top_ranked_per_query": null,
183
+ "average_top_ranked_per_query": null,
184
+ "max_top_ranked_per_query": null
185
+ },
186
+ "test": {
187
+ "num_samples": 532931,
188
+ "number_of_characters": 33542753,
189
+ "num_documents": 522931,
190
+ "min_document_length": 2,
191
+ "average_document_length": 63.158154708747425,
192
+ "max_document_length": 1170,
193
+ "unique_documents": 522931,
194
+ "num_queries": 10000,
195
+ "min_query_length": 2,
196
+ "average_query_length": 51.5396,
197
+ "max_query_length": 258,
198
+ "unique_queries": 10000,
199
+ "none_queries": 0,
200
+ "num_relevant_docs": 15675,
201
+ "min_relevant_docs_per_query": 1,
202
+ "average_relevant_docs_per_query": 1.5675,
203
+ "max_relevant_docs_per_query": 75,
204
+ "unique_relevant_docs": 15675,
205
+ "num_instructions": null,
206
+ "min_instruction_length": null,
207
+ "average_instruction_length": null,
208
+ "max_instruction_length": null,
209
+ "unique_instructions": null,
210
+ "num_top_ranked": null,
211
+ "min_top_ranked_per_query": null,
212
+ "average_top_ranked_per_query": null,
213
+ "max_top_ranked_per_query": null
214
+ }
215
+ }
216
+ ```
217
+
218
+ </details>
219
+
220
+ ---
221
+ *This dataset card was automatically generated using [MTEB](https://github.com/embeddings-benchmark/mteb)*