File size: 10,640 Bytes
8fff3b7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d9ada79
 
 
 
 
 
4332a30
 
 
 
 
8fff3b7
 
 
 
 
 
 
 
 
 
 
 
d9ada79
 
 
 
 
 
4332a30
 
 
 
 
8fff3b7
 
 
 
 
 
 
 
 
 
 
 
d9ada79
 
 
 
 
 
4332a30
 
 
 
 
8fff3b7
 
 
 
 
 
 
 
 
 
 
 
d9ada79
 
 
 
 
 
4332a30
 
 
 
 
8fff3b7
 
 
 
 
 
 
 
 
 
 
 
d9ada79
 
 
 
 
 
4332a30
 
 
 
 
8fff3b7
 
 
 
 
 
 
 
 
 
 
 
d9ada79
 
 
 
 
 
4332a30
 
 
 
 
8fff3b7
 
 
 
 
 
 
 
 
 
 
 
d9ada79
 
 
 
 
 
4332a30
 
 
 
 
8fff3b7
 
 
 
 
 
 
 
 
 
 
 
d9ada79
 
 
 
 
 
4332a30
 
 
 
 
8fff3b7
 
 
 
 
 
 
 
 
 
 
 
d9ada79
 
 
 
 
 
4332a30
 
 
 
 
8fff3b7
 
 
 
 
 
 
 
 
 
 
 
d9ada79
 
 
 
 
 
4332a30
 
 
 
 
8fff3b7
 
 
 
 
 
 
 
 
 
 
 
d9ada79
 
 
 
 
 
4332a30
 
 
 
 
8fff3b7
 
 
 
 
 
 
 
 
 
 
 
d9ada79
 
 
 
 
 
4332a30
 
 
 
 
8fff3b7
 
 
 
 
 
 
 
 
 
 
 
d9ada79
 
 
 
 
 
4332a30
 
 
 
 
8fff3b7
 
 
 
 
d9ada79
 
 
 
4332a30
 
8fff3b7
 
 
 
d9ada79
 
 
 
4332a30
 
8fff3b7
 
 
 
d9ada79
 
 
 
4332a30
 
8fff3b7
 
 
 
d9ada79
 
 
 
4332a30
 
8fff3b7
 
 
 
d9ada79
 
 
 
4332a30
 
8fff3b7
 
 
 
d9ada79
 
 
 
4332a30
 
8fff3b7
 
 
 
d9ada79
 
 
 
4332a30
 
8fff3b7
 
 
 
d9ada79
 
 
 
4332a30
 
8fff3b7
 
 
 
d9ada79
 
 
 
4332a30
 
8fff3b7
 
 
 
d9ada79
 
 
 
4332a30
 
8fff3b7
 
 
 
d9ada79
 
 
 
4332a30
 
8fff3b7
 
 
 
d9ada79
 
 
 
4332a30
 
8fff3b7
 
 
 
d9ada79
 
 
 
4332a30
 
8fff3b7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
---
language:
- en
license: cc-by-nc-4.0
pretty_name: MM-SafetyBench
dataset_info:
- config_name: EconomicHarm
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: image
    dtype: image
  splits:
  - name: SD
    num_bytes: 17316511
    num_examples: 122
  - name: SD_TYPO
    num_bytes: 19630824
    num_examples: 122
  - name: TYPO
    num_bytes: 1969839
    num_examples: 122
  - name: Text_only
    num_bytes: 8658
    num_examples: 122
  download_size: 38925832‬‬
  dataset_size: 38925832
- config_name: Financial_Advice
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: image
    dtype: image
  splits:
  - name: SD
    num_bytes: 21274582
    num_examples: 167
  - name: SD_TYPO
    num_bytes: 25246828
    num_examples: 167
  - name: TYPO
    num_bytes: 3776399
    num_examples: 167
  - name: Text_only
    num_bytes: 9451
    num_examples: 167
  download_size: 50307260‬‬
  dataset_size: 50307260
- config_name: Fraud
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: image
    dtype: image
  splits:
  - name: SD
    num_bytes: 20219796
    num_examples: 154
  - name: SD_TYPO
    num_bytes: 23079948
    num_examples: 154
  - name: TYPO
    num_bytes: 2574068
    num_examples: 154
  - name: Text_only
    num_bytes: 9075
    num_examples: 154
  download_size: 45882887‬‬
  dataset_size: 45882887
- config_name: Gov_Decision
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: image
    dtype: image
  splits:
  - name: SD
    num_bytes: 19891951
    num_examples: 149
  - name: SD_TYPO
    num_bytes: 23780910
    num_examples: 149
  - name: TYPO
    num_bytes: 3660367
    num_examples: 149
  - name: Text_only
    num_bytes: 8750
    num_examples: 149
  download_size: 23561068‬‬
  dataset_size: 23561068
- config_name: HateSpeech
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: image
    dtype: image
  splits:
  - name: SD
    num_bytes: 22190160
    num_examples: 163
  - name: SD_TYPO
    num_bytes: 25227529
    num_examples: 163
  - name: TYPO
    num_bytes: 2680783
    num_examples: 163
  - name: Text_only
    num_bytes: 9069
    num_examples: 163
  download_size: 50107541‬‬
  dataset_size: 50107541
- config_name: Health_Consultation
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: image
    dtype: image
  splits:
  - name: SD
    num_bytes: 11346703
    num_examples: 109
  - name: SD_TYPO
    num_bytes: 13633505
    num_examples: 109
  - name: TYPO
    num_bytes: 2115026
    num_examples: 109
  - name: Text_only
    num_bytes: 7151
    num_examples: 109
  download_size: 27102385‬‬
  dataset_size: 27102385
- config_name: Illegal_Activitiy
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: image
    dtype: image
  splits:
  - name: SD
    num_bytes: 13323855
    num_examples: 97
  - name: SD_TYPO
    num_bytes: 14990533
    num_examples: 97
  - name: TYPO
    num_bytes: 1475800
    num_examples: 97
  - name: Text_only
    num_bytes: 6256
    num_examples: 97
  download_size: 29796444
  dataset_size: 29796444
- config_name: Legal_Opinion
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: image
    dtype: image
  splits:
  - name: SD
    num_bytes: 16863829
    num_examples: 130
  - name: SD_TYPO
    num_bytes: 19982150
    num_examples: 130
  - name: TYPO
    num_bytes: 2940496
    num_examples: 130
  - name: Text_only
    num_bytes: 8771
    num_examples: 130
  download_size: 39795246‬‬
  dataset_size: 39795246
- config_name: Malware_Generation
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: image
    dtype: image
  splits:
  - name: SD
    num_bytes: 6126444
    num_examples: 44
  - name: SD_TYPO
    num_bytes: 6869363
    num_examples: 44
  - name: TYPO
    num_bytes: 632375
    num_examples: 44
  - name: Text_only
    num_bytes: 4657
    num_examples: 44
  download_size: 13632839
  dataset_size: 13632839
- config_name: Physical_Harm
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: image
    dtype: image
  splits:
  - name: SD
    num_bytes: 17806565
    num_examples: 144
  - name: SD_TYPO
    num_bytes: 20786111
    num_examples: 144
  - name: TYPO
    num_bytes: 2781883
    num_examples: 144
  - name: Text_only
    num_bytes: 9246
    num_examples: 144
  download_size: 41383805
  dataset_size: 41383805
- config_name: Political_Lobbying
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: image
    dtype: image
  splits:
  - name: SD
    num_bytes: 21164411
    num_examples: 153
  - name: SD_TYPO
    num_bytes: 24144028
    num_examples: 153
  - name: TYPO
    num_bytes: 2474238
    num_examples: 153
  - name: Text_only
    num_bytes: 8157
    num_examples: 153
  download_size: 47790834‬‬
  dataset_size: 47790834
- config_name: Privacy_Violence
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: image
    dtype: image
  splits:
  - name: SD
    num_bytes: 17074351
    num_examples: 139
  - name: SD_TYPO
    num_bytes: 20688651
    num_examples: 139
  - name: TYPO
    num_bytes: 3337767
    num_examples: 139
  - name: Text_only
    num_bytes: 9001
    num_examples: 139
  download_size: 41109770
  dataset_size: 41109770
- config_name: Sex
  features:
  - name: id
    dtype: string
  - name: question
    dtype: string
  - name: image
    dtype: image
  splits:
  - name: SD
    num_bytes: 14312546
    num_examples: 109
  - name: SD_TYPO
    num_bytes: 15795771
    num_examples: 109
  - name: TYPO
    num_bytes: 981059
    num_examples: 109
  - name: Text_only
    num_bytes: 7257
    num_examples: 109
  download_size: 31096633
  dataset_size: 31096633
configs:
- config_name: EconomicHarm
  data_files:
  - split: SD
    path: data/EconomicHarm/SD.parquet
  - split: SD_TYPO
    path: data/EconomicHarm/SD_TYPO.parquet
  - split: TYPO
    path: data/EconomicHarm/TYPO.parquet
  - split: Text_only
    path: data/EconomicHarm/Text_only.parquet
- config_name: Financial_Advice
  data_files:
  - split: SD
    path: data/Financial_Advice/SD.parquet
  - split: SD_TYPO
    path: data/Financial_Advice/SD_TYPO.parquet
  - split: TYPO
    path: data/Financial_Advice/TYPO.parquet
  - split: Text_only
    path: data/Financial_Advice/Text_only.parquet
- config_name: Fraud
  data_files:
  - split: SD
    path: data/Fraud/SD.parquet
  - split: SD_TYPO
    path: data/Fraud/SD_TYPO.parquet
  - split: TYPO
    path: data/Fraud/TYPO.parquet
  - split: Text_only
    path: data/Fraud/Text_only.parquet
- config_name: Gov_Decision
  data_files:
  - split: SD
    path: data/Gov_Decision/SD.parquet
  - split: SD_TYPO
    path: data/Gov_Decision/SD_TYPO.parquet
  - split: TYPO
    path: data/Gov_Decision/TYPO.parquet
  - split: Text_only
    path: data/Gov_Decision/Text_only.parquet
- config_name: HateSpeech
  data_files:
  - split: SD
    path: data/HateSpeech/SD.parquet
  - split: SD_TYPO
    path: data/HateSpeech/SD_TYPO.parquet
  - split: TYPO
    path: data/HateSpeech/TYPO.parquet
  - split: Text_only
    path: data/HateSpeech/Text_only.parquet
- config_name: Health_Consultation
  data_files:
  - split: SD
    path: data/Health_Consultation/SD.parquet
  - split: SD_TYPO
    path: data/Health_Consultation/SD_TYPO.parquet
  - split: TYPO
    path: data/Health_Consultation/TYPO.parquet
  - split: Text_only
    path: data/Health_Consultation/Text_only.parquet
- config_name: Illegal_Activitiy
  data_files:
  - split: SD
    path: data/Illegal_Activitiy/SD.parquet
  - split: SD_TYPO
    path: data/Illegal_Activitiy/SD_TYPO.parquet
  - split: TYPO
    path: data/Illegal_Activitiy/TYPO.parquet
  - split: Text_only
    path: data/Illegal_Activitiy/Text_only.parquet
- config_name: Legal_Opinion
  data_files:
  - split: SD
    path: data/Legal_Opinion/SD.parquet
  - split: SD_TYPO
    path: data/Legal_Opinion/SD_TYPO.parquet
  - split: TYPO
    path: data/Legal_Opinion/TYPO.parquet
  - split: Text_only
    path: data/Legal_Opinion/Text_only.parquet
- config_name: Malware_Generation
  data_files:
  - split: SD
    path: data/Malware_Generation/SD.parquet
  - split: SD_TYPO
    path: data/Malware_Generation/SD_TYPO.parquet
  - split: TYPO
    path: data/Malware_Generation/TYPO.parquet
  - split: Text_only
    path: data/Malware_Generation/Text_only.parquet
- config_name: Physical_Harm
  data_files:
  - split: SD
    path: data/Physical_Harm/SD.parquet
  - split: SD_TYPO
    path: data/Physical_Harm/SD_TYPO.parquet
  - split: TYPO
    path: data/Physical_Harm/TYPO.parquet
  - split: Text_only
    path: data/Physical_Harm/Text_only.parquet
- config_name: Political_Lobbying
  data_files:
  - split: SD
    path: data/Political_Lobbying/SD.parquet
  - split: SD_TYPO
    path: data/Political_Lobbying/SD_TYPO.parquet
  - split: TYPO
    path: data/Political_Lobbying/TYPO.parquet
  - split: Text_only
    path: data/Political_Lobbying/Text_only.parquet
- config_name: Privacy_Violence
  data_files:
  - split: SD
    path: data/Privacy_Violence/SD.parquet
  - split: SD_TYPO
    path: data/Privacy_Violence/SD_TYPO.parquet
  - split: TYPO
    path: data/Privacy_Violence/TYPO.parquet
  - split: Text_only
    path: data/Privacy_Violence/Text_only.parquet
- config_name: Sex
  data_files:
  - split: SD
    path: data/Sex/SD.parquet
  - split: SD_TYPO
    path: data/Sex/SD_TYPO.parquet
  - split: TYPO
    path: data/Sex/TYPO.parquet
  - split: Text_only
    path: data/Sex/Text_only.parquet
tags:
- EconomicHarm
- Financial_Advice
- Fraud
- Gov_Decision
- HateSpeech
- Health_Consultation
- Illegal_Activitiy
- Legal_Opinion
- Malware_Generation
- Physical_Harm
- Political_Lobbying
- Privacy_Violence
- Sex
---

**<span style="color: red;">Warning:</span>** This dataset may contain sensitive or harmful content. Users are advised to handle it with care and ensure that their use complies with relevant ethical guidelines and legal requirements.

**Usage and License Notices:** The dataset is intended and licensed for research use only. They are also restricted to uses that follow the license agreement GPT-4 and [Stable Diffusion](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0). The dataset is CC BY NC 4.0 (allowing only non-commercial use).

**Data Source:** For more information about the dataset, visit the [MM-SafetyBench GitHub repository](https://github.com/isXinLiu/MM-SafetyBench).