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0f8-132a-4ff7-a51f-73e37e2c9951",
7
+ "metadata": {},
8
+ "outputs": [
9
+ {
10
+ "data": {
11
+ "application/vnd.jupyter.widget-view+json": {
12
+ "model_id": "f7d710eaccb24a15a7d7a6a45f36e104",
13
+ "version_major": 2,
14
+ "version_minor": 0
15
+ },
16
+ "text/plain": [
17
+ "Downloading readme: 0%| | 0.00/6.04k [00:00<?, ?B/s]"
18
+ ]
19
+ },
20
+ "metadata": {},
21
+ "output_type": "display_data"
22
+ },
23
+ {
24
+ "data": {
25
+ "application/vnd.jupyter.widget-view+json": {
26
+ "model_id": "071bacdf0c144ad482607bcad944f0eb",
27
+ "version_major": 2,
28
+ "version_minor": 0
29
+ },
30
+ "text/plain": [
31
+ "Downloading data: 0%| | 0.00/15.5M [00:00<?, ?B/s]"
32
+ ]
33
+ },
34
+ "metadata": {},
35
+ "output_type": "display_data"
36
+ },
37
+ {
38
+ "data": {
39
+ "application/vnd.jupyter.widget-view+json": {
40
+ "model_id": "346b74ae5f9a4ec085d41c152ee56ff5",
41
+ "version_major": 2,
42
+ "version_minor": 0
43
+ },
44
+ "text/plain": [
45
+ "Downloading data: 0%| | 0.00/1.57M [00:00<?, ?B/s]"
46
+ ]
47
+ },
48
+ "metadata": {},
49
+ "output_type": "display_data"
50
+ },
51
+ {
52
+ "data": {
53
+ "application/vnd.jupyter.widget-view+json": {
54
+ "model_id": "9c605c0c82744a5ba1222f68550c187f",
55
+ "version_major": 2,
56
+ "version_minor": 0
57
+ },
58
+ "text/plain": [
59
+ "Downloading data: 0%| | 0.00/561k [00:00<?, ?B/s]"
60
+ ]
61
+ },
62
+ "metadata": {},
63
+ "output_type": "display_data"
64
+ },
65
+ {
66
+ "data": {
67
+ "application/vnd.jupyter.widget-view+json": {
68
+ "model_id": "23a8feea09574b3199b30b0d41e9c839",
69
+ "version_major": 2,
70
+ "version_minor": 0
71
+ },
72
+ "text/plain": [
73
+ "Generating train split: 0%| | 0/65056 [00:00<?, ? examples/s]"
74
+ ]
75
+ },
76
+ "metadata": {},
77
+ "output_type": "display_data"
78
+ },
79
+ {
80
+ "data": {
81
+ "application/vnd.jupyter.widget-view+json": {
82
+ "model_id": "d8feb94eef174faeb3a8b8e2d237d3e1",
83
+ "version_major": 2,
84
+ "version_minor": 0
85
+ },
86
+ "text/plain": [
87
+ "Generating val split: 0%| | 0/6576 [00:00<?, ? examples/s]"
88
+ ]
89
+ },
90
+ "metadata": {},
91
+ "output_type": "display_data"
92
+ },
93
+ {
94
+ "data": {
95
+ "application/vnd.jupyter.widget-view+json": {
96
+ "model_id": "68d0ad4100364ab68a7c1694ec3d3e25",
97
+ "version_major": 2,
98
+ "version_minor": 0
99
+ },
100
+ "text/plain": [
101
+ "Generating test split: 0%| | 0/2414 [00:00<?, ? examples/s]"
102
+ ]
103
+ },
104
+ "metadata": {},
105
+ "output_type": "display_data"
106
+ },
107
+ {
108
+ "data": {
109
+ "application/vnd.jupyter.widget-view+json": {
110
+ "model_id": "4951db7f28c64415840dfa80463f1561",
111
+ "version_major": 2,
112
+ "version_minor": 0
113
+ },
114
+ "text/plain": [
115
+ "Downloading readme: 0%| | 0.00/6.03k [00:00<?, ?B/s]"
116
+ ]
117
+ },
118
+ "metadata": {},
119
+ "output_type": "display_data"
120
+ },
121
+ {
122
+ "data": {
123
+ "application/vnd.jupyter.widget-view+json": {
124
+ "model_id": "3f3128e79b3e4c1d931f599aac41bd71",
125
+ "version_major": 2,
126
+ "version_minor": 0
127
+ },
128
+ "text/plain": [
129
+ "Downloading data: 0%| | 0.00/4.15M [00:00<?, ?B/s]"
130
+ ]
131
+ },
132
+ "metadata": {},
133
+ "output_type": "display_data"
134
+ },
135
+ {
136
+ "data": {
137
+ "application/vnd.jupyter.widget-view+json": {
138
+ "model_id": "9c68bbbc109847c68742113adc28c188",
139
+ "version_major": 2,
140
+ "version_minor": 0
141
+ },
142
+ "text/plain": [
143
+ "Downloading data: 0%| | 0.00/558k [00:00<?, ?B/s]"
144
+ ]
145
+ },
146
+ "metadata": {},
147
+ "output_type": "display_data"
148
+ },
149
+ {
150
+ "data": {
151
+ "application/vnd.jupyter.widget-view+json": {
152
+ "model_id": "99f58289ce244574a205d8a24d91a7f4",
153
+ "version_major": 2,
154
+ "version_minor": 0
155
+ },
156
+ "text/plain": [
157
+ "Downloading data: 0%| | 0.00/573k [00:00<?, ?B/s]"
158
+ ]
159
+ },
160
+ "metadata": {},
161
+ "output_type": "display_data"
162
+ },
163
+ {
164
+ "data": {
165
+ "application/vnd.jupyter.widget-view+json": {
166
+ "model_id": "d3e16c1829be4ee09ee91db0d861d818",
167
+ "version_major": 2,
168
+ "version_minor": 0
169
+ },
170
+ "text/plain": [
171
+ "Generating train split: 0%| | 0/23981 [00:00<?, ? examples/s]"
172
+ ]
173
+ },
174
+ "metadata": {},
175
+ "output_type": "display_data"
176
+ },
177
+ {
178
+ "data": {
179
+ "application/vnd.jupyter.widget-view+json": {
180
+ "model_id": "7e6e58e403c7488eb817999040fbe1c8",
181
+ "version_major": 2,
182
+ "version_minor": 0
183
+ },
184
+ "text/plain": [
185
+ "Generating val split: 0%| | 0/3000 [00:00<?, ? examples/s]"
186
+ ]
187
+ },
188
+ "metadata": {},
189
+ "output_type": "display_data"
190
+ },
191
+ {
192
+ "data": {
193
+ "application/vnd.jupyter.widget-view+json": {
194
+ "model_id": "366fa3d990c04bb6a420360aaf1e9d7d",
195
+ "version_major": 2,
196
+ "version_minor": 0
197
+ },
198
+ "text/plain": [
199
+ "Generating test split: 0%| | 0/2997 [00:00<?, ? examples/s]"
200
+ ]
201
+ },
202
+ "metadata": {},
203
+ "output_type": "display_data"
204
+ },
205
+ {
206
+ "data": {
207
+ "application/vnd.jupyter.widget-view+json": {
208
+ "model_id": "a18129a6cc8a42d8bc6bab038702f4ca",
209
+ "version_major": 2,
210
+ "version_minor": 0
211
+ },
212
+ "text/plain": [
213
+ "Downloading readme: 0%| | 0.00/6.08k [00:00<?, ?B/s]"
214
+ ]
215
+ },
216
+ "metadata": {},
217
+ "output_type": "display_data"
218
+ },
219
+ {
220
+ "data": {
221
+ "application/vnd.jupyter.widget-view+json": {
222
+ "model_id": "0bc58816bee84d3ba138b93489e8e3fd",
223
+ "version_major": 2,
224
+ "version_minor": 0
225
+ },
226
+ "text/plain": [
227
+ "Downloading data: 0%| | 0.00/6.11M [00:00<?, ?B/s]"
228
+ ]
229
+ },
230
+ "metadata": {},
231
+ "output_type": "display_data"
232
+ },
233
+ {
234
+ "data": {
235
+ "application/vnd.jupyter.widget-view+json": {
236
+ "model_id": "0f6d9b266017431c991a64ec16809ff9",
237
+ "version_major": 2,
238
+ "version_minor": 0
239
+ },
240
+ "text/plain": [
241
+ "Downloading data: 0%| | 0.00/6.09M [00:00<?, ?B/s]"
242
+ ]
243
+ },
244
+ "metadata": {},
245
+ "output_type": "display_data"
246
+ },
247
+ {
248
+ "data": {
249
+ "application/vnd.jupyter.widget-view+json": {
250
+ "model_id": "96bef645b7a748de9888d354073c618c",
251
+ "version_major": 2,
252
+ "version_minor": 0
253
+ },
254
+ "text/plain": [
255
+ "Downloading data: 0%| | 0.00/7.54M [00:00<?, ?B/s]"
256
+ ]
257
+ },
258
+ "metadata": {},
259
+ "output_type": "display_data"
260
+ },
261
+ {
262
+ "data": {
263
+ "application/vnd.jupyter.widget-view+json": {
264
+ "model_id": "5e1403f24bbd4dd6a3183732f8e8a7fd",
265
+ "version_major": 2,
266
+ "version_minor": 0
267
+ },
268
+ "text/plain": [
269
+ "Generating train split: 0%| | 0/19439 [00:00<?, ? examples/s]"
270
+ ]
271
+ },
272
+ "metadata": {},
273
+ "output_type": "display_data"
274
+ },
275
+ {
276
+ "data": {
277
+ "application/vnd.jupyter.widget-view+json": {
278
+ "model_id": "4cfb90548b9540b5b6a92b80d016e719",
279
+ "version_major": 2,
280
+ "version_minor": 0
281
+ },
282
+ "text/plain": [
283
+ "Generating val split: 0%| | 0/19348 [00:00<?, ? examples/s]"
284
+ ]
285
+ },
286
+ "metadata": {},
287
+ "output_type": "display_data"
288
+ },
289
+ {
290
+ "data": {
291
+ "application/vnd.jupyter.widget-view+json": {
292
+ "model_id": "7b079746f277411d99e83a1028605caa",
293
+ "version_major": 2,
294
+ "version_minor": 0
295
+ },
296
+ "text/plain": [
297
+ "Generating test split: 0%| | 0/23881 [00:00<?, ? examples/s]"
298
+ ]
299
+ },
300
+ "metadata": {},
301
+ "output_type": "display_data"
302
+ },
303
+ {
304
+ "data": {
305
+ "application/vnd.jupyter.widget-view+json": {
306
+ "model_id": "5ef64d38e74f4afca14950c6e99d03ca",
307
+ "version_major": 2,
308
+ "version_minor": 0
309
+ },
310
+ "text/plain": [
311
+ "Downloading data: 0%| | 0.00/11.4M [00:00<?, ?B/s]"
312
+ ]
313
+ },
314
+ "metadata": {},
315
+ "output_type": "display_data"
316
+ },
317
+ {
318
+ "data": {
319
+ "application/vnd.jupyter.widget-view+json": {
320
+ "model_id": "919d18a01618430eb54dbb37f8ee88a3",
321
+ "version_major": 2,
322
+ "version_minor": 0
323
+ },
324
+ "text/plain": [
325
+ "Downloading data: 0%| | 0.00/1.17M [00:00<?, ?B/s]"
326
+ ]
327
+ },
328
+ "metadata": {},
329
+ "output_type": "display_data"
330
+ },
331
+ {
332
+ "data": {
333
+ "application/vnd.jupyter.widget-view+json": {
334
+ "model_id": "fd85dd7bfdca4633956ccbf29adf08df",
335
+ "version_major": 2,
336
+ "version_minor": 0
337
+ },
338
+ "text/plain": [
339
+ "Downloading data: 0%| | 0.00/416k [00:00<?, ?B/s]"
340
+ ]
341
+ },
342
+ "metadata": {},
343
+ "output_type": "display_data"
344
+ },
345
+ {
346
+ "data": {
347
+ "application/vnd.jupyter.widget-view+json": {
348
+ "model_id": "b4e3a1e5f5e24f4bbbb7f4adb024211e",
349
+ "version_major": 2,
350
+ "version_minor": 0
351
+ },
352
+ "text/plain": [
353
+ "Generating train split: 0%| | 0/65001 [00:00<?, ? examples/s]"
354
+ ]
355
+ },
356
+ "metadata": {},
357
+ "output_type": "display_data"
358
+ },
359
+ {
360
+ "data": {
361
+ "application/vnd.jupyter.widget-view+json": {
362
+ "model_id": "400a0e5f5cd84b17b3cde452b4696d51",
363
+ "version_major": 2,
364
+ "version_minor": 0
365
+ },
366
+ "text/plain": [
367
+ "Generating val split: 0%| | 0/6582 [00:00<?, ? examples/s]"
368
+ ]
369
+ },
370
+ "metadata": {},
371
+ "output_type": "display_data"
372
+ },
373
+ {
374
+ "data": {
375
+ "application/vnd.jupyter.widget-view+json": {
376
+ "model_id": "df89ecea59724285ac90f6a90bd69c65",
377
+ "version_major": 2,
378
+ "version_minor": 0
379
+ },
380
+ "text/plain": [
381
+ "Generating test split: 0%| | 0/2409 [00:00<?, ? examples/s]"
382
+ ]
383
+ },
384
+ "metadata": {},
385
+ "output_type": "display_data"
386
+ },
387
+ {
388
+ "data": {
389
+ "application/vnd.jupyter.widget-view+json": {
390
+ "model_id": "65d0b88ccfc34f5da301dee197415161",
391
+ "version_major": 2,
392
+ "version_minor": 0
393
+ },
394
+ "text/plain": [
395
+ "Downloading data: 0%| | 0.00/3.76M [00:00<?, ?B/s]"
396
+ ]
397
+ },
398
+ "metadata": {},
399
+ "output_type": "display_data"
400
+ },
401
+ {
402
+ "data": {
403
+ "application/vnd.jupyter.widget-view+json": {
404
+ "model_id": "e572ef1b905840248690a8ffa904dedb",
405
+ "version_major": 2,
406
+ "version_minor": 0
407
+ },
408
+ "text/plain": [
409
+ "Downloading data: 0%| | 0.00/499k [00:00<?, ?B/s]"
410
+ ]
411
+ },
412
+ "metadata": {},
413
+ "output_type": "display_data"
414
+ },
415
+ {
416
+ "data": {
417
+ "application/vnd.jupyter.widget-view+json": {
418
+ "model_id": "05f246c2ac5347b2b7b905229b3add52",
419
+ "version_major": 2,
420
+ "version_minor": 0
421
+ },
422
+ "text/plain": [
423
+ "Downloading data: 0%| | 0.00/514k [00:00<?, ?B/s]"
424
+ ]
425
+ },
426
+ "metadata": {},
427
+ "output_type": "display_data"
428
+ },
429
+ {
430
+ "data": {
431
+ "application/vnd.jupyter.widget-view+json": {
432
+ "model_id": "f3ab4870e5e845da8fc80f4f0b39469d",
433
+ "version_major": 2,
434
+ "version_minor": 0
435
+ },
436
+ "text/plain": [
437
+ "Generating train split: 0%| | 0/23989 [00:00<?, ? examples/s]"
438
+ ]
439
+ },
440
+ "metadata": {},
441
+ "output_type": "display_data"
442
+ },
443
+ {
444
+ "data": {
445
+ "application/vnd.jupyter.widget-view+json": {
446
+ "model_id": "d03a60fdb6d344cfa52f1c37be8bce64",
447
+ "version_major": 2,
448
+ "version_minor": 0
449
+ },
450
+ "text/plain": [
451
+ "Generating val split: 0%| | 0/3000 [00:00<?, ? examples/s]"
452
+ ]
453
+ },
454
+ "metadata": {},
455
+ "output_type": "display_data"
456
+ },
457
+ {
458
+ "data": {
459
+ "application/vnd.jupyter.widget-view+json": {
460
+ "model_id": "9d85b3a24d4847f6acb8a652ea7f0497",
461
+ "version_major": 2,
462
+ "version_minor": 0
463
+ },
464
+ "text/plain": [
465
+ "Generating test split: 0%| | 0/2999 [00:00<?, ? examples/s]"
466
+ ]
467
+ },
468
+ "metadata": {},
469
+ "output_type": "display_data"
470
+ },
471
+ {
472
+ "data": {
473
+ "application/vnd.jupyter.widget-view+json": {
474
+ "model_id": "364c53fd4d074964ad01360799aa7cd8",
475
+ "version_major": 2,
476
+ "version_minor": 0
477
+ },
478
+ "text/plain": [
479
+ "Downloading data: 0%| | 0.00/5.87M [00:00<?, ?B/s]"
480
+ ]
481
+ },
482
+ "metadata": {},
483
+ "output_type": "display_data"
484
+ },
485
+ {
486
+ "data": {
487
+ "application/vnd.jupyter.widget-view+json": {
488
+ "model_id": "adb8829992134274a8a56e7ca3850cef",
489
+ "version_major": 2,
490
+ "version_minor": 0
491
+ },
492
+ "text/plain": [
493
+ "Downloading data: 0%| | 0.00/5.87M [00:00<?, ?B/s]"
494
+ ]
495
+ },
496
+ "metadata": {},
497
+ "output_type": "display_data"
498
+ },
499
+ {
500
+ "data": {
501
+ "application/vnd.jupyter.widget-view+json": {
502
+ "model_id": "a0e7910efbec498b8af8919cf5fc755a",
503
+ "version_major": 2,
504
+ "version_minor": 0
505
+ },
506
+ "text/plain": [
507
+ "Downloading data: 0%| | 0.00/7.25M [00:00<?, ?B/s]"
508
+ ]
509
+ },
510
+ "metadata": {},
511
+ "output_type": "display_data"
512
+ },
513
+ {
514
+ "data": {
515
+ "application/vnd.jupyter.widget-view+json": {
516
+ "model_id": "9ada53bee60b43b883fe8d565f0e7bf2",
517
+ "version_major": 2,
518
+ "version_minor": 0
519
+ },
520
+ "text/plain": [
521
+ "Generating train split: 0%| | 0/19493 [00:00<?, ? examples/s]"
522
+ ]
523
+ },
524
+ "metadata": {},
525
+ "output_type": "display_data"
526
+ },
527
+ {
528
+ "data": {
529
+ "application/vnd.jupyter.widget-view+json": {
530
+ "model_id": "5e915abd4195430481a00b022a664e34",
531
+ "version_major": 2,
532
+ "version_minor": 0
533
+ },
534
+ "text/plain": [
535
+ "Generating val split: 0%| | 0/19420 [00:00<?, ? examples/s]"
536
+ ]
537
+ },
538
+ "metadata": {},
539
+ "output_type": "display_data"
540
+ },
541
+ {
542
+ "data": {
543
+ "application/vnd.jupyter.widget-view+json": {
544
+ "model_id": "9d882088224d490b921391b876b6e115",
545
+ "version_major": 2,
546
+ "version_minor": 0
547
+ },
548
+ "text/plain": [
549
+ "Generating test split: 0%| | 0/23948 [00:00<?, ? examples/s]"
550
+ ]
551
+ },
552
+ "metadata": {},
553
+ "output_type": "display_data"
554
+ },
555
+ {
556
+ "data": {
557
+ "application/vnd.jupyter.widget-view+json": {
558
+ "model_id": "ee30cb9703e34578be93d5feb7e7f3e2",
559
+ "version_major": 2,
560
+ "version_minor": 0
561
+ },
562
+ "text/plain": [
563
+ "Downloading data: 0%| | 0.00/6.77M [00:00<?, ?B/s]"
564
+ ]
565
+ },
566
+ "metadata": {},
567
+ "output_type": "display_data"
568
+ },
569
+ {
570
+ "data": {
571
+ "application/vnd.jupyter.widget-view+json": {
572
+ "model_id": "36e080d768104edd8fd9ac24c8b6cb24",
573
+ "version_major": 2,
574
+ "version_minor": 0
575
+ },
576
+ "text/plain": [
577
+ "Downloading data: 0%| | 0.00/686k [00:00<?, ?B/s]"
578
+ ]
579
+ },
580
+ "metadata": {},
581
+ "output_type": "display_data"
582
+ },
583
+ {
584
+ "data": {
585
+ "application/vnd.jupyter.widget-view+json": {
586
+ "model_id": "661ba694f26246198640debb9bc99422",
587
+ "version_major": 2,
588
+ "version_minor": 0
589
+ },
590
+ "text/plain": [
591
+ "Downloading data: 0%| | 0.00/251k [00:00<?, ?B/s]"
592
+ ]
593
+ },
594
+ "metadata": {},
595
+ "output_type": "display_data"
596
+ },
597
+ {
598
+ "data": {
599
+ "application/vnd.jupyter.widget-view+json": {
600
+ "model_id": "81da27c1e7a449de9bb29ce6fd038701",
601
+ "version_major": 2,
602
+ "version_minor": 0
603
+ },
604
+ "text/plain": [
605
+ "Generating train split: 0%| | 0/69274 [00:00<?, ? examples/s]"
606
+ ]
607
+ },
608
+ "metadata": {},
609
+ "output_type": "display_data"
610
+ },
611
+ {
612
+ "data": {
613
+ "application/vnd.jupyter.widget-view+json": {
614
+ "model_id": "f21fa78782754f07a3fd85826ab6f9d2",
615
+ "version_major": 2,
616
+ "version_minor": 0
617
+ },
618
+ "text/plain": [
619
+ "Generating val split: 0%| | 0/7002 [00:00<?, ? examples/s]"
620
+ ]
621
+ },
622
+ "metadata": {},
623
+ "output_type": "display_data"
624
+ },
625
+ {
626
+ "data": {
627
+ "application/vnd.jupyter.widget-view+json": {
628
+ "model_id": "8eeca6faca0449b2a737e13b23f1afc7",
629
+ "version_major": 2,
630
+ "version_minor": 0
631
+ },
632
+ "text/plain": [
633
+ "Generating test split: 0%| | 0/2598 [00:00<?, ? examples/s]"
634
+ ]
635
+ },
636
+ "metadata": {},
637
+ "output_type": "display_data"
638
+ },
639
+ {
640
+ "data": {
641
+ "application/vnd.jupyter.widget-view+json": {
642
+ "model_id": "80fd2ae3c7db4340ae4f4bf543fc10e9",
643
+ "version_major": 2,
644
+ "version_minor": 0
645
+ },
646
+ "text/plain": [
647
+ "Downloading data: 0%| | 0.00/3.19M [00:00<?, ?B/s]"
648
+ ]
649
+ },
650
+ "metadata": {},
651
+ "output_type": "display_data"
652
+ },
653
+ {
654
+ "data": {
655
+ "application/vnd.jupyter.widget-view+json": {
656
+ "model_id": "b03ee9c8e91843b4b434ed60c4b647c9",
657
+ "version_major": 2,
658
+ "version_minor": 0
659
+ },
660
+ "text/plain": [
661
+ "Downloading data: 0%| | 0.00/395k [00:00<?, ?B/s]"
662
+ ]
663
+ },
664
+ "metadata": {},
665
+ "output_type": "display_data"
666
+ },
667
+ {
668
+ "data": {
669
+ "application/vnd.jupyter.widget-view+json": {
670
+ "model_id": "29a97f7ef7d24ffc93ff41e86877f2ce",
671
+ "version_major": 2,
672
+ "version_minor": 0
673
+ },
674
+ "text/plain": [
675
+ "Downloading data: 0%| | 0.00/408k [00:00<?, ?B/s]"
676
+ ]
677
+ },
678
+ "metadata": {},
679
+ "output_type": "display_data"
680
+ },
681
+ {
682
+ "data": {
683
+ "application/vnd.jupyter.widget-view+json": {
684
+ "model_id": "d6777316594541bb8be014cdb3700654",
685
+ "version_major": 2,
686
+ "version_minor": 0
687
+ },
688
+ "text/plain": [
689
+ "Generating train split: 0%| | 0/24000 [00:00<?, ? examples/s]"
690
+ ]
691
+ },
692
+ "metadata": {},
693
+ "output_type": "display_data"
694
+ },
695
+ {
696
+ "data": {
697
+ "application/vnd.jupyter.widget-view+json": {
698
+ "model_id": "86acc47353844b7a91183b49ef0f7d18",
699
+ "version_major": 2,
700
+ "version_minor": 0
701
+ },
702
+ "text/plain": [
703
+ "Generating val split: 0%| | 0/3000 [00:00<?, ? examples/s]"
704
+ ]
705
+ },
706
+ "metadata": {},
707
+ "output_type": "display_data"
708
+ },
709
+ {
710
+ "data": {
711
+ "application/vnd.jupyter.widget-view+json": {
712
+ "model_id": "b59ce1b7a6414e7383ab968e34c33407",
713
+ "version_major": 2,
714
+ "version_minor": 0
715
+ },
716
+ "text/plain": [
717
+ "Generating test split: 0%| | 0/3000 [00:00<?, ? examples/s]"
718
+ ]
719
+ },
720
+ "metadata": {},
721
+ "output_type": "display_data"
722
+ },
723
+ {
724
+ "data": {
725
+ "application/vnd.jupyter.widget-view+json": {
726
+ "model_id": "b69215199cce47189f98b11a232a646f",
727
+ "version_major": 2,
728
+ "version_minor": 0
729
+ },
730
+ "text/plain": [
731
+ "Downloading data: 0%| | 0.00/32.6M [00:00<?, ?B/s]"
732
+ ]
733
+ },
734
+ "metadata": {},
735
+ "output_type": "display_data"
736
+ },
737
+ {
738
+ "data": {
739
+ "application/vnd.jupyter.widget-view+json": {
740
+ "model_id": "2c1cfea5f71a4021b4faffa588f58694",
741
+ "version_major": 2,
742
+ "version_minor": 0
743
+ },
744
+ "text/plain": [
745
+ "Downloading data: 0%| | 0.00/5.55M [00:00<?, ?B/s]"
746
+ ]
747
+ },
748
+ "metadata": {},
749
+ "output_type": "display_data"
750
+ },
751
+ {
752
+ "data": {
753
+ "application/vnd.jupyter.widget-view+json": {
754
+ "model_id": "b77176a0ffd24c8ca8339e6a1b653aa8",
755
+ "version_major": 2,
756
+ "version_minor": 0
757
+ },
758
+ "text/plain": [
759
+ "Downloading data: 0%| | 0.00/6.83M [00:00<?, ?B/s]"
760
+ ]
761
+ },
762
+ "metadata": {},
763
+ "output_type": "display_data"
764
+ },
765
+ {
766
+ "data": {
767
+ "application/vnd.jupyter.widget-view+json": {
768
+ "model_id": "85acec4f832f4809a0a37d32a4f1485c",
769
+ "version_major": 2,
770
+ "version_minor": 0
771
+ },
772
+ "text/plain": [
773
+ "Generating train split: 0%| | 0/120233 [00:00<?, ? examples/s]"
774
+ ]
775
+ },
776
+ "metadata": {},
777
+ "output_type": "display_data"
778
+ },
779
+ {
780
+ "data": {
781
+ "application/vnd.jupyter.widget-view+json": {
782
+ "model_id": "7bcc8f2dc598481eadf584db5a2044fe",
783
+ "version_major": 2,
784
+ "version_minor": 0
785
+ },
786
+ "text/plain": [
787
+ "Generating val split: 0%| | 0/20413 [00:00<?, ? examples/s]"
788
+ ]
789
+ },
790
+ "metadata": {},
791
+ "output_type": "display_data"
792
+ },
793
+ {
794
+ "data": {
795
+ "application/vnd.jupyter.widget-view+json": {
796
+ "model_id": "ddca3f560a36448a8dfd3ef95e500d88",
797
+ "version_major": 2,
798
+ "version_minor": 0
799
+ },
800
+ "text/plain": [
801
+ "Generating test split: 0%| | 0/25026 [00:00<?, ? examples/s]"
802
+ ]
803
+ },
804
+ "metadata": {},
805
+ "output_type": "display_data"
806
+ },
807
+ {
808
+ "data": {
809
+ "application/vnd.jupyter.widget-view+json": {
810
+ "model_id": "ff887c0d53fc48d695470d85a560c6a3",
811
+ "version_major": 2,
812
+ "version_minor": 0
813
+ },
814
+ "text/plain": [
815
+ "Downloading data: 0%| | 0.00/9.39M [00:00<?, ?B/s]"
816
+ ]
817
+ },
818
+ "metadata": {},
819
+ "output_type": "display_data"
820
+ },
821
+ {
822
+ "data": {
823
+ "application/vnd.jupyter.widget-view+json": {
824
+ "model_id": "f68b7cf13ef9435abdbfba78ed99b2d2",
825
+ "version_major": 2,
826
+ "version_minor": 0
827
+ },
828
+ "text/plain": [
829
+ "Downloading data: 0%| | 0.00/956k [00:00<?, ?B/s]"
830
+ ]
831
+ },
832
+ "metadata": {},
833
+ "output_type": "display_data"
834
+ },
835
+ {
836
+ "data": {
837
+ "application/vnd.jupyter.widget-view+json": {
838
+ "model_id": "e67cf4be5fe443b0997c8fd40af0309e",
839
+ "version_major": 2,
840
+ "version_minor": 0
841
+ },
842
+ "text/plain": [
843
+ "Downloading data: 0%| | 0.00/350k [00:00<?, ?B/s]"
844
+ ]
845
+ },
846
+ "metadata": {},
847
+ "output_type": "display_data"
848
+ },
849
+ {
850
+ "data": {
851
+ "application/vnd.jupyter.widget-view+json": {
852
+ "model_id": "ebebc3a4e6f14ad8b99c01b01cc759cc",
853
+ "version_major": 2,
854
+ "version_minor": 0
855
+ },
856
+ "text/plain": [
857
+ "Generating train split: 0%| | 0/61553 [00:00<?, ? examples/s]"
858
+ ]
859
+ },
860
+ "metadata": {},
861
+ "output_type": "display_data"
862
+ },
863
+ {
864
+ "data": {
865
+ "application/vnd.jupyter.widget-view+json": {
866
+ "model_id": "2a8f48e1200f4a1e9b4816d1cef6be8f",
867
+ "version_major": 2,
868
+ "version_minor": 0
869
+ },
870
+ "text/plain": [
871
+ "Generating val split: 0%| | 0/6284 [00:00<?, ? examples/s]"
872
+ ]
873
+ },
874
+ "metadata": {},
875
+ "output_type": "display_data"
876
+ },
877
+ {
878
+ "data": {
879
+ "application/vnd.jupyter.widget-view+json": {
880
+ "model_id": "a807fcb81ef4465e94fc06b97a6c9036",
881
+ "version_major": 2,
882
+ "version_minor": 0
883
+ },
884
+ "text/plain": [
885
+ "Generating test split: 0%| | 0/2309 [00:00<?, ? examples/s]"
886
+ ]
887
+ },
888
+ "metadata": {},
889
+ "output_type": "display_data"
890
+ },
891
+ {
892
+ "data": {
893
+ "application/vnd.jupyter.widget-view+json": {
894
+ "model_id": "8183111e412d40e2a28768ba146e3645",
895
+ "version_major": 2,
896
+ "version_minor": 0
897
+ },
898
+ "text/plain": [
899
+ "Downloading data: 0%| | 0.00/3.55M [00:00<?, ?B/s]"
900
+ ]
901
+ },
902
+ "metadata": {},
903
+ "output_type": "display_data"
904
+ },
905
+ {
906
+ "data": {
907
+ "application/vnd.jupyter.widget-view+json": {
908
+ "model_id": "f769e9f007cc402e975dcecc044525eb",
909
+ "version_major": 2,
910
+ "version_minor": 0
911
+ },
912
+ "text/plain": [
913
+ "Downloading data: 0%| | 0.00/461k [00:00<?, ?B/s]"
914
+ ]
915
+ },
916
+ "metadata": {},
917
+ "output_type": "display_data"
918
+ },
919
+ {
920
+ "data": {
921
+ "application/vnd.jupyter.widget-view+json": {
922
+ "model_id": "c15cf0381d43484b9f904b3f7d7a8308",
923
+ "version_major": 2,
924
+ "version_minor": 0
925
+ },
926
+ "text/plain": [
927
+ "Downloading data: 0%| | 0.00/478k [00:00<?, ?B/s]"
928
+ ]
929
+ },
930
+ "metadata": {},
931
+ "output_type": "display_data"
932
+ },
933
+ {
934
+ "data": {
935
+ "application/vnd.jupyter.widget-view+json": {
936
+ "model_id": "6ab866ecc2e74b5687a9caf8979fe8e3",
937
+ "version_major": 2,
938
+ "version_minor": 0
939
+ },
940
+ "text/plain": [
941
+ "Generating train split: 0%| | 0/23986 [00:00<?, ? examples/s]"
942
+ ]
943
+ },
944
+ "metadata": {},
945
+ "output_type": "display_data"
946
+ },
947
+ {
948
+ "data": {
949
+ "application/vnd.jupyter.widget-view+json": {
950
+ "model_id": "a406835b4cff4cd780a1a20aa9587211",
951
+ "version_major": 2,
952
+ "version_minor": 0
953
+ },
954
+ "text/plain": [
955
+ "Generating val split: 0%| | 0/3000 [00:00<?, ? examples/s]"
956
+ ]
957
+ },
958
+ "metadata": {},
959
+ "output_type": "display_data"
960
+ },
961
+ {
962
+ "data": {
963
+ "application/vnd.jupyter.widget-view+json": {
964
+ "model_id": "8a28034b2530437c9bf8eccdd35b2cd4",
965
+ "version_major": 2,
966
+ "version_minor": 0
967
+ },
968
+ "text/plain": [
969
+ "Generating test split: 0%| | 0/2999 [00:00<?, ? examples/s]"
970
+ ]
971
+ },
972
+ "metadata": {},
973
+ "output_type": "display_data"
974
+ },
975
+ {
976
+ "data": {
977
+ "application/vnd.jupyter.widget-view+json": {
978
+ "model_id": "c0f6de4fdb314e8ba2d57044d4f9d097",
979
+ "version_major": 2,
980
+ "version_minor": 0
981
+ },
982
+ "text/plain": [
983
+ "Downloading data: 0%| | 0.00/32.7M [00:00<?, ?B/s]"
984
+ ]
985
+ },
986
+ "metadata": {},
987
+ "output_type": "display_data"
988
+ },
989
+ {
990
+ "data": {
991
+ "application/vnd.jupyter.widget-view+json": {
992
+ "model_id": "3f5bc59ee9f744239274602a276bea53",
993
+ "version_major": 2,
994
+ "version_minor": 0
995
+ },
996
+ "text/plain": [
997
+ "Downloading data: 0%| | 0.00/5.56M [00:00<?, ?B/s]"
998
+ ]
999
+ },
1000
+ "metadata": {},
1001
+ "output_type": "display_data"
1002
+ },
1003
+ {
1004
+ "data": {
1005
+ "application/vnd.jupyter.widget-view+json": {
1006
+ "model_id": "79506fcd2772439ebc8956688d4ea375",
1007
+ "version_major": 2,
1008
+ "version_minor": 0
1009
+ },
1010
+ "text/plain": [
1011
+ "Downloading data: 0%| | 0.00/6.88M [00:00<?, ?B/s]"
1012
+ ]
1013
+ },
1014
+ "metadata": {},
1015
+ "output_type": "display_data"
1016
+ },
1017
+ {
1018
+ "data": {
1019
+ "application/vnd.jupyter.widget-view+json": {
1020
+ "model_id": "9ebaa222c32543e489514ddedb8a08bc",
1021
+ "version_major": 2,
1022
+ "version_minor": 0
1023
+ },
1024
+ "text/plain": [
1025
+ "Generating train split: 0%| | 0/113845 [00:00<?, ? examples/s]"
1026
+ ]
1027
+ },
1028
+ "metadata": {},
1029
+ "output_type": "display_data"
1030
+ },
1031
+ {
1032
+ "data": {
1033
+ "application/vnd.jupyter.widget-view+json": {
1034
+ "model_id": "69ec71fbabb04563be5c6151f8e3916b",
1035
+ "version_major": 2,
1036
+ "version_minor": 0
1037
+ },
1038
+ "text/plain": [
1039
+ "Generating val split: 0%| | 0/19235 [00:00<?, ? examples/s]"
1040
+ ]
1041
+ },
1042
+ "metadata": {},
1043
+ "output_type": "display_data"
1044
+ },
1045
+ {
1046
+ "data": {
1047
+ "application/vnd.jupyter.widget-view+json": {
1048
+ "model_id": "3a1cc96814314bbe95622f303585863e",
1049
+ "version_major": 2,
1050
+ "version_minor": 0
1051
+ },
1052
+ "text/plain": [
1053
+ "Generating test split: 0%| | 0/23781 [00:00<?, ? examples/s]"
1054
+ ]
1055
+ },
1056
+ "metadata": {},
1057
+ "output_type": "display_data"
1058
+ },
1059
+ {
1060
+ "data": {
1061
+ "application/vnd.jupyter.widget-view+json": {
1062
+ "model_id": "ea49ba07d89340d1a7b0ac5a2b02a5a8",
1063
+ "version_major": 2,
1064
+ "version_minor": 0
1065
+ },
1066
+ "text/plain": [
1067
+ "Downloading data: 0%| | 0.00/11.1M [00:00<?, ?B/s]"
1068
+ ]
1069
+ },
1070
+ "metadata": {},
1071
+ "output_type": "display_data"
1072
+ },
1073
+ {
1074
+ "data": {
1075
+ "application/vnd.jupyter.widget-view+json": {
1076
+ "model_id": "b60408a3d731400f93d0d504bdf6b367",
1077
+ "version_major": 2,
1078
+ "version_minor": 0
1079
+ },
1080
+ "text/plain": [
1081
+ "Downloading data: 0%| | 0.00/1.12M [00:00<?, ?B/s]"
1082
+ ]
1083
+ },
1084
+ "metadata": {},
1085
+ "output_type": "display_data"
1086
+ },
1087
+ {
1088
+ "data": {
1089
+ "application/vnd.jupyter.widget-view+json": {
1090
+ "model_id": "f35896cc8a1b411eb325c90795635c90",
1091
+ "version_major": 2,
1092
+ "version_minor": 0
1093
+ },
1094
+ "text/plain": [
1095
+ "Downloading data: 0%| | 0.00/408k [00:00<?, ?B/s]"
1096
+ ]
1097
+ },
1098
+ "metadata": {},
1099
+ "output_type": "display_data"
1100
+ },
1101
+ {
1102
+ "data": {
1103
+ "application/vnd.jupyter.widget-view+json": {
1104
+ "model_id": "c142cc23f3dc4ca0974c75024817eea5",
1105
+ "version_major": 2,
1106
+ "version_minor": 0
1107
+ },
1108
+ "text/plain": [
1109
+ "Generating train split: 0%| | 0/64188 [00:00<?, ? examples/s]"
1110
+ ]
1111
+ },
1112
+ "metadata": {},
1113
+ "output_type": "display_data"
1114
+ },
1115
+ {
1116
+ "data": {
1117
+ "application/vnd.jupyter.widget-view+json": {
1118
+ "model_id": "3df9070473ac4d74851a189e5bb5d6b0",
1119
+ "version_major": 2,
1120
+ "version_minor": 0
1121
+ },
1122
+ "text/plain": [
1123
+ "Generating val split: 0%| | 0/6468 [00:00<?, ? examples/s]"
1124
+ ]
1125
+ },
1126
+ "metadata": {},
1127
+ "output_type": "display_data"
1128
+ },
1129
+ {
1130
+ "data": {
1131
+ "application/vnd.jupyter.widget-view+json": {
1132
+ "model_id": "fb47a44f7ecb42b4a50f9a11d17761d2",
1133
+ "version_major": 2,
1134
+ "version_minor": 0
1135
+ },
1136
+ "text/plain": [
1137
+ "Generating test split: 0%| | 0/2377 [00:00<?, ? examples/s]"
1138
+ ]
1139
+ },
1140
+ "metadata": {},
1141
+ "output_type": "display_data"
1142
+ },
1143
+ {
1144
+ "data": {
1145
+ "application/vnd.jupyter.widget-view+json": {
1146
+ "model_id": "8889151ac0234b2ea74bc4c0ee3bae77",
1147
+ "version_major": 2,
1148
+ "version_minor": 0
1149
+ },
1150
+ "text/plain": [
1151
+ "Downloading data: 0%| | 0.00/3.67M [00:00<?, ?B/s]"
1152
+ ]
1153
+ },
1154
+ "metadata": {},
1155
+ "output_type": "display_data"
1156
+ },
1157
+ {
1158
+ "data": {
1159
+ "application/vnd.jupyter.widget-view+json": {
1160
+ "model_id": "2e268d95a91946cbbfa2a35f94322962",
1161
+ "version_major": 2,
1162
+ "version_minor": 0
1163
+ },
1164
+ "text/plain": [
1165
+ "Downloading data: 0%| | 0.00/484k [00:00<?, ?B/s]"
1166
+ ]
1167
+ },
1168
+ "metadata": {},
1169
+ "output_type": "display_data"
1170
+ },
1171
+ {
1172
+ "data": {
1173
+ "application/vnd.jupyter.widget-view+json": {
1174
+ "model_id": "7ae2cc02907947cfb2d81ac5970cdcd5",
1175
+ "version_major": 2,
1176
+ "version_minor": 0
1177
+ },
1178
+ "text/plain": [
1179
+ "Downloading data: 0%| | 0.00/497k [00:00<?, ?B/s]"
1180
+ ]
1181
+ },
1182
+ "metadata": {},
1183
+ "output_type": "display_data"
1184
+ },
1185
+ {
1186
+ "data": {
1187
+ "application/vnd.jupyter.widget-view+json": {
1188
+ "model_id": "14c18da46f7d43f787ee2b4d8b4d3898",
1189
+ "version_major": 2,
1190
+ "version_minor": 0
1191
+ },
1192
+ "text/plain": [
1193
+ "Generating train split: 0%| | 0/23994 [00:00<?, ? examples/s]"
1194
+ ]
1195
+ },
1196
+ "metadata": {},
1197
+ "output_type": "display_data"
1198
+ },
1199
+ {
1200
+ "data": {
1201
+ "application/vnd.jupyter.widget-view+json": {
1202
+ "model_id": "250747f2d8f941b2a19f27d8041a0d2a",
1203
+ "version_major": 2,
1204
+ "version_minor": 0
1205
+ },
1206
+ "text/plain": [
1207
+ "Generating val split: 0%| | 0/3000 [00:00<?, ? examples/s]"
1208
+ ]
1209
+ },
1210
+ "metadata": {},
1211
+ "output_type": "display_data"
1212
+ },
1213
+ {
1214
+ "data": {
1215
+ "application/vnd.jupyter.widget-view+json": {
1216
+ "model_id": "53e4ee8217874af5a99fae8ad92701b8",
1217
+ "version_major": 2,
1218
+ "version_minor": 0
1219
+ },
1220
+ "text/plain": [
1221
+ "Generating test split: 0%| | 0/2999 [00:00<?, ? examples/s]"
1222
+ ]
1223
+ },
1224
+ "metadata": {},
1225
+ "output_type": "display_data"
1226
+ },
1227
+ {
1228
+ "data": {
1229
+ "application/vnd.jupyter.widget-view+json": {
1230
+ "model_id": "28a51235b8be444c82911822bd339157",
1231
+ "version_major": 2,
1232
+ "version_minor": 0
1233
+ },
1234
+ "text/plain": [
1235
+ "Downloading data: 0%| | 0.00/5.80M [00:00<?, ?B/s]"
1236
+ ]
1237
+ },
1238
+ "metadata": {},
1239
+ "output_type": "display_data"
1240
+ },
1241
+ {
1242
+ "data": {
1243
+ "application/vnd.jupyter.widget-view+json": {
1244
+ "model_id": "091204dd9cc647ec9b7e9df5edbfe851",
1245
+ "version_major": 2,
1246
+ "version_minor": 0
1247
+ },
1248
+ "text/plain": [
1249
+ "Downloading data: 0%| | 0.00/5.79M [00:00<?, ?B/s]"
1250
+ ]
1251
+ },
1252
+ "metadata": {},
1253
+ "output_type": "display_data"
1254
+ },
1255
+ {
1256
+ "data": {
1257
+ "application/vnd.jupyter.widget-view+json": {
1258
+ "model_id": "ade349d0ae734e9f809ff29e48274c2c",
1259
+ "version_major": 2,
1260
+ "version_minor": 0
1261
+ },
1262
+ "text/plain": [
1263
+ "Downloading data: 0%| | 0.00/7.16M [00:00<?, ?B/s]"
1264
+ ]
1265
+ },
1266
+ "metadata": {},
1267
+ "output_type": "display_data"
1268
+ },
1269
+ {
1270
+ "data": {
1271
+ "application/vnd.jupyter.widget-view+json": {
1272
+ "model_id": "3ab687cc9947415da2f0190aaf29ca23",
1273
+ "version_major": 2,
1274
+ "version_minor": 0
1275
+ },
1276
+ "text/plain": [
1277
+ "Generating train split: 0%| | 0/19460 [00:00<?, ? examples/s]"
1278
+ ]
1279
+ },
1280
+ "metadata": {},
1281
+ "output_type": "display_data"
1282
+ },
1283
+ {
1284
+ "data": {
1285
+ "application/vnd.jupyter.widget-view+json": {
1286
+ "model_id": "b135f64118e34316b6dbcf56489a4fd8",
1287
+ "version_major": 2,
1288
+ "version_minor": 0
1289
+ },
1290
+ "text/plain": [
1291
+ "Generating val split: 0%| | 0/19364 [00:00<?, ? examples/s]"
1292
+ ]
1293
+ },
1294
+ "metadata": {},
1295
+ "output_type": "display_data"
1296
+ },
1297
+ {
1298
+ "data": {
1299
+ "application/vnd.jupyter.widget-view+json": {
1300
+ "model_id": "53f93558b35841e299158a7dc5a7dc59",
1301
+ "version_major": 2,
1302
+ "version_minor": 0
1303
+ },
1304
+ "text/plain": [
1305
+ "Generating test split: 0%| | 0/23924 [00:00<?, ? examples/s]"
1306
+ ]
1307
+ },
1308
+ "metadata": {},
1309
+ "output_type": "display_data"
1310
+ },
1311
+ {
1312
+ "data": {
1313
+ "application/vnd.jupyter.widget-view+json": {
1314
+ "model_id": "b80132648b3a4032a52b76e4c5938f0b",
1315
+ "version_major": 2,
1316
+ "version_minor": 0
1317
+ },
1318
+ "text/plain": [
1319
+ "Downloading data: 0%| | 0.00/16.2M [00:00<?, ?B/s]"
1320
+ ]
1321
+ },
1322
+ "metadata": {},
1323
+ "output_type": "display_data"
1324
+ },
1325
+ {
1326
+ "data": {
1327
+ "application/vnd.jupyter.widget-view+json": {
1328
+ "model_id": "458a93ba719d48d1821b0d842ca03814",
1329
+ "version_major": 2,
1330
+ "version_minor": 0
1331
+ },
1332
+ "text/plain": [
1333
+ "Downloading data: 0%| | 0.00/1.65M [00:00<?, ?B/s]"
1334
+ ]
1335
+ },
1336
+ "metadata": {},
1337
+ "output_type": "display_data"
1338
+ },
1339
+ {
1340
+ "data": {
1341
+ "application/vnd.jupyter.widget-view+json": {
1342
+ "model_id": "e33c6b133c424042bffb3da0bfc39c62",
1343
+ "version_major": 2,
1344
+ "version_minor": 0
1345
+ },
1346
+ "text/plain": [
1347
+ "Downloading data: 0%| | 0.00/589k [00:00<?, ?B/s]"
1348
+ ]
1349
+ },
1350
+ "metadata": {},
1351
+ "output_type": "display_data"
1352
+ },
1353
+ {
1354
+ "data": {
1355
+ "application/vnd.jupyter.widget-view+json": {
1356
+ "model_id": "da7955d8ebf841d09b23880ddeae35e2",
1357
+ "version_major": 2,
1358
+ "version_minor": 0
1359
+ },
1360
+ "text/plain": [
1361
+ "Generating train split: 0%| | 0/65343 [00:00<?, ? examples/s]"
1362
+ ]
1363
+ },
1364
+ "metadata": {},
1365
+ "output_type": "display_data"
1366
+ },
1367
+ {
1368
+ "data": {
1369
+ "application/vnd.jupyter.widget-view+json": {
1370
+ "model_id": "a048d62c07294835960ce13b25b08610",
1371
+ "version_major": 2,
1372
+ "version_minor": 0
1373
+ },
1374
+ "text/plain": [
1375
+ "Generating val split: 0%| | 0/6602 [00:00<?, ? examples/s]"
1376
+ ]
1377
+ },
1378
+ "metadata": {},
1379
+ "output_type": "display_data"
1380
+ },
1381
+ {
1382
+ "data": {
1383
+ "application/vnd.jupyter.widget-view+json": {
1384
+ "model_id": "f9ba7f23f46f49c0b327a73612581c5d",
1385
+ "version_major": 2,
1386
+ "version_minor": 0
1387
+ },
1388
+ "text/plain": [
1389
+ "Generating test split: 0%| | 0/2422 [00:00<?, ? examples/s]"
1390
+ ]
1391
+ },
1392
+ "metadata": {},
1393
+ "output_type": "display_data"
1394
+ },
1395
+ {
1396
+ "data": {
1397
+ "application/vnd.jupyter.widget-view+json": {
1398
+ "model_id": "78c2eb95530a42caaa763e3de049cda2",
1399
+ "version_major": 2,
1400
+ "version_minor": 0
1401
+ },
1402
+ "text/plain": [
1403
+ "Downloading data: 0%| | 0.00/4.09M [00:00<?, ?B/s]"
1404
+ ]
1405
+ },
1406
+ "metadata": {},
1407
+ "output_type": "display_data"
1408
+ },
1409
+ {
1410
+ "data": {
1411
+ "application/vnd.jupyter.widget-view+json": {
1412
+ "model_id": "10511113c6cf40fb9e11edf3fec68e88",
1413
+ "version_major": 2,
1414
+ "version_minor": 0
1415
+ },
1416
+ "text/plain": [
1417
+ "Downloading data: 0%| | 0.00/554k [00:00<?, ?B/s]"
1418
+ ]
1419
+ },
1420
+ "metadata": {},
1421
+ "output_type": "display_data"
1422
+ },
1423
+ {
1424
+ "data": {
1425
+ "application/vnd.jupyter.widget-view+json": {
1426
+ "model_id": "25a86b85fc9a4ee0a4cdce46ccf9ac55",
1427
+ "version_major": 2,
1428
+ "version_minor": 0
1429
+ },
1430
+ "text/plain": [
1431
+ "Downloading data: 0%| | 0.00/568k [00:00<?, ?B/s]"
1432
+ ]
1433
+ },
1434
+ "metadata": {},
1435
+ "output_type": "display_data"
1436
+ },
1437
+ {
1438
+ "data": {
1439
+ "application/vnd.jupyter.widget-view+json": {
1440
+ "model_id": "8caed614e96d43b894faaee908519d25",
1441
+ "version_major": 2,
1442
+ "version_minor": 0
1443
+ },
1444
+ "text/plain": [
1445
+ "Generating train split: 0%| | 0/23987 [00:00<?, ? examples/s]"
1446
+ ]
1447
+ },
1448
+ "metadata": {},
1449
+ "output_type": "display_data"
1450
+ },
1451
+ {
1452
+ "data": {
1453
+ "application/vnd.jupyter.widget-view+json": {
1454
+ "model_id": "d62aea966cf84770b900936d2d6ee03a",
1455
+ "version_major": 2,
1456
+ "version_minor": 0
1457
+ },
1458
+ "text/plain": [
1459
+ "Generating val split: 0%| | 0/2999 [00:00<?, ? examples/s]"
1460
+ ]
1461
+ },
1462
+ "metadata": {},
1463
+ "output_type": "display_data"
1464
+ },
1465
+ {
1466
+ "data": {
1467
+ "application/vnd.jupyter.widget-view+json": {
1468
+ "model_id": "99fac33c21084a9ea58b981d1e42ba0f",
1469
+ "version_major": 2,
1470
+ "version_minor": 0
1471
+ },
1472
+ "text/plain": [
1473
+ "Generating test split: 0%| | 0/3000 [00:00<?, ? examples/s]"
1474
+ ]
1475
+ },
1476
+ "metadata": {},
1477
+ "output_type": "display_data"
1478
+ },
1479
+ {
1480
+ "data": {
1481
+ "application/vnd.jupyter.widget-view+json": {
1482
+ "model_id": "a5dcef89e04b4e00b8192c814bf2c68e",
1483
+ "version_major": 2,
1484
+ "version_minor": 0
1485
+ },
1486
+ "text/plain": [
1487
+ "Downloading data: 0%| | 0.00/6.03M [00:00<?, ?B/s]"
1488
+ ]
1489
+ },
1490
+ "metadata": {},
1491
+ "output_type": "display_data"
1492
+ },
1493
+ {
1494
+ "data": {
1495
+ "application/vnd.jupyter.widget-view+json": {
1496
+ "model_id": "5d00b2d743254f238a4c38cd6923de8b",
1497
+ "version_major": 2,
1498
+ "version_minor": 0
1499
+ },
1500
+ "text/plain": [
1501
+ "Downloading data: 0%| | 0.00/6.04M [00:00<?, ?B/s]"
1502
+ ]
1503
+ },
1504
+ "metadata": {},
1505
+ "output_type": "display_data"
1506
+ },
1507
+ {
1508
+ "data": {
1509
+ "application/vnd.jupyter.widget-view+json": {
1510
+ "model_id": "8ceb884b69754d7bbf3b84b84ac2dd96",
1511
+ "version_major": 2,
1512
+ "version_minor": 0
1513
+ },
1514
+ "text/plain": [
1515
+ "Downloading data: 0%| | 0.00/7.42M [00:00<?, ?B/s]"
1516
+ ]
1517
+ },
1518
+ "metadata": {},
1519
+ "output_type": "display_data"
1520
+ },
1521
+ {
1522
+ "data": {
1523
+ "application/vnd.jupyter.widget-view+json": {
1524
+ "model_id": "3a6f7a6a20f44a78a04693d86e7658e7",
1525
+ "version_major": 2,
1526
+ "version_minor": 0
1527
+ },
1528
+ "text/plain": [
1529
+ "Generating train split: 0%| | 0/19533 [00:00<?, ? examples/s]"
1530
+ ]
1531
+ },
1532
+ "metadata": {},
1533
+ "output_type": "display_data"
1534
+ },
1535
+ {
1536
+ "data": {
1537
+ "application/vnd.jupyter.widget-view+json": {
1538
+ "model_id": "ad3967ee6cdd457db4fa0e6b0c8593b3",
1539
+ "version_major": 2,
1540
+ "version_minor": 0
1541
+ },
1542
+ "text/plain": [
1543
+ "Generating val split: 0%| | 0/19483 [00:00<?, ? examples/s]"
1544
+ ]
1545
+ },
1546
+ "metadata": {},
1547
+ "output_type": "display_data"
1548
+ },
1549
+ {
1550
+ "data": {
1551
+ "application/vnd.jupyter.widget-view+json": {
1552
+ "model_id": "73e5557e1e7d4acaa0a9c374ea583ceb",
1553
+ "version_major": 2,
1554
+ "version_minor": 0
1555
+ },
1556
+ "text/plain": [
1557
+ "Generating test split: 0%| | 0/23916 [00:00<?, ? examples/s]"
1558
+ ]
1559
+ },
1560
+ "metadata": {},
1561
+ "output_type": "display_data"
1562
+ },
1563
+ {
1564
+ "data": {
1565
+ "application/vnd.jupyter.widget-view+json": {
1566
+ "model_id": "af774397d7e14651a96fae36f1ed24f7",
1567
+ "version_major": 2,
1568
+ "version_minor": 0
1569
+ },
1570
+ "text/plain": [
1571
+ "Downloading data: 0%| | 0.00/19.6M [00:00<?, ?B/s]"
1572
+ ]
1573
+ },
1574
+ "metadata": {},
1575
+ "output_type": "display_data"
1576
+ },
1577
+ {
1578
+ "data": {
1579
+ "application/vnd.jupyter.widget-view+json": {
1580
+ "model_id": "63abb6e972ba46c7905a409192512ae4",
1581
+ "version_major": 2,
1582
+ "version_minor": 0
1583
+ },
1584
+ "text/plain": [
1585
+ "Downloading data: 0%| | 0.00/1.06M [00:00<?, ?B/s]"
1586
+ ]
1587
+ },
1588
+ "metadata": {},
1589
+ "output_type": "display_data"
1590
+ },
1591
+ {
1592
+ "data": {
1593
+ "application/vnd.jupyter.widget-view+json": {
1594
+ "model_id": "6ade19de52ae47bb8fd11b0fdb432d43",
1595
+ "version_major": 2,
1596
+ "version_minor": 0
1597
+ },
1598
+ "text/plain": [
1599
+ "Downloading data: 0%| | 0.00/377k [00:00<?, ?B/s]"
1600
+ ]
1601
+ },
1602
+ "metadata": {},
1603
+ "output_type": "display_data"
1604
+ },
1605
+ {
1606
+ "data": {
1607
+ "application/vnd.jupyter.widget-view+json": {
1608
+ "model_id": "56ae43b256cb480bb32077d258336232",
1609
+ "version_major": 2,
1610
+ "version_minor": 0
1611
+ },
1612
+ "text/plain": [
1613
+ "Generating train split: 0%| | 0/65536 [00:00<?, ? examples/s]"
1614
+ ]
1615
+ },
1616
+ "metadata": {},
1617
+ "output_type": "display_data"
1618
+ },
1619
+ {
1620
+ "data": {
1621
+ "application/vnd.jupyter.widget-view+json": {
1622
+ "model_id": "b4a4112adbcb4dbea75dfb69aa74b130",
1623
+ "version_major": 2,
1624
+ "version_minor": 0
1625
+ },
1626
+ "text/plain": [
1627
+ "Generating val split: 0%| | 0/6632 [00:00<?, ? examples/s]"
1628
+ ]
1629
+ },
1630
+ "metadata": {},
1631
+ "output_type": "display_data"
1632
+ },
1633
+ {
1634
+ "data": {
1635
+ "application/vnd.jupyter.widget-view+json": {
1636
+ "model_id": "a02803d83e64450a849ddd34b5212769",
1637
+ "version_major": 2,
1638
+ "version_minor": 0
1639
+ },
1640
+ "text/plain": [
1641
+ "Generating test split: 0%| | 0/2436 [00:00<?, ? examples/s]"
1642
+ ]
1643
+ },
1644
+ "metadata": {},
1645
+ "output_type": "display_data"
1646
+ },
1647
+ {
1648
+ "data": {
1649
+ "application/vnd.jupyter.widget-view+json": {
1650
+ "model_id": "9c7ad6eb03fc4c76847a1137ec30e5b6",
1651
+ "version_major": 2,
1652
+ "version_minor": 0
1653
+ },
1654
+ "text/plain": [
1655
+ "Downloading data: 0%| | 0.00/3.47M [00:00<?, ?B/s]"
1656
+ ]
1657
+ },
1658
+ "metadata": {},
1659
+ "output_type": "display_data"
1660
+ },
1661
+ {
1662
+ "data": {
1663
+ "application/vnd.jupyter.widget-view+json": {
1664
+ "model_id": "559d6cc95ace4524a62c21a48de45142",
1665
+ "version_major": 2,
1666
+ "version_minor": 0
1667
+ },
1668
+ "text/plain": [
1669
+ "Downloading data: 0%| | 0.00/456k [00:00<?, ?B/s]"
1670
+ ]
1671
+ },
1672
+ "metadata": {},
1673
+ "output_type": "display_data"
1674
+ },
1675
+ {
1676
+ "data": {
1677
+ "application/vnd.jupyter.widget-view+json": {
1678
+ "model_id": "829c639cbf4246079f893907e801f332",
1679
+ "version_major": 2,
1680
+ "version_minor": 0
1681
+ },
1682
+ "text/plain": [
1683
+ "Downloading data: 0%| | 0.00/469k [00:00<?, ?B/s]"
1684
+ ]
1685
+ },
1686
+ "metadata": {},
1687
+ "output_type": "display_data"
1688
+ },
1689
+ {
1690
+ "data": {
1691
+ "application/vnd.jupyter.widget-view+json": {
1692
+ "model_id": "63b7b5bcbf224fc4a0cd2e094326f7ff",
1693
+ "version_major": 2,
1694
+ "version_minor": 0
1695
+ },
1696
+ "text/plain": [
1697
+ "Generating train split: 0%| | 0/23993 [00:00<?, ? examples/s]"
1698
+ ]
1699
+ },
1700
+ "metadata": {},
1701
+ "output_type": "display_data"
1702
+ },
1703
+ {
1704
+ "data": {
1705
+ "application/vnd.jupyter.widget-view+json": {
1706
+ "model_id": "9639114762de45d5ad860e91f524bef9",
1707
+ "version_major": 2,
1708
+ "version_minor": 0
1709
+ },
1710
+ "text/plain": [
1711
+ "Generating val split: 0%| | 0/2999 [00:00<?, ? examples/s]"
1712
+ ]
1713
+ },
1714
+ "metadata": {},
1715
+ "output_type": "display_data"
1716
+ },
1717
+ {
1718
+ "data": {
1719
+ "application/vnd.jupyter.widget-view+json": {
1720
+ "model_id": "f65113ab0d294bfca6c17b7e6fecb9ad",
1721
+ "version_major": 2,
1722
+ "version_minor": 0
1723
+ },
1724
+ "text/plain": [
1725
+ "Generating test split: 0%| | 0/2999 [00:00<?, ? examples/s]"
1726
+ ]
1727
+ },
1728
+ "metadata": {},
1729
+ "output_type": "display_data"
1730
+ },
1731
+ {
1732
+ "data": {
1733
+ "application/vnd.jupyter.widget-view+json": {
1734
+ "model_id": "8db99cc3c1934389b5a1027147e44c88",
1735
+ "version_major": 2,
1736
+ "version_minor": 0
1737
+ },
1738
+ "text/plain": [
1739
+ "Downloading data: 0%| | 0.00/33.4M [00:00<?, ?B/s]"
1740
+ ]
1741
+ },
1742
+ "metadata": {},
1743
+ "output_type": "display_data"
1744
+ },
1745
+ {
1746
+ "data": {
1747
+ "application/vnd.jupyter.widget-view+json": {
1748
+ "model_id": "5f6163ae2aa94606a1b26a8b265f21ed",
1749
+ "version_major": 2,
1750
+ "version_minor": 0
1751
+ },
1752
+ "text/plain": [
1753
+ "Downloading data: 0%| | 0.00/5.67M [00:00<?, ?B/s]"
1754
+ ]
1755
+ },
1756
+ "metadata": {},
1757
+ "output_type": "display_data"
1758
+ },
1759
+ {
1760
+ "data": {
1761
+ "application/vnd.jupyter.widget-view+json": {
1762
+ "model_id": "d8840132377648fe950afdbc0d09825d",
1763
+ "version_major": 2,
1764
+ "version_minor": 0
1765
+ },
1766
+ "text/plain": [
1767
+ "Downloading data: 0%| | 0.00/7.01M [00:00<?, ?B/s]"
1768
+ ]
1769
+ },
1770
+ "metadata": {},
1771
+ "output_type": "display_data"
1772
+ },
1773
+ {
1774
+ "data": {
1775
+ "application/vnd.jupyter.widget-view+json": {
1776
+ "model_id": "24de07f4cdd648e2803a8ef0a4993f9c",
1777
+ "version_major": 2,
1778
+ "version_minor": 0
1779
+ },
1780
+ "text/plain": [
1781
+ "Generating train split: 0%| | 0/115496 [00:00<?, ? examples/s]"
1782
+ ]
1783
+ },
1784
+ "metadata": {},
1785
+ "output_type": "display_data"
1786
+ },
1787
+ {
1788
+ "data": {
1789
+ "application/vnd.jupyter.widget-view+json": {
1790
+ "model_id": "30bdc38f36a14b9fb556b2cf3898e8cc",
1791
+ "version_major": 2,
1792
+ "version_minor": 0
1793
+ },
1794
+ "text/plain": [
1795
+ "Generating val split: 0%| | 0/19533 [00:00<?, ? examples/s]"
1796
+ ]
1797
+ },
1798
+ "metadata": {},
1799
+ "output_type": "display_data"
1800
+ },
1801
+ {
1802
+ "data": {
1803
+ "application/vnd.jupyter.widget-view+json": {
1804
+ "model_id": "600f5ff3a7714e8c8b5f5391090a47c6",
1805
+ "version_major": 2,
1806
+ "version_minor": 0
1807
+ },
1808
+ "text/plain": [
1809
+ "Generating test split: 0%| | 0/24089 [00:00<?, ? examples/s]"
1810
+ ]
1811
+ },
1812
+ "metadata": {},
1813
+ "output_type": "display_data"
1814
+ },
1815
+ {
1816
+ "data": {
1817
+ "application/vnd.jupyter.widget-view+json": {
1818
+ "model_id": "60ac292834884159a5a5b6a6e1fdf2ec",
1819
+ "version_major": 2,
1820
+ "version_minor": 0
1821
+ },
1822
+ "text/plain": [
1823
+ "Downloading data: 0%| | 0.00/12.3M [00:00<?, ?B/s]"
1824
+ ]
1825
+ },
1826
+ "metadata": {},
1827
+ "output_type": "display_data"
1828
+ },
1829
+ {
1830
+ "data": {
1831
+ "application/vnd.jupyter.widget-view+json": {
1832
+ "model_id": "a30ec08e211b4ef0aff6ed0b2af9799e",
1833
+ "version_major": 2,
1834
+ "version_minor": 0
1835
+ },
1836
+ "text/plain": [
1837
+ "Downloading data: 0%| | 0.00/1.26M [00:00<?, ?B/s]"
1838
+ ]
1839
+ },
1840
+ "metadata": {},
1841
+ "output_type": "display_data"
1842
+ },
1843
+ {
1844
+ "data": {
1845
+ "application/vnd.jupyter.widget-view+json": {
1846
+ "model_id": "0b7dc51d350a4b1ea3a91e4ea55ef98a",
1847
+ "version_major": 2,
1848
+ "version_minor": 0
1849
+ },
1850
+ "text/plain": [
1851
+ "Downloading data: 0%| | 0.00/444k [00:00<?, ?B/s]"
1852
+ ]
1853
+ },
1854
+ "metadata": {},
1855
+ "output_type": "display_data"
1856
+ },
1857
+ {
1858
+ "data": {
1859
+ "application/vnd.jupyter.widget-view+json": {
1860
+ "model_id": "8c6d64935433435cbc6d8f24721fd703",
1861
+ "version_major": 2,
1862
+ "version_minor": 0
1863
+ },
1864
+ "text/plain": [
1865
+ "Generating train split: 0%| | 0/65920 [00:00<?, ? examples/s]"
1866
+ ]
1867
+ },
1868
+ "metadata": {},
1869
+ "output_type": "display_data"
1870
+ },
1871
+ {
1872
+ "data": {
1873
+ "application/vnd.jupyter.widget-view+json": {
1874
+ "model_id": "87e2df82592b4cca859d3149db20b8a2",
1875
+ "version_major": 2,
1876
+ "version_minor": 0
1877
+ },
1878
+ "text/plain": [
1879
+ "Generating val split: 0%| | 0/6692 [00:00<?, ? examples/s]"
1880
+ ]
1881
+ },
1882
+ "metadata": {},
1883
+ "output_type": "display_data"
1884
+ },
1885
+ {
1886
+ "data": {
1887
+ "application/vnd.jupyter.widget-view+json": {
1888
+ "model_id": "76e01af8498a4a16b38a2b51d3989447",
1889
+ "version_major": 2,
1890
+ "version_minor": 0
1891
+ },
1892
+ "text/plain": [
1893
+ "Generating test split: 0%| | 0/2442 [00:00<?, ? examples/s]"
1894
+ ]
1895
+ },
1896
+ "metadata": {},
1897
+ "output_type": "display_data"
1898
+ },
1899
+ {
1900
+ "data": {
1901
+ "application/vnd.jupyter.widget-view+json": {
1902
+ "model_id": "64f1bf9b054c4c4fa26fa52349655b22",
1903
+ "version_major": 2,
1904
+ "version_minor": 0
1905
+ },
1906
+ "text/plain": [
1907
+ "Downloading data: 0%| | 0.00/3.32M [00:00<?, ?B/s]"
1908
+ ]
1909
+ },
1910
+ "metadata": {},
1911
+ "output_type": "display_data"
1912
+ },
1913
+ {
1914
+ "data": {
1915
+ "application/vnd.jupyter.widget-view+json": {
1916
+ "model_id": "658fcfb491c442c7ac723458614fad9b",
1917
+ "version_major": 2,
1918
+ "version_minor": 0
1919
+ },
1920
+ "text/plain": [
1921
+ "Downloading data: 0%| | 0.00/441k [00:00<?, ?B/s]"
1922
+ ]
1923
+ },
1924
+ "metadata": {},
1925
+ "output_type": "display_data"
1926
+ },
1927
+ {
1928
+ "data": {
1929
+ "application/vnd.jupyter.widget-view+json": {
1930
+ "model_id": "9de40a88e47749a59aad2f31c8aab6dc",
1931
+ "version_major": 2,
1932
+ "version_minor": 0
1933
+ },
1934
+ "text/plain": [
1935
+ "Downloading data: 0%| | 0.00/453k [00:00<?, ?B/s]"
1936
+ ]
1937
+ },
1938
+ "metadata": {},
1939
+ "output_type": "display_data"
1940
+ },
1941
+ {
1942
+ "data": {
1943
+ "application/vnd.jupyter.widget-view+json": {
1944
+ "model_id": "1ec6e4f1d6ca4cadb300349a6e19da71",
1945
+ "version_major": 2,
1946
+ "version_minor": 0
1947
+ },
1948
+ "text/plain": [
1949
+ "Generating train split: 0%| | 0/23991 [00:00<?, ? examples/s]"
1950
+ ]
1951
+ },
1952
+ "metadata": {},
1953
+ "output_type": "display_data"
1954
+ },
1955
+ {
1956
+ "data": {
1957
+ "application/vnd.jupyter.widget-view+json": {
1958
+ "model_id": "d790f95ef00a417dbf17512ee428d1c6",
1959
+ "version_major": 2,
1960
+ "version_minor": 0
1961
+ },
1962
+ "text/plain": [
1963
+ "Generating val split: 0%| | 0/3000 [00:00<?, ? examples/s]"
1964
+ ]
1965
+ },
1966
+ "metadata": {},
1967
+ "output_type": "display_data"
1968
+ },
1969
+ {
1970
+ "data": {
1971
+ "application/vnd.jupyter.widget-view+json": {
1972
+ "model_id": "2f377b6b3a25487785fd35f8cdea4900",
1973
+ "version_major": 2,
1974
+ "version_minor": 0
1975
+ },
1976
+ "text/plain": [
1977
+ "Generating test split: 0%| | 0/3000 [00:00<?, ? examples/s]"
1978
+ ]
1979
+ },
1980
+ "metadata": {},
1981
+ "output_type": "display_data"
1982
+ },
1983
+ {
1984
+ "data": {
1985
+ "application/vnd.jupyter.widget-view+json": {
1986
+ "model_id": "b5f571666e2e447c8146151e6b1089e9",
1987
+ "version_major": 2,
1988
+ "version_minor": 0
1989
+ },
1990
+ "text/plain": [
1991
+ "Downloading data: 0%| | 0.00/32.4M [00:00<?, ?B/s]"
1992
+ ]
1993
+ },
1994
+ "metadata": {},
1995
+ "output_type": "display_data"
1996
+ },
1997
+ {
1998
+ "data": {
1999
+ "application/vnd.jupyter.widget-view+json": {
2000
+ "model_id": "abf6447370b340b09cf063abcc3d241a",
2001
+ "version_major": 2,
2002
+ "version_minor": 0
2003
+ },
2004
+ "text/plain": [
2005
+ "Downloading data: 0%| | 0.00/5.52M [00:00<?, ?B/s]"
2006
+ ]
2007
+ },
2008
+ "metadata": {},
2009
+ "output_type": "display_data"
2010
+ },
2011
+ {
2012
+ "data": {
2013
+ "application/vnd.jupyter.widget-view+json": {
2014
+ "model_id": "17165a1859f24bcb9e0e44dabac60b4d",
2015
+ "version_major": 2,
2016
+ "version_minor": 0
2017
+ },
2018
+ "text/plain": [
2019
+ "Downloading data: 0%| | 0.00/6.82M [00:00<?, ?B/s]"
2020
+ ]
2021
+ },
2022
+ "metadata": {},
2023
+ "output_type": "display_data"
2024
+ },
2025
+ {
2026
+ "data": {
2027
+ "application/vnd.jupyter.widget-view+json": {
2028
+ "model_id": "70bdd4dd77d446399c8da752cc93667d",
2029
+ "version_major": 2,
2030
+ "version_minor": 0
2031
+ },
2032
+ "text/plain": [
2033
+ "Generating train split: 0%| | 0/115375 [00:00<?, ? examples/s]"
2034
+ ]
2035
+ },
2036
+ "metadata": {},
2037
+ "output_type": "display_data"
2038
+ },
2039
+ {
2040
+ "data": {
2041
+ "application/vnd.jupyter.widget-view+json": {
2042
+ "model_id": "4d06625d7aba4fe695fcb25689b3254d",
2043
+ "version_major": 2,
2044
+ "version_minor": 0
2045
+ },
2046
+ "text/plain": [
2047
+ "Generating val split: 0%| | 0/19544 [00:00<?, ? examples/s]"
2048
+ ]
2049
+ },
2050
+ "metadata": {},
2051
+ "output_type": "display_data"
2052
+ },
2053
+ {
2054
+ "data": {
2055
+ "application/vnd.jupyter.widget-view+json": {
2056
+ "model_id": "66d31a7060014dfe85e9e0865d9e6529",
2057
+ "version_major": 2,
2058
+ "version_minor": 0
2059
+ },
2060
+ "text/plain": [
2061
+ "Generating test split: 0%| | 0/24083 [00:00<?, ? examples/s]"
2062
+ ]
2063
+ },
2064
+ "metadata": {},
2065
+ "output_type": "display_data"
2066
+ }
2067
+ ],
2068
+ "source": [
2069
+ "from datasets import load_dataset, concatenate_datasets, DatasetDict\n",
2070
+ "import os\n",
2071
+ "\n",
2072
+ "\n",
2073
+ "lst = ['ar', 'de', 'en', 'es', 'fr', 'ja', 'pt', 'zh']\n",
2074
+ "\n",
2075
+ "lst_train_ds = []\n",
2076
+ "lst_test_ds = []\n",
2077
+ "lst_val_ds = []\n",
2078
+ "\n",
2079
+ "for i in lst:\n",
2080
+ "\tds = load_dataset(\"dstc12/bot_adversarial_dialogue\", i)\n",
2081
+ "\tds2 = load_dataset(\"dstc12/dialogue_safety\", i)\n",
2082
+ "\tds3 = load_dataset(\"dstc12/ProsocialDialog\", i)\n",
2083
+ "\tif i == 'pt':\n",
2084
+ "\t\tds['train'] = concatenate_datasets([ds2['train'], ds3['train']]) # Remove pt training bot_adversarial_dialogue\n",
2085
+ "\telse:\n",
2086
+ "\t\tds['train'] = concatenate_datasets([ds['train'], ds2['train'], ds3['train']])\n",
2087
+ "\tds['test'] = concatenate_datasets([ds['test'], ds2['test'], ds3['test']])\n",
2088
+ "\tds['val'] = concatenate_datasets([ds['val'], ds2['val'], ds3['val']])\n",
2089
+ "\tlst_train_ds.append(ds['train'])\n",
2090
+ "\tlst_test_ds.append(ds['test'])\n",
2091
+ "\tlst_val_ds.append(ds['val'])\n",
2092
+ "\n",
2093
+ "concated_train_ds = concatenate_datasets(lst_train_ds)\n",
2094
+ "concated_test_ds = concatenate_datasets(lst_test_ds)\n",
2095
+ "concated_val_ds = concatenate_datasets(lst_val_ds)"
2096
+ ]
2097
+ },
2098
+ {
2099
+ "cell_type": "code",
2100
+ "execution_count": 2,
2101
+ "id": "576bced2-76db-41fa-8775-ca0d57eaf1e2",
2102
+ "metadata": {},
2103
+ "outputs": [],
2104
+ "source": [
2105
+ "final_ds = DatasetDict({\n",
2106
+ " 'train': concated_train_ds,\n",
2107
+ " 'test': concated_test_ds,\n",
2108
+ " 'val': concated_val_ds\n",
2109
+ "})"
2110
+ ]
2111
+ },
2112
+ {
2113
+ "cell_type": "code",
2114
+ "execution_count": 3,
2115
+ "id": "7b6e0708-e02a-4a8c-bbfa-4db3984f787e",
2116
+ "metadata": {},
2117
+ "outputs": [
2118
+ {
2119
+ "data": {
2120
+ "text/plain": [
2121
+ "DatasetDict({\n",
2122
+ " train: Dataset({\n",
2123
+ " features: ['context', 'response', 'safety_label', 'metadata'],\n",
2124
+ " num_rows: 1191130\n",
2125
+ " })\n",
2126
+ " test: Dataset({\n",
2127
+ " features: ['context', 'response', 'safety_label', 'metadata'],\n",
2128
+ " num_rows: 236048\n",
2129
+ " })\n",
2130
+ " val: Dataset({\n",
2131
+ " features: ['context', 'response', 'safety_label', 'metadata'],\n",
2132
+ " num_rows: 233176\n",
2133
+ " })\n",
2134
+ "})"
2135
+ ]
2136
+ },
2137
+ "execution_count": 3,
2138
+ "metadata": {},
2139
+ "output_type": "execute_result"
2140
+ }
2141
+ ],
2142
+ "source": [
2143
+ "final_ds"
2144
+ ]
2145
+ },
2146
+ {
2147
+ "cell_type": "code",
2148
+ "execution_count": 4,
2149
+ "id": "3bf964cc-0509-4377-a51c-a99445982535",
2150
+ "metadata": {},
2151
+ "outputs": [
2152
+ {
2153
+ "data": {
2154
+ "application/vnd.jupyter.widget-view+json": {
2155
+ "model_id": "e6c0b5368db14474ac7adf7a47f63c1c",
2156
+ "version_major": 2,
2157
+ "version_minor": 0
2158
+ },
2159
+ "text/plain": [
2160
+ "Map (num_proc=64): 0%| | 0/1191130 [00:00<?, ? examples/s]"
2161
+ ]
2162
+ },
2163
+ "metadata": {},
2164
+ "output_type": "display_data"
2165
+ },
2166
+ {
2167
+ "data": {
2168
+ "application/vnd.jupyter.widget-view+json": {
2169
+ "model_id": "b1776d8d23ff421da84fd82859d8a77e",
2170
+ "version_major": 2,
2171
+ "version_minor": 0
2172
+ },
2173
+ "text/plain": [
2174
+ "Map (num_proc=64): 0%| | 0/236048 [00:00<?, ? examples/s]"
2175
+ ]
2176
+ },
2177
+ "metadata": {},
2178
+ "output_type": "display_data"
2179
+ },
2180
+ {
2181
+ "data": {
2182
+ "application/vnd.jupyter.widget-view+json": {
2183
+ "model_id": "76cf712010134411898a0858a18012fa",
2184
+ "version_major": 2,
2185
+ "version_minor": 0
2186
+ },
2187
+ "text/plain": [
2188
+ "Map (num_proc=64): 0%| | 0/233176 [00:00<?, ? examples/s]"
2189
+ ]
2190
+ },
2191
+ "metadata": {},
2192
+ "output_type": "display_data"
2193
+ },
2194
+ {
2195
+ "data": {
2196
+ "text/plain": [
2197
+ "DatasetDict({\n",
2198
+ " train: Dataset({\n",
2199
+ " features: ['context', 'response', 'safety_label', 'metadata', 'instruction', 'input', 'output', 'system', 'history'],\n",
2200
+ " num_rows: 1191130\n",
2201
+ " })\n",
2202
+ " test: Dataset({\n",
2203
+ " features: ['context', 'response', 'safety_label', 'metadata', 'instruction', 'input', 'output', 'system', 'history'],\n",
2204
+ " num_rows: 236048\n",
2205
+ " })\n",
2206
+ " val: Dataset({\n",
2207
+ " features: ['context', 'response', 'safety_label', 'metadata', 'instruction', 'input', 'output', 'system', 'history'],\n",
2208
+ " num_rows: 233176\n",
2209
+ " })\n",
2210
+ "})"
2211
+ ]
2212
+ },
2213
+ "execution_count": 4,
2214
+ "metadata": {},
2215
+ "output_type": "execute_result"
2216
+ }
2217
+ ],
2218
+ "source": [
2219
+ "def process_data(data):\n",
2220
+ "\tres = {}\n",
2221
+ "\tif len(data['context']) % 2 == 0:\n",
2222
+ "\t\tres['instruction'] = \"Check if there is unsafe content in 'user' messages in the conversation.\"\n",
2223
+ "\t\tres['input'] = data['response']\n",
2224
+ "\t\tres['output'] = 'safe' if data['safety_label'] == 0 else 'unsafe'\n",
2225
+ "\t\tres['system'] = \"\"\n",
2226
+ "\t\tres['history'] = [data['context'][i:i+2] for i in range(0, len(data['context']), 2)]\n",
2227
+ "\telse:\n",
2228
+ "\t\tres['instruction'] = \"Check if there is unsafe content in 'assistant' messages in the conversation.\"\n",
2229
+ "\t\tres['input'] = \"\"\n",
2230
+ "\t\tdata['context'].append(data['response'])\n",
2231
+ "\t\tres['output'] = 'safe' if data['safety_label'] == 0 else 'unsafe'\n",
2232
+ "\t\tres['system'] = \"\"\n",
2233
+ "\t\tres['history'] = [data['context'][i:i+2] for i in range(0, len(data['context']), 2)]\n",
2234
+ "\treturn res\n",
2235
+ "\n",
2236
+ "processed_ds = final_ds.map(function=process_data, num_proc=64)\n",
2237
+ "processed_ds"
2238
+ ]
2239
+ },
2240
+ {
2241
+ "cell_type": "code",
2242
+ "execution_count": 8,
2243
+ "id": "8f1cc915-7221-44c5-a7b9-7a30ac238a5c",
2244
+ "metadata": {},
2245
+ "outputs": [
2246
+ {
2247
+ "data": {
2248
+ "text/plain": [
2249
+ "{'context': ['مرحبًا، سعيد بلقائك!',\n",
2250
+ " 'وأنت أيضًا! أنا آسف لسماع عن والدك. فقدت ولدي عندما كنت صغيرًا أيضًا.'],\n",
2251
+ " 'response': 'لم أفقد والدي. كلا والدي على قيد الحياة.',\n",
2252
+ " 'safety_label': 0,\n",
2253
+ " 'metadata': \"episode_done:True\\tspeaker_to_eval:human\\tbot_persona:your persona: i've a lot of allergies.\\\\nyour persona: my dad died when i was in high school.\\n\",\n",
2254
+ " 'instruction': \"Check if there is unsafe content in 'user' messages in the conversation.\",\n",
2255
+ " 'input': 'لم أفقد والدي. كلا والدي على قيد الحياة.',\n",
2256
+ " 'output': 'safe',\n",
2257
+ " 'system': '',\n",
2258
+ " 'history': [['مرحبًا، سعيد بلقائك!',\n",
2259
+ " 'وأنت أيضًا! أنا آسف لسماع عن والدك. فقدت ولدي عندما كنت صغيرًا أيضًا.']]}"
2260
+ ]
2261
+ },
2262
+ "execution_count": 8,
2263
+ "metadata": {},
2264
+ "output_type": "execute_result"
2265
+ }
2266
+ ],
2267
+ "source": [
2268
+ "processed_ds['train'][2]"
2269
+ ]
2270
+ },
2271
+ {
2272
+ "cell_type": "code",
2273
+ "execution_count": 10,
2274
+ "id": "7bccc0aa-d6df-41b5-a321-f0967c19c4b8",
2275
+ "metadata": {},
2276
+ "outputs": [
2277
+ {
2278
+ "data": {
2279
+ "application/vnd.jupyter.widget-view+json": {
2280
+ "model_id": "2eb0f0d0ffda4fe8a386cc246db29efc",
2281
+ "version_major": 2,
2282
+ "version_minor": 0
2283
+ },
2284
+ "text/plain": [
2285
+ " 0%| | 0/233176 [00:00<?, ?it/s]"
2286
+ ]
2287
+ },
2288
+ "metadata": {},
2289
+ "output_type": "display_data"
2290
+ }
2291
+ ],
2292
+ "source": [
2293
+ "from tqdm.notebook import tqdm\n",
2294
+ "\n",
2295
+ "lst_train = []\n",
2296
+ "lst_test = []\n",
2297
+ "lst_val = []\n",
2298
+ "\n",
2299
+ "for i in tqdm(processed_ds['train']):\n",
2300
+ " lst_train.append(\n",
2301
+ " {\n",
2302
+ " \"instruction\": i['instruction'],\n",
2303
+ " \"input\": i['input'],\n",
2304
+ " \"output\": i['output'],\n",
2305
+ " \"system\": i['system'],\n",
2306
+ " \"history\": i['history']\n",
2307
+ " }\n",
2308
+ " )\n",
2309
+ "\n",
2310
+ "for i in tqdm(processed_ds['test']):\n",
2311
+ " lst_test.append(\n",
2312
+ " {\n",
2313
+ " \"instruction\": i['instruction'],\n",
2314
+ " \"input\": i['input'],\n",
2315
+ " \"output\": i['output'],\n",
2316
+ " \"system\": i['system'],\n",
2317
+ " \"history\": i['history']\n",
2318
+ " }\n",
2319
+ " )\n",
2320
+ "\n",
2321
+ "for i in tqdm(processed_ds['val']):\n",
2322
+ " lst_val.append(\n",
2323
+ " {\n",
2324
+ " \"instruction\": i['instruction'],\n",
2325
+ " \"input\": i['input'],\n",
2326
+ " \"output\": i['output'],\n",
2327
+ " \"system\": i['system'],\n",
2328
+ " \"history\": i['history']\n",
2329
+ " }\n",
2330
+ " )"
2331
+ ]
2332
+ },
2333
+ {
2334
+ "cell_type": "code",
2335
+ "execution_count": 11,
2336
+ "id": "de36eff9-6f6d-4f7d-b00b-12c57ab191ba",
2337
+ "metadata": {},
2338
+ "outputs": [
2339
+ {
2340
+ "data": {
2341
+ "text/plain": [
2342
+ "(1191130, 236048, 233176)"
2343
+ ]
2344
+ },
2345
+ "execution_count": 11,
2346
+ "metadata": {},
2347
+ "output_type": "execute_result"
2348
+ }
2349
+ ],
2350
+ "source": [
2351
+ "len(lst_train), len(lst_test), len(lst_val)"
2352
+ ]
2353
+ },
2354
+ {
2355
+ "cell_type": "code",
2356
+ "execution_count": 12,
2357
+ "id": "6e6dd601-d6b1-46ee-80a9-92ed387cc976",
2358
+ "metadata": {},
2359
+ "outputs": [],
2360
+ "source": [
2361
+ "import json\n",
2362
+ "\n",
2363
+ "def dump_json_to_file(data, filename):\n",
2364
+ " with open(filename, 'w', encoding='utf-8') as f:\n",
2365
+ " json.dump(data, f, ensure_ascii=False, indent=4)\n",
2366
+ "\n",
2367
+ "dump_json_to_file(lst_train, \"train.json\")\n",
2368
+ "dump_json_to_file(lst_test, \"test.json\")\n",
2369
+ "dump_json_to_file(lst_val, \"val.json\")\n"
2370
+ ]
2371
+ },
2372
+ {
2373
+ "cell_type": "code",
2374
+ "execution_count": 15,
2375
+ "id": "cce586ad-e315-45d9-9b6a-89a675ec680a",
2376
+ "metadata": {},
2377
+ "outputs": [],
2378
+ "source": [
2379
+ "import random\n",
2380
+ "\n",
2381
+ "random.shuffle(lst_train)\n",
2382
+ "random.shuffle(lst_test)\n",
2383
+ "random.shuffle(lst_val)\n"
2384
+ ]
2385
+ },
2386
+ {
2387
+ "cell_type": "code",
2388
+ "execution_count": 16,
2389
+ "id": "2bb17f1d-734b-4216-a8e3-c155bc1e7d9e",
2390
+ "metadata": {},
2391
+ "outputs": [],
2392
+ "source": [
2393
+ "dump_json_to_file(lst_train[:1000], \"train_sample.json\")\n",
2394
+ "dump_json_to_file(lst_test[:1000], \"test_sample.json\")\n",
2395
+ "dump_json_to_file(lst_val[:1000], \"val_sample.json\")"
2396
+ ]
2397
+ },
2398
+ {
2399
+ "cell_type": "code",
2400
+ "execution_count": null,
2401
+ "id": "ad821bb9-fb36-47ce-aea9-39a053f080ed",
2402
+ "metadata": {},
2403
+ "outputs": [
2404
+ {
2405
+ "data": {
2406
+ "application/vnd.jupyter.widget-view+json": {
2407
+ "model_id": "8b4e2c1fb8ee4cc7b8d4e76a9dacacf3",
2408
+ "version_major": 2,
2409
+ "version_minor": 0
2410
+ },
2411
+ "text/plain": [
2412
+ "train.json: 0%| | 0.00/887M [00:00<?, ?B/s]"
2413
+ ]
2414
+ },
2415
+ "metadata": {},
2416
+ "output_type": "display_data"
2417
+ }
2418
+ ],
2419
+ "source": [
2420
+ "from huggingface_hub import HfApi\n",
2421
+ "\n",
2422
+ "# Replace with your Hugging Face repo (public or private)\n",
2423
+ "repo_id = \"minhbui/test\"\n",
2424
+ "\n",
2425
+ "# File to upload\n",
2426
+ "file_path = \"train.json\" # Change this to the actual file\n",
2427
+ "\n",
2428
+ "\n",
2429
+ "# Upload the file\n",
2430
+ "api = HfApi()\n",
2431
+ "api.upload_file(\n",
2432
+ " path_or_fileobj=file_path,\n",
2433
+ " path_in_repo=\"./\"+file_path,\n",
2434
+ " repo_id=repo_id,\n",
2435
+ " repo_type=\"dataset\", # Use \"model\" if it's a model repo\n",
2436
+ ")"
2437
+ ]
2438
+ },
2439
+ {
2440
+ "cell_type": "code",
2441
+ "execution_count": null,
2442
+ "id": "d56d93e1-4c01-4057-ba1f-84bfbc37a0c9",
2443
+ "metadata": {},
2444
+ "outputs": [],
2445
+ "source": []
2446
+ }
2447
+ ],
2448
+ "metadata": {
2449
+ "kernelspec": {
2450
+ "display_name": "doan",
2451
+ "language": "python",
2452
+ "name": "doan"
2453
+ },
2454
+ "language_info": {
2455
+ "codemirror_mode": {
2456
+ "name": "ipython",
2457
+ "version": 3
2458
+ },
2459
+ "file_extension": ".py",
2460
+ "mimetype": "text/x-python",
2461
+ "name": "python",
2462
+ "nbconvert_exporter": "python",
2463
+ "pygments_lexer": "ipython3",
2464
+ "version": "3.10.16"
2465
+ }
2466
+ },
2467
+ "nbformat": 4,
2468
+ "nbformat_minor": 5
2469
+ }