olumideola commited on
Commit
1c61ce2
·
verified ·
1 Parent(s): 4fa1347

Model card: full size ladder, per-language averages, language groups

Browse files
.gitattributes CHANGED
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ bench_by_group.png filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -9,43 +9,188 @@ tags:
9
  - synthetic-data
10
  - retrieval
11
  - multilingual
 
12
  - african-languages
13
  - cross-lingual
14
  language:
15
  - multilingual
16
  - en
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  - fr
18
- - yo
19
- - ig
20
- - ha
 
21
  - sw
22
- - zu
23
- - xh
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  - am
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  - so
 
 
 
 
 
 
26
  - rw
 
 
 
27
  - rn
28
- - af
29
  - om
30
  - ti
31
- - sn
32
- - st
33
  - tn
34
- - mg
35
- - ln
36
- - wo
37
  - ee
38
- - tw
39
- - ny
40
- - lg
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  ---
42
 
43
  # MIST-QG-1.0
44
 
45
  MIST-QG-1.0 reads a passage and writes the questions that the passage answers. The questions can be in the
46
  passage's own language or in English or French. It is a 4B model, a full fine-tune of
47
- [Qwen3.5-4B-Base](https://huggingface.co/Qwen/Qwen3.5-4B-Base), built to make retrieval training data. It covers 324
48
- languages, with a focus on African languages.
 
 
49
 
50
  It is part of the Olaverse **MIST** family, alongside MIST-Embed and MIST-Rerank. Its job is to turn raw
51
  passages, in any of those languages, into query–passage pairs that an embedder or reranker can learn from.
@@ -54,27 +199,31 @@ Each chart below shows the share of a model's questions that are **usable**, so
54
  usable when the passage answers it, it finds its own passage in search, it isn't copied from the passage, and it's
55
  in the language that was asked for. The [Evaluation](#evaluation) section has the details.
56
 
57
- ![Cross-lingual benchmark](bench_crosslingual.png)
58
-
59
  ![Same-language benchmark, all languages](bench_all.png)
60
 
61
- ![Same-language benchmark, African languages](bench_african.png)
 
 
62
 
63
  ## What it is good at
64
 
65
- - **Questions in your own words, not copies.** Training targets that lifted a sentence from the passage were
66
- removed. Only 7.5% of its questions copy the passage, and on African languages it copies slightly less than
67
- Llama 3.3 70B (9.1% against 12.5%).
68
- - **Cross-lingual questions.** Ask for English questions on a Hausa, Oromo or Malagasy passage, and 99.7% of
69
- them come back in the requested language. 77% are fully usable, against 64% for Gemma 4 31B and 68% for Llama
70
- 3.3 70B.
 
 
 
 
71
  - **Small and fast.** At 4B it runs comfortably on a single GPU with vLLM, so generating questions for millions of
72
  passages is practical.
73
 
74
  ## How to use it
75
 
76
- The prompt is plain text, with no chat template. Write the language names out in full, such as "Yoruba", "Hausa"
77
- or "English".
78
 
79
  ```
80
  Passage (<passage language>):
@@ -124,6 +273,13 @@ print(tok.decode(out[0, ids.shape[1]:], skip_special_tokens=True))
124
  Qwen3.5 is a vision-language architecture, so the model loads with `AutoModelForImageTextToText`. MIST-QG uses
125
  only its text side.
126
 
 
 
 
 
 
 
 
127
  ## Evaluation
128
 
129
  All systems saw the same held-out passages, which were never used in training:
@@ -142,35 +298,39 @@ Each question is checked four ways, and it counts as **usable** only if it passe
142
  4. **Right language.** GlotLID must identify the language that was asked for.
143
 
144
  The other models were given a plain instruction asking for up to six questions in the target language, written in
145
- their own words. The "reference questions" are the dataset's own questions for the same passages.
146
-
147
- | Usable share | All languages | African | Cross-lingual | Cross-lingual, African passages |
148
- |---|---|---|---|---|
149
- | **MIST-QG-1.0 (4B)** | 0.445 | 0.363 | **0.768** | **0.682** |
150
- | Gemma 4 31B | 0.562 | 0.420 | 0.643 | 0.565 |
151
- | Llama 3.3 70B | 0.497 | 0.359 | 0.676 | 0.602 |
152
- | Reference questions | 0.493 | 0.410 | 0.900 | 0.875 |
153
-
154
- | MIST-QG-1.0, details | All languages | African | Cross-lingual |
155
- |---|---|---|---|
156
- | Questions per passage | 1.79 | 2.48 | 1.00 |
157
- | Real questions | 99.8% | 99.8% | 100% |
158
- | Copied from passage | 7.5% | 9.1% | 0.0% |
159
- | In the right language | 89.6% | 94.5% | 99.7% |
160
- | Answerable (judge, 0–1) | 0.856 | 0.851 | 0.821 |
161
- | Finds its passage (R@1) | 0.630 | 0.504 | 0.918 |
162
-
163
- **How to read this:**
164
-
165
- - **Answerability matches the reference questions** (0.856 against 0.859). Most of the remaining gap is
166
- round-trip retrieval: MIST-QG's questions are a little more general than the bigger models', so they find
167
- their own passage less often.
168
- - **Why the reference questions score below Gemma.** About 80% of them are real FAQ questions. They are as
169
- answerable as Gemma's (0.857 against 0.845) but less specific, so search finds their exact passage less often
170
- (0.632 against 0.697). Gemma reads the passage and fills its questions with the passage's own names and numbers.
171
- The reference line is a yardstick, not a ceiling.
172
- - **The bigger models write six questions per passage; MIST-QG writes about two.** Every figure here is a share
173
- of questions, so it measures quality, not quantity.
 
 
 
 
174
 
175
  ## Training
176
 
@@ -196,20 +356,6 @@ their own words. The "reference questions" are the dataset's own questions for t
196
 
197
  The test passages of both evaluations were held out from all training.
198
 
199
- ## Limitations
200
-
201
- - **Copying in the rarest languages.** For a handful of very low-resource languages, such as Ga, Kimbundu,
202
- Umbundu, Luba-Kasai and Aymara, the model still mostly copies the passage. Treat questions in languages with
203
- little training data with care, and run a copy check on its output.
204
- - **One question per passage in cross-lingual mode.** The cross-lingual training data had a single question per
205
- passage, so that is what the model writes. To get more, sample several times.
206
- - **Limited cross-lingual directions.** The question language is almost always English or French, and the
207
- passages are mostly African languages. Other directions, such as Yorùbá questions on an English passage, were
208
- not trained.
209
- - **Measured by models, not people.** Answerability is judged by an LLM and retrieval by an embedder. These are
210
- strong proxies, but not human ratings. Some per-language samples are small; Yorùbá has only 12 test passages.
211
- - **Questions only.** It does not write answers, keyword queries or claims.
212
-
213
  ## License
214
 
215
  The model is released under Apache-2.0, the licence of its base model, Qwen3.5-4B-Base. The training data combines
 
9
  - synthetic-data
10
  - retrieval
11
  - multilingual
12
+ - low-resource-languages
13
  - african-languages
14
  - cross-lingual
15
  language:
16
  - multilingual
17
  - en
18
+ - fi
19
+ - id
20
+ - te
21
+ - fa
22
+ - es
23
+ - is
24
+ - hi
25
+ - he
26
+ - lv
27
+ - sr
28
+ - et
29
+ - no
30
+ - sk
31
+ - ru
32
+ - ja
33
+ - ur
34
+ - sl
35
+ - pt
36
+ - nl
37
+ - lt
38
+ - mr
39
+ - zh
40
+ - tr
41
+ - ms
42
+ - de
43
+ - ca
44
+ - bn
45
+ - sv
46
+ - da
47
+ - ro
48
+ - hr
49
+ - uz
50
+ - az
51
  - fr
52
+ - bg
53
+ - ta
54
+ - hu
55
+ - ka
56
  - sw
57
+ - kk
58
+ - uk
59
+ - af
60
+ - pl
61
+ - km
62
+ - arb
63
+ - ko
64
+ - ga
65
+ - sq
66
+ - bs
67
+ - kn
68
+ - ml
69
+ - cs
70
+ - gu
71
+ - gl
72
+ - vi
73
+ - mk
74
+ - th
75
+ - lb
76
+ - cy
77
  - am
78
+ - eu
79
+ - mt
80
+ - pa
81
+ - ar
82
+ - be
83
+ - mn
84
+ - mg
85
+ - si
86
+ - ky
87
+ - la
88
+ - ckb
89
+ - ht
90
+ - tt
91
+ - tk
92
+ - gd
93
+ - fil
94
+ - tg
95
+ - sa
96
+ - ne
97
+ - it
98
+ - or
99
+ - yi
100
+ - ceb
101
+ - as
102
+ - su
103
+ - ku
104
+ - jv
105
+ - lo
106
+ - fy
107
+ - ilo
108
+ - gom
109
+ - eo
110
+ - ps
111
+ - sd
112
  - so
113
+ - nn
114
+ - ug
115
+ - dv
116
+ - yo
117
+ - ha
118
+ - sn
119
  - rw
120
+ - lg
121
+ - ig
122
+ - nso
123
  - rn
 
124
  - om
125
  - ti
126
+ - ny
 
127
  - tn
 
 
 
128
  - ee
129
+ - zu
130
+ - xh
131
+ - wo
132
+ - war
133
+ - pcm
134
+ - ln
135
+ - st
136
+ - qu
137
+ - arz
138
+ - pnb
139
+ - mfe
140
+ - nd
141
+ - ts
142
+ - kea
143
+ - kab
144
+ - ve
145
+ - el
146
+ - lua
147
+ - kri
148
+ - ki
149
+ - fat
150
+ - ss
151
+ - tum
152
+ - luo
153
+ - bem
154
+ - my
155
+ - br
156
+ - hy
157
+ - bm
158
+ - mos
159
+ - fon
160
+ - plt
161
+ - kbp
162
+ - ba
163
+ - pbt
164
+ - dyu
165
+ - fuv
166
+ - zsm
167
+ - oc
168
+ - npi
169
+ - nds
170
+ - ary
171
+ - ia
172
+ - azb
173
+ - pms
174
+ - sco
175
+ - sdh
176
+ - lad
177
+ - bi
178
+ - rm
179
+ - io
180
+ - sm
181
+ - myv
182
+ - sc
183
+ - lvs
184
  ---
185
 
186
  # MIST-QG-1.0
187
 
188
  MIST-QG-1.0 reads a passage and writes the questions that the passage answers. The questions can be in the
189
  passage's own language or in English or French. It is a 4B model, a full fine-tune of
190
+ [Qwen3.5-4B-Base](https://huggingface.co/Qwen/Qwen3.5-4B-Base), built to make retrieval training data. It is
191
+ **multilingual**: it was trained on 324 languages, from major ones like English, Spanish, Chinese, Hindi and Arabic
192
+ down to languages with only a few hundred training passages. Low-resource languages, including many African ones,
193
+ were deliberately well covered.
194
 
195
  It is part of the Olaverse **MIST** family, alongside MIST-Embed and MIST-Rerank. Its job is to turn raw
196
  passages, in any of those languages, into query–passage pairs that an embedder or reranker can learn from.
 
199
  usable when the passage answers it, it finds its own passage in search, it isn't copied from the passage, and it's
200
  in the language that was asked for. The [Evaluation](#evaluation) section has the details.
201
 
 
 
202
  ![Same-language benchmark, all languages](bench_all.png)
203
 
204
+ ![Same-language benchmark by language group](bench_by_group.png)
205
+
206
+ ![Cross-lingual benchmark](bench_crosslingual.png)
207
 
208
  ## What it is good at
209
 
210
+ - **Bigger-model quality at 4B.** Averaged over 238 languages, 47% of its questions pass every check: as many as
211
+ Qwen3.5-27B, and more than Llama 3.3 70B (43%), gpt-oss-20b (39%) and Qwen3.5-9B (42%). Only Gemma 4 31B scores
212
+ higher (51%).
213
+ - **Strongest where other models are weakest.** In languages with little training data it leads every open model
214
+ of its size and most larger ones: 31% usable in the rarest languages, against 15–25% for Qwen, gpt-oss and
215
+ Llama models up to 70B.
216
+ - **Best at cross-lingual questions.** Ask for English or French questions on a passage in another language, and
217
+ 82% of them are usable, the highest of any model tested (Qwen3.5-27B 71%, Llama 3.3 70B 70%, Gemma 4 31B 68%).
218
+ - **Questions that find their passage.** Its questions retrieve their own passage more often than any other
219
+ model's (round-trip R@1 0.70), so they make strong query–passage training pairs.
220
  - **Small and fast.** At 4B it runs comfortably on a single GPU with vLLM, so generating questions for millions of
221
  passages is practical.
222
 
223
  ## How to use it
224
 
225
+ The prompt is plain text, with no chat template. Write the language names out in full, in English, such as
226
+ "Spanish", "Japanese", "Yoruba" or "English".
227
 
228
  ```
229
  Passage (<passage language>):
 
273
  Qwen3.5 is a vision-language architecture, so the model loads with `AutoModelForImageTextToText`. MIST-QG uses
274
  only its text side.
275
 
276
+ ### Tips
277
+
278
+ - **Question languages for cross-lingual use:** English or French, on a passage in any of the 324 languages.
279
+ - **More questions per passage:** same-language prompts usually give two to three questions. Cross-lingual prompts
280
+ give one, so sample several times with temperature 0.3 if you want more.
281
+ - **Passage length:** up to about 2,000 characters per prompt. Split longer documents into passages first.
282
+
283
  ## Evaluation
284
 
285
  All systems saw the same held-out passages, which were never used in training:
 
298
  4. **Right language.** GlotLID must identify the language that was asked for.
299
 
300
  The other models were given a plain instruction asking for up to six questions in the target language, written in
301
+ their own words. The "reference questions" are the dataset's own questions for the same passages. Every score is
302
+ **averaged per language**, so each language counts once, as in MTEB. Language groups follow how much MIST-QG
303
+ training data a language had: major (5,000+ passages, 90 test languages), mid-resource (1,000–5,000, 33),
304
+ low-resource (200–1,000, 32) and rare (under 200, 83).
305
+
306
+ | Usable share | All languages | Major | Mid-resource | Low-resource | Rare | Cross-lingual |
307
+ |---|---|---|---|---|---|---|
308
+ | **MIST-QG-1.0 (4B)** | **0.471** | 0.697 | 0.365 | 0.376 | 0.305 | **0.815** |
309
+ | Qwen3.5-4B | 0.385 | 0.671 | 0.296 | 0.243 | 0.166 | 0.595 |
310
+ | Qwen3-8B | 0.351 | 0.635 | 0.194 | 0.244 | 0.147 | 0.589 |
311
+ | Qwen3.5-9B | 0.420 | 0.686 | 0.336 | 0.298 | 0.210 | 0.653 |
312
+ | gpt-oss-20b | 0.393 | 0.654 | 0.322 | 0.318 | 0.162 | 0.638 |
313
+ | Qwen3.5-27B | 0.467 | 0.741 | 0.389 | 0.364 | 0.242 | 0.714 |
314
+ | Gemma 4 31B | 0.510 | 0.729 | 0.372 | 0.462 | 0.328 | 0.676 |
315
+ | Llama 3.3 70B | 0.429 | 0.668 | 0.318 | 0.345 | 0.247 | 0.705 |
316
+ | Reference questions | 0.525 | 0.710 | 0.405 | 0.409 | 0.417 | 0.904 |
317
+
318
+ | Same language, all languages | Answerable | Finds its passage | Copied | Right language | Questions per passage |
319
+ |---|---|---|---|---|---|
320
+ | **MIST-QG-1.0 (4B)** | 0.858 | **0.696** | 8.5% | 85.6% | 1.8 |
321
+ | Qwen3.5-4B | 0.788 | 0.682 | 16.7% | 79.5% | 5.9 |
322
+ | Qwen3-8B | 0.766 | 0.674 | 19.3% | 76.0% | 5.7 |
323
+ | Qwen3.5-9B | 0.799 | 0.677 | 9.3% | 80.0% | 6.0 |
324
+ | gpt-oss-20b | 0.741 | 0.678 | 5.7% | 75.1% | 5.9 |
325
+ | Qwen3.5-27B | 0.863 | 0.680 | 11.0% | 86.9% | 6.0 |
326
+ | Gemma 4 31B | 0.850 | 0.664 | 1.8% | 87.8% | 5.8 |
327
+ | Llama 3.3 70B | 0.803 | 0.684 | 12.0% | 86.1% | 6.0 |
328
+
329
+ On the cross-lingual test, MIST-QG-1.0's questions are 99.8% in the requested language, 0% copied, answerable
330
+ 0.835 and find their passage 0.937.
331
+
332
+ Every figure is a share of questions, so it measures quality, not quantity: the other models write about six
333
+ questions per passage, MIST-QG about two.
334
 
335
  ## Training
336
 
 
356
 
357
  The test passages of both evaluations were held out from all training.
358
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
359
  ## License
360
 
361
  The model is released under Apache-2.0, the licence of its base model, Qwen3.5-4B-Base. The training data combines
bench_african.png DELETED
Binary file (79.3 kB)
 
bench_all.png CHANGED
bench_by_group.png ADDED

Git LFS Details

  • SHA256: 7bcfd09a9569079b00b5c27cee843250a0f9d7fc7efb39fa1ac817a399901248
  • Pointer size: 131 Bytes
  • Size of remote file: 223 kB
bench_crosslingual.png CHANGED