Datasets:
mteb
/

Modalities:
Text
Formats:
json
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
License:
Samoed commited on
Commit
0482c54
·
verified ·
1 Parent(s): 4ffe81d

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +187 -54
README.md CHANGED
@@ -1,64 +1,197 @@
1
  ---
 
 
2
  language:
3
- - en
4
- multilinguality:
5
- - monolingual
6
  task_categories:
7
  - text-retrieval
8
- source_datasets:
9
- - cqadupstack-wordpress
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: test
27
- num_bytes: 19885
28
- num_examples: 744
29
- - config_name: corpus
30
- features:
31
- - name: _id
32
- dtype: string
33
- - name: title
34
- dtype: string
35
- - name: text
36
- dtype: string
37
- splits:
38
- - name: corpus
39
- num_bytes: 55433096
40
- num_examples: 48605
41
- - config_name: queries
42
- features:
43
- - name: _id
44
- dtype: string
45
- - name: text
46
- dtype: string
47
- splits:
48
- - name: queries
49
- num_bytes: 33572
50
- num_examples: 541
51
  configs:
52
- - config_name: default
53
- data_files:
54
- - split: test
55
- path: qrels/test.jsonl
56
- - config_name: corpus
57
- data_files:
58
- - split: corpus
59
- path: corpus.jsonl
60
- - config_name: queries
61
- data_files:
62
- - split: queries
63
- path: queries.jsonl
64
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - derived
4
  language:
5
+ - eng
6
+ license: apache-2.0
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: test
28
+ num_bytes: 19885
29
+ num_examples: 744
30
+ - config_name: corpus
31
+ features:
32
+ - name: _id
33
+ dtype: string
34
+ - name: title
35
+ dtype: string
36
+ - name: text
37
+ dtype: string
38
+ splits:
39
+ - name: corpus
40
+ num_bytes: 55433096
41
+ num_examples: 48605
42
+ - config_name: queries
43
+ features:
44
+ - name: _id
45
+ dtype: string
46
+ - name: text
47
+ dtype: string
48
+ splits:
49
+ - name: queries
50
+ num_bytes: 33572
51
+ num_examples: 541
52
  configs:
53
+ - config_name: default
54
+ data_files:
55
+ - split: test
56
+ path: qrels/test.jsonl
57
+ - config_name: corpus
58
+ data_files:
59
+ - split: corpus
60
+ path: corpus.jsonl
61
+ - config_name: queries
62
+ data_files:
63
+ - split: queries
64
+ path: queries.jsonl
65
+ ---
66
+ <!-- adapted from https://github.com/huggingface/huggingface_hub/blob/v0.30.2/src/huggingface_hub/templates/datasetcard_template.md -->
67
+
68
+ <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;">
69
+ <h1 style="font-size: 3.5rem; color: #1a1a1a; margin: 0 0 20px 0; letter-spacing: 2px; font-weight: 700;">CQADupstackWordpressRetrieval</h1>
70
+ <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>
71
+ <div style="font-size: 0.9rem; color: #2c5282; margin-top: 10px;">Massive Text Embedding Benchmark</div>
72
+ </div>
73
+
74
+ CQADupStack: A Benchmark Data Set for Community Question-Answering Research
75
+
76
+ | | |
77
+ |---------------|---------------------------------------------|
78
+ | Task category | t2t |
79
+ | Domains | Written, Web, Programming |
80
+ | Reference | http://nlp.cis.unimelb.edu.au/resources/cqadupstack/ |
81
+
82
+
83
+ ## How to evaluate on this task
84
+
85
+ You can evaluate an embedding model on this dataset using the following code:
86
+
87
+ ```python
88
+ import mteb
89
+
90
+ task = mteb.get_tasks(["CQADupstackWordpressRetrieval"])
91
+ evaluator = mteb.MTEB(task)
92
+
93
+ model = mteb.get_model(YOUR_MODEL)
94
+ evaluator.run(model)
95
+ ```
96
+
97
+ <!-- Datasets want link to arxiv in readme to autolink dataset with paper -->
98
+ To learn more about how to run models on `mteb` task check out the [GitHub repitory](https://github.com/embeddings-benchmark/mteb).
99
+
100
+ ## Citation
101
+
102
+ 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).
103
+
104
+ ```bibtex
105
+
106
+ @inproceedings{hoogeveen2015,
107
+ acmid = {2838934},
108
+ address = {New York, NY, USA},
109
+ articleno = {3},
110
+ author = {Hoogeveen, Doris and Verspoor, Karin M. and Baldwin, Timothy},
111
+ booktitle = {Proceedings of the 20th Australasian Document Computing Symposium (ADCS)},
112
+ doi = {10.1145/2838931.2838934},
113
+ isbn = {978-1-4503-4040-3},
114
+ location = {Parramatta, NSW, Australia},
115
+ numpages = {8},
116
+ pages = {3:1--3:8},
117
+ publisher = {ACM},
118
+ series = {ADCS '15},
119
+ title = {CQADupStack: A Benchmark Data Set for Community Question-Answering Research},
120
+ url = {http://doi.acm.org/10.1145/2838931.2838934},
121
+ year = {2015},
122
+ }
123
+
124
+
125
+ @article{enevoldsen2025mmtebmassivemultilingualtext,
126
+ title={MMTEB: Massive Multilingual Text Embedding Benchmark},
127
+ 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},
128
+ publisher = {arXiv},
129
+ journal={arXiv preprint arXiv:2502.13595},
130
+ year={2025},
131
+ url={https://arxiv.org/abs/2502.13595},
132
+ doi = {10.48550/arXiv.2502.13595},
133
+ }
134
+
135
+ @article{muennighoff2022mteb,
136
+ author = {Muennighoff, Niklas and Tazi, Nouamane and Magne, Lo{\"\i}c and Reimers, Nils},
137
+ title = {MTEB: Massive Text Embedding Benchmark},
138
+ publisher = {arXiv},
139
+ journal={arXiv preprint arXiv:2210.07316},
140
+ year = {2022}
141
+ url = {https://arxiv.org/abs/2210.07316},
142
+ doi = {10.48550/ARXIV.2210.07316},
143
+ }
144
+ ```
145
+
146
+ # Dataset Statistics
147
+ <details>
148
+ <summary> Dataset Statistics</summary>
149
+
150
+ The following code contains the descriptive statistics from the task. These can also be obtained using:
151
+
152
+ ```python
153
+ import mteb
154
+
155
+ task = mteb.get_task("CQADupstackWordpressRetrieval")
156
+
157
+ desc_stats = task.metadata.descriptive_stats
158
+ ```
159
+
160
+ ```json
161
+ {
162
+ "test": {
163
+ "num_samples": 49146,
164
+ "number_of_characters": 54647154,
165
+ "num_documents": 48605,
166
+ "min_document_length": 65,
167
+ "average_document_length": 1123.7690155333814,
168
+ "max_document_length": 32392,
169
+ "unique_documents": 48605,
170
+ "num_queries": 541,
171
+ "min_query_length": 15,
172
+ "average_query_length": 48.7264325323475,
173
+ "max_query_length": 121,
174
+ "unique_queries": 541,
175
+ "none_queries": 0,
176
+ "num_relevant_docs": 744,
177
+ "min_relevant_docs_per_query": 1,
178
+ "average_relevant_docs_per_query": 1.3752310536044363,
179
+ "max_relevant_docs_per_query": 62,
180
+ "unique_relevant_docs": 744,
181
+ "num_instructions": null,
182
+ "min_instruction_length": null,
183
+ "average_instruction_length": null,
184
+ "max_instruction_length": null,
185
+ "unique_instructions": null,
186
+ "num_top_ranked": null,
187
+ "min_top_ranked_per_query": null,
188
+ "average_top_ranked_per_query": null,
189
+ "max_top_ranked_per_query": null
190
+ }
191
+ }
192
+ ```
193
+
194
+ </details>
195
+
196
+ ---
197
+ *This dataset card was automatically generated using [MTEB](https://github.com/embeddings-benchmark/mteb)*