Datasets:

Modalities:
Text
Formats:
parquet
Libraries:
Datasets
pandas
File size: 6,929 Bytes
2c5cdcb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
---
dataset_info:
- config_name: qrels_og-fas
  features:
  - name: query-id
    dtype: string
  - name: corpus-id
    dtype: string
  - name: score
    dtype: float64
  splits:
  - name: test
    num_bytes: 470546
    num_examples: 12163
  download_size: 470546
  dataset_size: 470546
- config_name: qrels_changed-fas
  features:
  - name: query-id
    dtype: string
  - name: corpus-id
    dtype: string
  - name: score
    dtype: float64
  splits:
  - name: test
    num_bytes: 470157
    num_examples: 12163
  download_size: 470157
  dataset_size: 470157
- config_name: corpus-fas
  features:
  - name: _id
    dtype: string
  - name: title
    dtype: string
  - name: text
    dtype: string
  splits:
  - name: corpus
    num_bytes: 108126004
    num_examples: 41189
  download_size: 108126004
  dataset_size: 108126004
- config_name: queries-fas
  features:
  - name: _id
    dtype: string
  - name: text
    dtype: string
  - name: instruction_og
    dtype: string
  - name: instruction_changed
    dtype: string
  splits:
  - name: queries
    num_bytes: 37059
    num_examples: 40
  download_size: 37059
  dataset_size: 37059
- config_name: top_ranked-fas
  features:
  - name: qid
    dtype: string
  - name: pid
    dtype: string
  splits:
  - name: top_ranked
    num_bytes: 1531154
    num_examples: 40000
  download_size: 1531154
  dataset_size: 1531154
- config_name: qrels_og-rus
  features:
  - name: query-id
    dtype: string
  - name: corpus-id
    dtype: string
  - name: score
    dtype: float64
  splits:
  - name: test
    num_bytes: 466885
    num_examples: 12067
  download_size: 466885
  dataset_size: 466885
- config_name: qrels_changed-rus
  features:
  - name: query-id
    dtype: string
  - name: corpus-id
    dtype: string
  - name: score
    dtype: float64
  splits:
  - name: test
    num_bytes: 466487
    num_examples: 12067
  download_size: 466487
  dataset_size: 466487
- config_name: corpus-rus
  features:
  - name: _id
    dtype: string
  - name: title
    dtype: string
  - name: text
    dtype: string
  splits:
  - name: corpus
    num_bytes: 100142813
    num_examples: 39326
  download_size: 100142813
  dataset_size: 100142813
- config_name: queries-rus
  features:
  - name: _id
    dtype: string
  - name: text
    dtype: string
  - name: instruction_og
    dtype: string
  - name: instruction_changed
    dtype: string
  splits:
  - name: queries
    num_bytes: 46554
    num_examples: 40
  download_size: 46554
  dataset_size: 46554
- config_name: top_ranked-rus
  features:
  - name: qid
    dtype: string
  - name: pid
    dtype: string
  splits:
  - name: top_ranked
    num_bytes: 1531215
    num_examples: 40000
  download_size: 1531215
  dataset_size: 1531215
- config_name: qrels_og-zho
  features:
  - name: query-id
    dtype: string
  - name: corpus-id
    dtype: string
  - name: score
    dtype: float64
  splits:
  - name: test
    num_bytes: 492178
    num_examples: 12732
  download_size: 492178
  dataset_size: 492178
- config_name: qrels_changed-zho
  features:
  - name: query-id
    dtype: string
  - name: corpus-id
    dtype: string
  - name: score
    dtype: float64
  splits:
  - name: test
    num_bytes: 491764
    num_examples: 12732
  download_size: 491764
  dataset_size: 491764
- config_name: corpus-zho
  features:
  - name: _id
    dtype: string
  - name: title
    dtype: string
  - name: text
    dtype: string
  splits:
  - name: corpus
    num_bytes: 83950020
    num_examples: 41120
  download_size: 83950020
  dataset_size: 83950020
- config_name: queries-zho
  features:
  - name: _id
    dtype: string
  - name: text
    dtype: string
  - name: instruction_og
    dtype: string
  - name: instruction_changed
    dtype: string
  splits:
  - name: queries
    num_bytes: 27482
    num_examples: 43
  download_size: 27482
  dataset_size: 27482
- config_name: top_ranked-zho
  features:
  - name: qid
    dtype: string
  - name: pid
    dtype: string
  splits:
  - name: top_ranked
    num_bytes: 1646082
    num_examples: 43000
  download_size: 1646082
  dataset_size: 1646082
configs:
- config_name: qrels_og-fas
  data_files:
  - split: test
    path: qrels_og-fas/test.parquet
- config_name: qrels_changed-fas
  data_files:
  - split: test
    path: qrels_changed-fas/test.parquet
- config_name: corpus-fas
  data_files:
  - split: corpus
    path: corpus-fas/corpus.parquet
- config_name: queries-fas
  data_files:
  - split: queries
    path: queries-fas/queries.parquet
- config_name: top_ranked-fas
  data_files:
  - split: top_ranked
    path: top_ranked-fas/top_ranked.parquet
- config_name: qrels_og-rus
  data_files:
  - split: test
    path: qrels_og-rus/test.parquet
- config_name: qrels_changed-rus
  data_files:
  - split: test
    path: qrels_changed-rus/test.parquet
- config_name: corpus-rus
  data_files:
  - split: corpus
    path: corpus-rus/corpus.parquet
- config_name: queries-rus
  data_files:
  - split: queries
    path: queries-rus/queries.parquet
- config_name: top_ranked-rus
  data_files:
  - split: top_ranked
    path: top_ranked-rus/top_ranked.parquet
- config_name: qrels_og-zho
  data_files:
  - split: test
    path: qrels_og-zho/test.parquet
- config_name: qrels_changed-zho
  data_files:
  - split: test
    path: qrels_changed-zho/test.parquet
- config_name: corpus-zho
  data_files:
  - split: corpus
    path: corpus-zho/corpus.parquet
- config_name: queries-zho
  data_files:
  - split: queries
    path: queries-zho/queries.parquet
- config_name: top_ranked-zho
  data_files:
  - split: top_ranked
    path: top_ranked-zho/top_ranked.parquet
---

# mFollowIR-parquet

This is a parquet version of the mFollowIR dataset that can be loaded directly with `load_dataset()`. The original dataset can be found at [jhu-clsp/mFollowIR](https://huggingface.co/datasets/jhu-clsp/mFollowIR).

## Dataset Structure

The dataset contains the following configurations for each language (fas, rus, zho):

### Configurations
- `qrels_og_[lang]`: Original relevance judgments (test split)
- `qrels_changed_[lang]`: Modified relevance judgments (test split)
- `corpus_[lang]`: Document collection
- `queries_[lang]`: Query set with instructions
- `top_ranked_[lang]`: Top ranked documents

## Usage

```python
from datasets import load_dataset

# Load a specific configuration
dataset = load_dataset("jhu-clsp/mFollowIR-parquet", "queries_fas")  # or any other config

# Load multiple configurations
dataset = load_dataset("jhu-clsp/mFollowIR-parquet", 
                      ["queries_fas", "corpus_fas"])
```

## Citation

```bibtex
@article{weller2024mfollowir,
  title="mFollowIR: a Multilingual Benchmark for Instruction Following in Information Retrieval",
  author="Weller, Orion and Chang, Benjamin and Yang, Eugene and Yarmohammadi, Mahsa and Barham, Sam and MacAvaney, Sean and Cohan, Arman and Soldaini, Luca and Van Durme, Benjamin and Lawrie, Dawn",
  journal="arXiv preprint TODO",
  year="2024"
}
```