Datasets:
mteb
/

Modalities:
Text
Formats:
parquet
Languages:
German
ArXiv:
Libraries:
Datasets
Dask
Samoed commited on
Commit
735f2cc
·
verified ·
1 Parent(s): 94a6a19

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +141 -0
README.md CHANGED
@@ -1,4 +1,12 @@
1
  ---
 
 
 
 
 
 
 
 
2
  dataset_info:
3
  - config_name: corpus
4
  features:
@@ -53,4 +61,137 @@ configs:
53
  data_files:
54
  - split: test
55
  path: queries/test-*
 
 
 
56
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - deu
4
+ multilinguality: monolingual
5
+ source_datasets:
6
+ - jinaai/ger_da_lir
7
+ task_categories:
8
+ - text-retrieval
9
+ task_ids: []
10
  dataset_info:
11
  - config_name: corpus
12
  features:
 
61
  data_files:
62
  - split: test
63
  path: queries/test-*
64
+ tags:
65
+ - mteb
66
+ - text
67
  ---
68
+ <!-- adapted from https://github.com/huggingface/huggingface_hub/blob/v0.30.2/src/huggingface_hub/templates/datasetcard_template.md -->
69
+
70
+ <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;">
71
+ <h1 style="font-size: 3.5rem; color: #1a1a1a; margin: 0 0 20px 0; letter-spacing: 2px; font-weight: 700;">GerDaLIR</h1>
72
+ <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>
73
+ <div style="font-size: 0.9rem; color: #2c5282; margin-top: 10px;">Massive Text Embedding Benchmark</div>
74
+ </div>
75
+
76
+ GerDaLIR is a legal information retrieval dataset created from the Open Legal Data platform.
77
+
78
+ | | |
79
+ |---------------|---------------------------------------------|
80
+ | Task category | t2t |
81
+ | Domains | Legal |
82
+ | Reference | https://github.com/lavis-nlp/GerDaLIR |
83
+
84
+ Source datasets:
85
+ - [jinaai/ger_da_lir](https://huggingface.co/datasets/jinaai/ger_da_lir)
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_task("GerDaLIR")
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 repository](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
+ @inproceedings{wrzalik-krechel-2021-gerdalir,
112
+ abstract = {We present GerDaLIR, a German Dataset for Legal Information Retrieval based on case documents from the open legal information platform Open Legal Data. The dataset consists of 123K queries, each labelled with at least one relevant document in a collection of 131K case documents. We conduct several baseline experiments including BM25 and a state-of-the-art neural re-ranker. With our dataset, we aim to provide a standardized benchmark for German LIR and promote open research in this area. Beyond that, our dataset comprises sufficient training data to be used as a downstream task for German or multilingual language models.},
113
+ address = {Punta Cana, Dominican Republic},
114
+ author = {Wrzalik, Marco and
115
+ Krechel, Dirk},
116
+ booktitle = {Proceedings of the Natural Legal Language Processing Workshop 2021},
117
+ month = nov,
118
+ pages = {123--128},
119
+ publisher = {Association for Computational Linguistics},
120
+ title = {{G}er{D}a{LIR}: A {G}erman Dataset for Legal Information Retrieval},
121
+ url = {https://aclanthology.org/2021.nllp-1.13},
122
+ year = {2021},
123
+ }
124
+
125
+
126
+ @article{enevoldsen2025mmtebmassivemultilingualtext,
127
+ title={MMTEB: Massive Multilingual Text Embedding Benchmark},
128
+ 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},
129
+ publisher = {arXiv},
130
+ journal={arXiv preprint arXiv:2502.13595},
131
+ year={2025},
132
+ url={https://arxiv.org/abs/2502.13595},
133
+ doi = {10.48550/arXiv.2502.13595},
134
+ }
135
+
136
+ @article{muennighoff2022mteb,
137
+ author = {Muennighoff, Niklas and Tazi, Nouamane and Magne, Loïc and Reimers, Nils},
138
+ title = {MTEB: Massive Text Embedding Benchmark},
139
+ publisher = {arXiv},
140
+ journal={arXiv preprint arXiv:2210.07316},
141
+ year = {2022}
142
+ url = {https://arxiv.org/abs/2210.07316},
143
+ doi = {10.48550/ARXIV.2210.07316},
144
+ }
145
+ ```
146
+
147
+ # Dataset Statistics
148
+ <details>
149
+ <summary> Dataset Statistics</summary>
150
+
151
+ The following code contains the descriptive statistics from the task. These can also be obtained using:
152
+
153
+ ```python
154
+ import mteb
155
+
156
+ task = mteb.get_task("GerDaLIR")
157
+
158
+ desc_stats = task.metadata.descriptive_stats
159
+ ```
160
+
161
+ ```json
162
+ {
163
+ "test": {
164
+ "num_samples": 22203,
165
+ "number_of_characters": 209071412,
166
+ "documents_text_statistics": {
167
+ "total_text_length": 196457325,
168
+ "min_text_length": 150,
169
+ "average_text_length": 19706.823653325308,
170
+ "max_text_length": 427234,
171
+ "unique_texts": 9969
172
+ },
173
+ "documents_image_statistics": null,
174
+ "queries_text_statistics": {
175
+ "total_text_length": 12614087,
176
+ "min_text_length": 150,
177
+ "average_text_length": 1031.0680889324833,
178
+ "max_text_length": 23560,
179
+ "unique_texts": 12234
180
+ },
181
+ "queries_image_statistics": null,
182
+ "relevant_docs_statistics": {
183
+ "num_relevant_docs": 14320,
184
+ "min_relevant_docs_per_query": 1,
185
+ "average_relevant_docs_per_query": 1.1705084191597188,
186
+ "max_relevant_docs_per_query": 9,
187
+ "unique_relevant_docs": 9969
188
+ },
189
+ "top_ranked_statistics": null
190
+ }
191
+ }
192
+ ```
193
+
194
+ </details>
195
+
196
+ ---
197
+ *This dataset card was automatically generated using [MTEB](https://github.com/embeddings-benchmark/mteb)*