KoddaDuck commited on
Commit
ea20f84
1 Parent(s): 4b2b901
n_shards.json DELETED
@@ -1,705 +0,0 @@
1
- {
2
- "ab": {
3
- "train": 1,
4
- "dev": 1,
5
- "test": 1,
6
- "other": 1,
7
- "invalidated": 1
8
- },
9
- "ar": {
10
- "train": 1,
11
- "dev": 1,
12
- "test": 1,
13
- "other": 1,
14
- "invalidated": 1
15
- },
16
- "as": {
17
- "train": 1,
18
- "dev": 1,
19
- "test": 1,
20
- "other": 1,
21
- "invalidated": 1
22
- },
23
- "ast": {
24
- "train": 1,
25
- "dev": 0,
26
- "test": 1,
27
- "other": 1,
28
- "invalidated": 0
29
- },
30
- "az": {
31
- "train": 1,
32
- "dev": 1,
33
- "test": 1,
34
- "other": 1,
35
- "invalidated": 1
36
- },
37
- "ba": {
38
- "train": 3,
39
- "dev": 1,
40
- "test": 1,
41
- "other": 1,
42
- "invalidated": 1
43
- },
44
- "bas": {
45
- "train": 1,
46
- "dev": 1,
47
- "test": 1,
48
- "other": 1,
49
- "invalidated": 1
50
- },
51
- "be": {
52
- "train": 9,
53
- "dev": 1,
54
- "test": 1,
55
- "other": 1,
56
- "invalidated": 1
57
- },
58
- "bg": {
59
- "train": 1,
60
- "dev": 1,
61
- "test": 1,
62
- "other": 1,
63
- "invalidated": 1
64
- },
65
- "bn": {
66
- "train": 1,
67
- "dev": 1,
68
- "test": 1,
69
- "other": 6,
70
- "invalidated": 1
71
- },
72
- "br": {
73
- "train": 1,
74
- "dev": 1,
75
- "test": 1,
76
- "other": 1,
77
- "invalidated": 1
78
- },
79
- "ca": {
80
- "train": 23,
81
- "dev": 1,
82
- "test": 1,
83
- "other": 13,
84
- "invalidated": 2
85
- },
86
- "ckb": {
87
- "train": 1,
88
- "dev": 1,
89
- "test": 1,
90
- "other": 1,
91
- "invalidated": 1
92
- },
93
- "cnh": {
94
- "train": 1,
95
- "dev": 1,
96
- "test": 1,
97
- "other": 1,
98
- "invalidated": 1
99
- },
100
- "cs": {
101
- "train": 1,
102
- "dev": 1,
103
- "test": 1,
104
- "other": 1,
105
- "invalidated": 1
106
- },
107
- "cv": {
108
- "train": 1,
109
- "dev": 1,
110
- "test": 1,
111
- "other": 1,
112
- "invalidated": 1
113
- },
114
- "cy": {
115
- "train": 1,
116
- "dev": 1,
117
- "test": 1,
118
- "other": 1,
119
- "invalidated": 1
120
- },
121
- "da": {
122
- "train": 1,
123
- "dev": 1,
124
- "test": 1,
125
- "other": 1,
126
- "invalidated": 1
127
- },
128
- "de": {
129
- "train": 12,
130
- "dev": 1,
131
- "test": 1,
132
- "other": 1,
133
- "invalidated": 2
134
- },
135
- "dv": {
136
- "train": 1,
137
- "dev": 1,
138
- "test": 1,
139
- "other": 1,
140
- "invalidated": 1
141
- },
142
- "el": {
143
- "train": 1,
144
- "dev": 1,
145
- "test": 1,
146
- "other": 1,
147
- "invalidated": 1
148
- },
149
- "en": {
150
- "train": 24,
151
- "dev": 1,
152
- "test": 1,
153
- "other": 8,
154
- "invalidated": 7
155
- },
156
- "eo": {
157
- "train": 4,
158
- "dev": 1,
159
- "test": 1,
160
- "other": 4,
161
- "invalidated": 4
162
- },
163
- "es": {
164
- "train": 6,
165
- "dev": 1,
166
- "test": 1,
167
- "other": 30,
168
- "invalidated": 2
169
- },
170
- "et": {
171
- "train": 1,
172
- "dev": 1,
173
- "test": 1,
174
- "other": 1,
175
- "invalidated": 1
176
- },
177
- "eu": {
178
- "train": 1,
179
- "dev": 1,
180
- "test": 1,
181
- "other": 1,
182
- "invalidated": 1
183
- },
184
- "fa": {
185
- "train": 1,
186
- "dev": 1,
187
- "test": 1,
188
- "other": 1,
189
- "invalidated": 1
190
- },
191
- "fi": {
192
- "train": 1,
193
- "dev": 1,
194
- "test": 1,
195
- "other": 1,
196
- "invalidated": 1
197
- },
198
- "fr": {
199
- "train": 13,
200
- "dev": 1,
201
- "test": 1,
202
- "other": 1,
203
- "invalidated": 2
204
- },
205
- "fy-NL": {
206
- "train": 1,
207
- "dev": 1,
208
- "test": 1,
209
- "other": 2,
210
- "invalidated": 1
211
- },
212
- "ga-IE": {
213
- "train": 1,
214
- "dev": 1,
215
- "test": 1,
216
- "other": 1,
217
- "invalidated": 1
218
- },
219
- "gl": {
220
- "train": 1,
221
- "dev": 1,
222
- "test": 1,
223
- "other": 1,
224
- "invalidated": 1
225
- },
226
- "gn": {
227
- "train": 1,
228
- "dev": 1,
229
- "test": 1,
230
- "other": 1,
231
- "invalidated": 1
232
- },
233
- "ha": {
234
- "train": 1,
235
- "dev": 1,
236
- "test": 1,
237
- "other": 1,
238
- "invalidated": 1
239
- },
240
- "hi": {
241
- "train": 1,
242
- "dev": 1,
243
- "test": 1,
244
- "other": 1,
245
- "invalidated": 1
246
- },
247
- "hsb": {
248
- "train": 1,
249
- "dev": 1,
250
- "test": 1,
251
- "other": 0,
252
- "invalidated": 1
253
- },
254
- "hu": {
255
- "train": 1,
256
- "dev": 1,
257
- "test": 1,
258
- "other": 1,
259
- "invalidated": 1
260
- },
261
- "hy-AM": {
262
- "train": 1,
263
- "dev": 1,
264
- "test": 1,
265
- "other": 1,
266
- "invalidated": 1
267
- },
268
- "ia": {
269
- "train": 1,
270
- "dev": 1,
271
- "test": 1,
272
- "other": 1,
273
- "invalidated": 1
274
- },
275
- "id": {
276
- "train": 1,
277
- "dev": 1,
278
- "test": 1,
279
- "other": 1,
280
- "invalidated": 1
281
- },
282
- "ig": {
283
- "train": 1,
284
- "dev": 1,
285
- "test": 1,
286
- "other": 1,
287
- "invalidated": 1
288
- },
289
- "it": {
290
- "train": 4,
291
- "dev": 1,
292
- "test": 1,
293
- "other": 1,
294
- "invalidated": 1
295
- },
296
- "ja": {
297
- "train": 1,
298
- "dev": 1,
299
- "test": 1,
300
- "other": 1,
301
- "invalidated": 1
302
- },
303
- "ka": {
304
- "train": 1,
305
- "dev": 1,
306
- "test": 1,
307
- "other": 1,
308
- "invalidated": 1
309
- },
310
- "kab": {
311
- "train": 4,
312
- "dev": 1,
313
- "test": 1,
314
- "other": 3,
315
- "invalidated": 1
316
- },
317
- "kk": {
318
- "train": 1,
319
- "dev": 1,
320
- "test": 1,
321
- "other": 0,
322
- "invalidated": 1
323
- },
324
- "kmr": {
325
- "train": 1,
326
- "dev": 1,
327
- "test": 1,
328
- "other": 1,
329
- "invalidated": 1
330
- },
331
- "ky": {
332
- "train": 1,
333
- "dev": 1,
334
- "test": 1,
335
- "other": 1,
336
- "invalidated": 1
337
- },
338
- "lg": {
339
- "train": 2,
340
- "dev": 1,
341
- "test": 1,
342
- "other": 1,
343
- "invalidated": 1
344
- },
345
- "lt": {
346
- "train": 1,
347
- "dev": 1,
348
- "test": 1,
349
- "other": 1,
350
- "invalidated": 1
351
- },
352
- "lv": {
353
- "train": 1,
354
- "dev": 1,
355
- "test": 1,
356
- "other": 1,
357
- "invalidated": 1
358
- },
359
- "mdf": {
360
- "train": 1,
361
- "dev": 1,
362
- "test": 1,
363
- "other": 1,
364
- "invalidated": 1
365
- },
366
- "mhr": {
367
- "train": 2,
368
- "dev": 1,
369
- "test": 1,
370
- "other": 1,
371
- "invalidated": 1
372
- },
373
- "mk": {
374
- "train": 1,
375
- "dev": 0,
376
- "test": 1,
377
- "other": 1,
378
- "invalidated": 1
379
- },
380
- "ml": {
381
- "train": 1,
382
- "dev": 0,
383
- "test": 1,
384
- "other": 1,
385
- "invalidated": 1
386
- },
387
- "mn": {
388
- "train": 1,
389
- "dev": 1,
390
- "test": 1,
391
- "other": 1,
392
- "invalidated": 1
393
- },
394
- "mr": {
395
- "train": 1,
396
- "dev": 1,
397
- "test": 1,
398
- "other": 1,
399
- "invalidated": 1
400
- },
401
- "mrj": {
402
- "train": 1,
403
- "dev": 1,
404
- "test": 1,
405
- "other": 1,
406
- "invalidated": 1
407
- },
408
- "mt": {
409
- "train": 1,
410
- "dev": 1,
411
- "test": 1,
412
- "other": 1,
413
- "invalidated": 1
414
- },
415
- "myv": {
416
- "train": 1,
417
- "dev": 1,
418
- "test": 1,
419
- "other": 1,
420
- "invalidated": 1
421
- },
422
- "nan-tw": {
423
- "train": 1,
424
- "dev": 1,
425
- "test": 1,
426
- "other": 1,
427
- "invalidated": 1
428
- },
429
- "ne-NP": {
430
- "train": 1,
431
- "dev": 1,
432
- "test": 1,
433
- "other": 1,
434
- "invalidated": 1
435
- },
436
- "nl": {
437
- "train": 1,
438
- "dev": 1,
439
- "test": 1,
440
- "other": 1,
441
- "invalidated": 1
442
- },
443
- "nn-NO": {
444
- "train": 1,
445
- "dev": 1,
446
- "test": 1,
447
- "other": 0,
448
- "invalidated": 1
449
- },
450
- "or": {
451
- "train": 1,
452
- "dev": 1,
453
- "test": 1,
454
- "other": 1,
455
- "invalidated": 1
456
- },
457
- "pa-IN": {
458
- "train": 1,
459
- "dev": 1,
460
- "test": 1,
461
- "other": 1,
462
- "invalidated": 1
463
- },
464
- "pl": {
465
- "train": 1,
466
- "dev": 1,
467
- "test": 1,
468
- "other": 1,
469
- "invalidated": 1
470
- },
471
- "pt": {
472
- "train": 1,
473
- "dev": 1,
474
- "test": 1,
475
- "other": 1,
476
- "invalidated": 1
477
- },
478
- "rm-sursilv": {
479
- "train": 1,
480
- "dev": 1,
481
- "test": 1,
482
- "other": 1,
483
- "invalidated": 1
484
- },
485
- "rm-vallader": {
486
- "train": 1,
487
- "dev": 1,
488
- "test": 1,
489
- "other": 1,
490
- "invalidated": 1
491
- },
492
- "ro": {
493
- "train": 1,
494
- "dev": 1,
495
- "test": 1,
496
- "other": 1,
497
- "invalidated": 1
498
- },
499
- "ru": {
500
- "train": 1,
501
- "dev": 1,
502
- "test": 1,
503
- "other": 1,
504
- "invalidated": 1
505
- },
506
- "rw": {
507
- "train": 26,
508
- "dev": 1,
509
- "test": 1,
510
- "other": 2,
511
- "invalidated": 6
512
- },
513
- "sah": {
514
- "train": 1,
515
- "dev": 1,
516
- "test": 1,
517
- "other": 1,
518
- "invalidated": 1
519
- },
520
- "sat": {
521
- "train": 1,
522
- "dev": 0,
523
- "test": 1,
524
- "other": 1,
525
- "invalidated": 1
526
- },
527
- "sc": {
528
- "train": 1,
529
- "dev": 1,
530
- "test": 1,
531
- "other": 1,
532
- "invalidated": 1
533
- },
534
- "sk": {
535
- "train": 1,
536
- "dev": 1,
537
- "test": 1,
538
- "other": 1,
539
- "invalidated": 1
540
- },
541
- "skr": {
542
- "train": 1,
543
- "dev": 1,
544
- "test": 1,
545
- "other": 1,
546
- "invalidated": 1
547
- },
548
- "sl": {
549
- "train": 1,
550
- "dev": 1,
551
- "test": 1,
552
- "other": 1,
553
- "invalidated": 1
554
- },
555
- "sr": {
556
- "train": 1,
557
- "dev": 1,
558
- "test": 1,
559
- "other": 1,
560
- "invalidated": 1
561
- },
562
- "sv-SE": {
563
- "train": 1,
564
- "dev": 1,
565
- "test": 1,
566
- "other": 1,
567
- "invalidated": 1
568
- },
569
- "sw": {
570
- "train": 1,
571
- "dev": 1,
572
- "test": 1,
573
- "other": 7,
574
- "invalidated": 2
575
- },
576
- "ta": {
577
- "train": 2,
578
- "dev": 1,
579
- "test": 1,
580
- "other": 3,
581
- "invalidated": 1
582
- },
583
- "th": {
584
- "train": 1,
585
- "dev": 1,
586
- "test": 1,
587
- "other": 5,
588
- "invalidated": 1
589
- },
590
- "ti": {
591
- "train": 1,
592
- "dev": 0,
593
- "test": 1,
594
- "other": 1,
595
- "invalidated": 0
596
- },
597
- "tig": {
598
- "train": 1,
599
- "dev": 0,
600
- "test": 1,
601
- "other": 0,
602
- "invalidated": 1
603
- },
604
- "tok": {
605
- "train": 1,
606
- "dev": 1,
607
- "test": 1,
608
- "other": 1,
609
- "invalidated": 1
610
- },
611
- "tr": {
612
- "train": 1,
613
- "dev": 1,
614
- "test": 1,
615
- "other": 1,
616
- "invalidated": 1
617
- },
618
- "tt": {
619
- "train": 1,
620
- "dev": 1,
621
- "test": 1,
622
- "other": 1,
623
- "invalidated": 1
624
- },
625
- "tw": {
626
- "train": 1,
627
- "dev": 0,
628
- "test": 0,
629
- "other": 0,
630
- "invalidated": 0
631
- },
632
- "ug": {
633
- "train": 1,
634
- "dev": 1,
635
- "test": 1,
636
- "other": 1,
637
- "invalidated": 1
638
- },
639
- "uk": {
640
- "train": 1,
641
- "dev": 1,
642
- "test": 1,
643
- "other": 1,
644
- "invalidated": 1
645
- },
646
- "ur": {
647
- "train": 1,
648
- "dev": 1,
649
- "test": 1,
650
- "other": 3,
651
- "invalidated": 1
652
- },
653
- "uz": {
654
- "train": 2,
655
- "dev": 1,
656
- "test": 1,
657
- "other": 4,
658
- "invalidated": 1
659
- },
660
- "vi": {
661
- "train": 1,
662
- "dev": 1,
663
- "test": 1,
664
- "other": 1,
665
- "invalidated": 1
666
- },
667
- "vot": {
668
- "train": 1,
669
- "dev": 0,
670
- "test": 1,
671
- "other": 0,
672
- "invalidated": 1
673
- },
674
- "zh": {
675
- "test":1
676
- }
677
- "yue": {
678
- "train": 1,
679
- "dev": 1,
680
- "test": 1,
681
- "other": 1,
682
- "invalidated": 1
683
- },
684
- "zh-CN": {
685
- "train": 1,
686
- "dev": 1,
687
- "test": 1,
688
- "other": 18,
689
- "invalidated": 1
690
- },
691
- "zh-HK": {
692
- "train": 1,
693
- "dev": 1,
694
- "test": 1,
695
- "other": 1,
696
- "invalidated": 1
697
- },
698
- "zh-TW": {
699
- "train": 1,
700
- "dev": 1,
701
- "test": 1,
702
- "other": 2,
703
- "invalidated": 1
704
- }
705
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
audio/zh_CN/test/zh_CN_test_0.tar ADDED
Binary file (10.2 kB). View file
 
audio/zh_CN/test/{990.wav → zh_CN_test_0/common_voice_zh_CN_0.wav} RENAMED
File without changes
audio/zh_CN/train/zh_CN_train_0.tar ADDED
Binary file (10.2 kB). View file
 
audio/zh_CN/train/zh_CN_train_0/common_voice_zh_CN_0.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a32969260577e872ed9a32af37d7935db873dbef0b2d344a51252ce73fb53165
3
+ size 3975136
common_voice_11_0.py CHANGED
@@ -43,7 +43,7 @@ _HOMEPAGE = "https://commonvoice.mozilla.org/en/datasets"
43
  _LICENSE = "https://creativecommons.org/publicdomain/zero/1.0/"
44
 
45
  # TODO: change "streaming" to "main" after merge!
46
- _BASE_URL = "https://huggingface.co/datasets/mozilla-foundation/common_voice_11_0/resolve/main/"
47
 
48
  _AUDIO_URL = _BASE_URL + "audio/{lang}/{split}/{lang}_{split}_{shard_idx}.tar"
49
 
@@ -137,7 +137,7 @@ class CommonVoice(datasets.GeneratorBasedBuilder):
137
  n_shards = json.load(f)
138
 
139
  audio_urls = {}
140
- splits = ("train", "dev", "test", "other", "invalidated")
141
  for split in splits:
142
  audio_urls[split] = [
143
  _AUDIO_URL.format(lang=lang, split=split, shard_idx=i) for i in range(n_shards[lang][split])
@@ -151,7 +151,6 @@ class CommonVoice(datasets.GeneratorBasedBuilder):
151
  split_generators = []
152
  split_names = {
153
  "train": datasets.Split.TRAIN,
154
- "dev": datasets.Split.VALIDATION,
155
  "test": datasets.Split.TEST,
156
  }
157
  for split in splits:
@@ -174,8 +173,8 @@ class CommonVoice(datasets.GeneratorBasedBuilder):
174
  with open(meta_path, encoding="utf-8") as f:
175
  reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
176
  for row in tqdm(reader, desc="Reading metadata..."):
177
- if not row["path"].endswith(".mp3"):
178
- row["path"] += ".mp3"
179
  # accent -> accents in CV 8.0
180
  if "accents" in row:
181
  row["accent"] = row["accents"]
 
43
  _LICENSE = "https://creativecommons.org/publicdomain/zero/1.0/"
44
 
45
  # TODO: change "streaming" to "main" after merge!
46
+ _BASE_URL = "https://huggingface.co/datasets/KoddaDuck/Cylonix_ASR_dataset/blob/update/"
47
 
48
  _AUDIO_URL = _BASE_URL + "audio/{lang}/{split}/{lang}_{split}_{shard_idx}.tar"
49
 
 
137
  n_shards = json.load(f)
138
 
139
  audio_urls = {}
140
+ splits = ("train", "test")
141
  for split in splits:
142
  audio_urls[split] = [
143
  _AUDIO_URL.format(lang=lang, split=split, shard_idx=i) for i in range(n_shards[lang][split])
 
151
  split_generators = []
152
  split_names = {
153
  "train": datasets.Split.TRAIN,
 
154
  "test": datasets.Split.TEST,
155
  }
156
  for split in splits:
 
173
  with open(meta_path, encoding="utf-8") as f:
174
  reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
175
  for row in tqdm(reader, desc="Reading metadata..."):
176
+ if not row["path"].endswith(".wav"):
177
+ row["path"] += ".wav"
178
  # accent -> accents in CV 8.0
179
  if "accents" in row:
180
  row["accent"] = row["accents"]
count_n_shards.py CHANGED
@@ -2,7 +2,7 @@ from pathlib import Path
2
  import json
3
 
4
 
5
- splits = ["train", "dev", "test", "other", "invalidated"]
6
 
7
  if __name__ == "__main__":
8
  n_files = {}
@@ -19,4 +19,4 @@ if __name__ == "__main__":
19
  n_files[lang][split] = n_files_per_split
20
 
21
  with open("n_shards.json", "w") as f:
22
- json.dump(dict(sorted(n_files.items(), key=lambda x: x[0])), f, ensure_ascii=False, indent=4)
 
2
  import json
3
 
4
 
5
+ splits = ["train", "test"]
6
 
7
  if __name__ == "__main__":
8
  n_files = {}
 
19
  n_files[lang][split] = n_files_per_split
20
 
21
  with open("n_shards.json", "w") as f:
22
+ json.dump(dict(sorted(n_files.items(), key=lambda x: x[0])), f, ensure_ascii=False, indent=4)
language.py DELETED
@@ -1 +0,0 @@
1
- LANGUAGES = {'ab': 'Abkhaz', 'ace': 'Acehnese', 'ady': 'Adyghe', 'af': 'Afrikaans', 'am': 'Amharic', 'an': 'Aragonese', 'ar': 'Arabic', 'arn': 'Mapudungun', 'as': 'Assamese', 'ast': 'Asturian', 'az': 'Azerbaijani', 'ba': 'Bashkir', 'bas': 'Basaa', 'be': 'Belarusian', 'bg': 'Bulgarian', 'bn': 'Bengali', 'br': 'Breton', 'bs': 'Bosnian', 'bxr': 'Buryat', 'ca': 'Catalan', 'cak': 'Kaqchikel', 'ckb': 'Central Kurdish', 'cnh': 'Hakha Chin', 'co': 'Corsican', 'cs': 'Czech', 'cv': 'Chuvash', 'cy': 'Welsh', 'da': 'Danish', 'de': 'German', 'dsb': 'Sorbian, Lower', 'dv': 'Dhivehi', 'dyu': 'Dioula', 'el': 'Greek', 'en': 'English', 'eo': 'Esperanto', 'es': 'Spanish', 'et': 'Estonian', 'eu': 'Basque', 'fa': 'Persian', 'ff': 'Fulah', 'fi': 'Finnish', 'fo': 'Faroese', 'fr': 'French', 'fy-NL': 'Frisian', 'ga-IE': 'Irish', 'gl': 'Galician', 'gn': 'Guarani', 'gom': 'Goan Konkani', 'ha': 'Hausa', 'he': 'Hebrew', 'hi': 'Hindi', 'hil': 'Hiligaynon', 'hr': 'Croatian', 'hsb': 'Sorbian, Upper', 'ht': 'Haitian', 'hu': 'Hungarian', 'hy-AM': 'Armenian', 'hyw': 'Armenian Western', 'ia': 'Interlingua', 'id': 'Indonesian', 'ie': 'Interlingue', 'ig': 'Igbo', 'is': 'Icelandic', 'it': 'Italian', 'izh': 'Izhorian', 'ja': 'Japanese', 'jbo': 'Lojban', 'ka': 'Georgian', 'kaa': 'Karakalpak', 'kab': 'Kabyle', 'kbd': 'Kabardian', 'ki': 'Kikuyu', 'kk': 'Kazakh', 'km': 'Khmer', 'kmr': 'Kurmanji Kurdish', 'kn': 'Kannada', 'knn': 'Konkani (Devanagari)', 'ko': 'Korean', 'kpv': 'Komi-Zyrian', 'kw': 'Cornish', 'ky': 'Kyrgyz', 'lb': 'Luxembourgish', 'lg': 'Luganda', 'lij': 'Ligurian', 'ln': 'Lingala', 'lo': 'Lao', 'lt': 'Lithuanian', 'lv': 'Latvian', 'mai': 'Maithili', 'mdf': 'Moksha', 'mg': 'Malagasy', 'mhr': 'Meadow Mari', 'mk': 'Macedonian', 'ml': 'Malayalam', 'mn': 'Mongolian', 'mni': 'Meetei Lon', 'mos': 'Mossi', 'mr': 'Marathi', 'mrj': 'Hill Mari', 'ms': 'Malay', 'mt': 'Maltese', 'my': 'Burmese', 'myv': 'Erzya', 'nan-tw': 'Taiwanese (Minnan)', 'nb-NO': 'Norwegian Bokmål', 'nd': 'IsiNdebele (North)', 'ne-NP': 'Nepali', 'nia': 'Nias', 'nl': 'Dutch', 'nn-NO': 'Norwegian Nynorsk', 'nr': 'IsiNdebele (South)', 'nso': 'Northern Sotho', 'nyn': 'Runyankole', 'oc': 'Occitan', 'om': 'Afaan Ormoo', 'or': 'Odia', 'pa-IN': 'Punjabi', 'pap-AW': 'Papiamento (Aruba)', 'pl': 'Polish', 'ps': 'Pashto', 'pt': 'Portuguese', 'quc': "K'iche'", 'quy': 'Quechua Chanka', 'rm-sursilv': 'Romansh Sursilvan', 'rm-vallader': 'Romansh Vallader', 'ro': 'Romanian', 'ru': 'Russian', 'rw': 'Kinyarwanda', 'sah': 'Sakha', 'sat': 'Santali (Ol Chiki)', 'sc': 'Sardinian', 'scn': 'Sicilian', 'sdh': 'Southern Kurdish', 'shi': 'Shilha', 'si': 'Sinhala', 'sk': 'Slovak', 'skr': 'Saraiki', 'sl': 'Slovenian', 'snk': 'Soninke', 'so': 'Somali', 'sq': 'Albanian', 'sr': 'Serbian', 'ss': 'Siswati', 'st': 'Southern Sotho', 'sv-SE': 'Swedish', 'sw': 'Swahili', 'syr': 'Syriac', 'ta': 'Tamil', 'te': 'Telugu', 'tg': 'Tajik', 'th': 'Thai', 'ti': 'Tigrinya', 'tig': 'Tigre', 'tk': 'Turkmen', 'tl': 'Tagalog', 'tn': 'Setswana', 'tok': 'Toki Pona', 'tr': 'Turkish', 'ts': 'Xitsonga', 'tt': 'Tatar', 'tw': 'Twi', 'ty': 'Tahitian', 'uby': 'Ubykh', 'udm': 'Udmurt', 'ug': 'Uyghur', 'uk': 'Ukrainian', 'ur': 'Urdu', 'uz': 'Uzbek', 've': 'Tshivenda', 'vec': 'Venetian', 'vi': 'Vietnamese', 'vot': 'Votic', 'xh': 'Xhosa', 'yi': 'Yiddish', 'yo': 'Yoruba', 'yue': 'Cantonese', 'zgh': 'Tamazight', 'zh-CN': 'Chinese (China)', 'zh-HK': 'Chinese (Hong Kong)', 'zh-TW': 'Chinese (Taiwan)', 'zu': 'Zulu'}
 
 
languages.py ADDED
@@ -0,0 +1 @@
 
 
1
+ LANGUAGES = {'zh': 'zh-ZN'}
n_shards.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "zh_CN": {
3
+ "train": 1,
4
+ "test": 1
5
+ }
6
+ }
release_stats.py → release_stats.py RENAMED
File without changes
transcript/zh-CN/train.tsv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ client_id path sentence up_votes down_votes age gender accents locale segment
2
+ 9 990.wav 但是我那个docker也是这个本地网络呀,你的docker向外出去,你的目的网络他不是你的本地网络,向外出去比如说你到谷歌啊,你到github,这个目的地,我说的网络是指目的网络,嗯,那Keven我这块给Rose我就说我编译过了然后在无网关模式下编译过了,对,你告诉他用无网关模式吧,其实,嗯,其实像你们远程机器都应该要用无网光模式,会,就是说,特别是Rose,访问这台机器的话,他用无网关模式,rose那台机器应该有Cylonix,没有,pc26没有Cylonix zh-CN