graelo commited on
Commit
7a145c0
1 Parent(s): 52351d6

fix: pre-process et & ceb,ch,hr,ii,lrc,ta

Browse files
README.md CHANGED
@@ -751,10 +751,10 @@ dataset_info:
751
  dtype: string
752
  splits:
753
  - name: train
754
- num_bytes: 432954620
755
  num_examples: 194486
756
- download_size: 228131005
757
- dataset_size: 432954620
758
  - config_name: 20230601.azb
759
  features:
760
  - name: id
@@ -1167,10 +1167,10 @@ dataset_info:
1167
  dtype: string
1168
  splits:
1169
  - name: train
1170
- num_bytes: 4717690463
1171
  num_examples: 6124009
1172
- download_size: 938189255
1173
- dataset_size: 4717690463
1174
  - config_name: 20230601.ch
1175
  features:
1176
  - name: id
@@ -5583,10 +5583,10 @@ dataset_info:
5583
  dtype: string
5584
  splits:
5585
  - name: train
5586
- num_bytes: 448338371
5587
- num_examples: 200748
5588
- download_size: 279406863
5589
- dataset_size: 448338371
5590
  - config_name: 20230601.simple
5591
  features:
5592
  - name: id
@@ -5615,10 +5615,10 @@ dataset_info:
5615
  dtype: string
5616
  splits:
5617
  - name: train
5618
- num_bytes: 803137068
5619
  num_examples: 156273
5620
- download_size: 261269512
5621
- dataset_size: 803137068
5622
  ---
5623
 
5624
  # Wikipedia
@@ -5633,10 +5633,11 @@ of this dataset are:
5633
  - all available languages are preprocessed (including the largests: `en` and
5634
  `ceb`)
5635
 
5636
- | version | dump | # available languages | closed & dump | closed & no dump |
5637
- | ----- | ---- | ----- | ------ | --- |
5638
- | `1.0.0` | 20230601 | 328 | 9: ak (soon), cho, ho, ii, kj, lrc, mh, mus, ng | 4: aa, hz, kr, na |
5639
- | | 20230901 | see you in September... | | |
 
5640
 
5641
  Source: [List of Wikimedia
5642
  Languages](https://en.wikipedia.org/wiki/List_of_Wikipedias). A few (9)
@@ -5646,6 +5647,12 @@ have dumps anymore.
5646
 
5647
  ## Release Notes
5648
 
 
 
 
 
 
 
5649
  `1.0.0`
5650
 
5651
  - **chore**: File layout is now `data/{dump}/{lang}/{info.json,*.parquet}`.
 
751
  dtype: string
752
  splits:
753
  - name: train
754
+ num_bytes: 425710145
755
  num_examples: 194486
756
+ download_size: 225589717
757
+ dataset_size: 425710145
758
  - config_name: 20230601.azb
759
  features:
760
  - name: id
 
1167
  dtype: string
1168
  splits:
1169
  - name: train
1170
+ num_bytes: 4569352784
1171
  num_examples: 6124009
1172
+ download_size: 926156250
1173
+ dataset_size: 4569352784
1174
  - config_name: 20230601.ch
1175
  features:
1176
  - name: id
 
5583
  dtype: string
5584
  splits:
5585
  - name: train
5586
+ num_bytes: 438311404
5587
+ num_examples: 200747
5588
+ download_size: 275098294
5589
+ dataset_size: 438311404
5590
  - config_name: 20230601.simple
5591
  features:
5592
  - name: id
 
5615
  dtype: string
5616
  splits:
5617
  - name: train
5618
+ num_bytes: 789472198
5619
  num_examples: 156273
5620
+ download_size: 258263767
5621
+ dataset_size: 789472198
5622
  ---
5623
 
5624
  # Wikipedia
 
5633
  - all available languages are preprocessed (including the largests: `en` and
5634
  `ceb`)
5635
 
5636
+ | version | dump | # available languages | closed & dump | closed & no dump |
5637
+ | ----- | ---- | ----- | ------ | --- |
5638
+ | `1.0.0` | 20230601 | 328 | 9: ak (soon), cho, ho, ii, kj, lrc, mh, mus, ng | 4: aa, hz, kr, na |
5639
+ | `1.1.0` | 20230601 | 329 (+et ~[az,ceb,ch,hr,ii,lrc,ta]) | 9: ak (soon), cho, ho, ii, kj, lrc, mh, mus, ng | 4: aa, hz, kr, na |
5640
+ | | 20230901 | see you in September... | | |
5641
 
5642
  Source: [List of Wikimedia
5643
  Languages](https://en.wikipedia.org/wiki/List_of_Wikipedias). A few (9)
 
5647
 
5648
  ## Release Notes
5649
 
5650
+ `1.1.0`
5651
+
5652
+ - **feat**: Add missing estonian (my bad), thanks Chris Ha
5653
+ - **fix**: update category lists for az, ceb, ch, hr, ii, lrc, ta, which means
5654
+ they were all processed again.
5655
+
5656
  `1.0.0`
5657
 
5658
  - **chore**: File layout is now `data/{dump}/{lang}/{info.json,*.parquet}`.
category_aliases.py CHANGED
@@ -75,6 +75,9 @@ CATEGORY_ALIASES = {
75
  "ay": [
76
  "Categoría"
77
  ],
 
 
 
78
  "azb": [
79
  "بؤلمه"
80
  ],
@@ -158,9 +161,15 @@ CATEGORY_ALIASES = {
158
  "Категори",
159
  "Тоба"
160
  ],
 
 
 
161
  "ch": [
162
  "Katigoria"
163
  ],
 
 
 
164
  "chr": [
165
  "Category"
166
  ],
@@ -235,6 +244,9 @@ CATEGORY_ALIASES = {
235
  "eml": [
236
  "Categoria"
237
  ],
 
 
 
238
  "eo": [
239
  "Kategorio"
240
  ],
@@ -242,6 +254,9 @@ CATEGORY_ALIASES = {
242
  "CAT",
243
  "Categoría"
244
  ],
 
 
 
245
  "eu": [
246
  "Kategoria"
247
  ],
@@ -362,6 +377,14 @@ CATEGORY_ALIASES = {
362
  "hif": [
363
  "vibhag"
364
  ],
 
 
 
 
 
 
 
 
365
  "hsb": [
366
  "Kategorija"
367
  ],
@@ -390,6 +413,10 @@ CATEGORY_ALIASES = {
390
  "Ébéonọr",
391
  "Òtù"
392
  ],
 
 
 
 
393
  "ik": [
394
  "Category"
395
  ],
@@ -453,6 +480,9 @@ CATEGORY_ALIASES = {
453
  "ki": [
454
  "Category"
455
  ],
 
 
 
456
  "kk": [
457
  "Sanat",
458
  "Санат",
@@ -549,6 +579,9 @@ CATEGORY_ALIASES = {
549
  "lo": [
550
  "ໝວດ"
551
  ],
 
 
 
552
  "lt": [
553
  "Kategorija"
554
  ],
@@ -576,6 +609,9 @@ CATEGORY_ALIASES = {
576
  "Catégorie",
577
  "Sokajy"
578
  ],
 
 
 
579
  "mhr": [
580
  "Категорий",
581
  "Категория"
@@ -617,6 +653,9 @@ CATEGORY_ALIASES = {
617
  "mt": [
618
  "Kategorija"
619
  ],
 
 
 
620
  "mwl": [
621
  "Catadorie",
622
  "Categoria"
@@ -631,9 +670,6 @@ CATEGORY_ALIASES = {
631
  "رج",
632
  "رده"
633
  ],
634
- "na": [
635
- "Category"
636
- ],
637
  "nah": [
638
  "Categoría",
639
  "Neneuhcāyōtl"
@@ -656,6 +692,9 @@ CATEGORY_ALIASES = {
656
  "new": [
657
  "पुचः"
658
  ],
 
 
 
659
  "nia": [
660
  "Kategori"
661
  ],
@@ -831,6 +870,9 @@ CATEGORY_ALIASES = {
831
  "si": [
832
  "ප්‍රවර්ගය"
833
  ],
 
 
 
834
  "sk": [
835
  "Kategória"
836
  ],
@@ -891,6 +933,9 @@ CATEGORY_ALIASES = {
891
  "分类",
892
  "分類"
893
  ],
 
 
 
894
  "tay": [
895
  "zyuwaw na",
896
  "分类",
 
75
  "ay": [
76
  "Categoría"
77
  ],
78
+ "az": [
79
+ "Kateqoriya"
80
+ ],
81
  "azb": [
82
  "بؤلمه"
83
  ],
 
161
  "Категори",
162
  "Тоба"
163
  ],
164
+ "ceb": [
165
+ "Kategoriya"
166
+ ],
167
  "ch": [
168
  "Katigoria"
169
  ],
170
+ "cho": [
171
+ "Category"
172
+ ],
173
  "chr": [
174
  "Category"
175
  ],
 
244
  "eml": [
245
  "Categoria"
246
  ],
247
+ "en": [
248
+ "Category"
249
+ ],
250
  "eo": [
251
  "Kategorio"
252
  ],
 
254
  "CAT",
255
  "Categoría"
256
  ],
257
+ "et": [
258
+ "Kategooria"
259
+ ],
260
  "eu": [
261
  "Kategoria"
262
  ],
 
377
  "hif": [
378
  "vibhag"
379
  ],
380
+ "ho": [
381
+ "Category"
382
+ ],
383
+ "hr": [
384
+ "CT",
385
+ "KT",
386
+ "Kategorija"
387
+ ],
388
  "hsb": [
389
  "Kategorija"
390
  ],
 
413
  "Ébéonọr",
414
  "Òtù"
415
  ],
416
+ "ii": [
417
+ "分类",
418
+ "分類"
419
+ ],
420
  "ik": [
421
  "Category"
422
  ],
 
480
  "ki": [
481
  "Category"
482
  ],
483
+ "kj": [
484
+ "Category"
485
+ ],
486
  "kk": [
487
  "Sanat",
488
  "Санат",
 
579
  "lo": [
580
  "ໝວດ"
581
  ],
582
+ "lrc": [
583
+ "دأسە"
584
+ ],
585
  "lt": [
586
  "Kategorija"
587
  ],
 
609
  "Catégorie",
610
  "Sokajy"
611
  ],
612
+ "mh": [
613
+ "Category"
614
+ ],
615
  "mhr": [
616
  "Категорий",
617
  "Категория"
 
653
  "mt": [
654
  "Kategorija"
655
  ],
656
+ "mus": [
657
+ "Category"
658
+ ],
659
  "mwl": [
660
  "Catadorie",
661
  "Categoria"
 
670
  "رج",
671
  "رده"
672
  ],
 
 
 
673
  "nah": [
674
  "Categoría",
675
  "Neneuhcāyōtl"
 
692
  "new": [
693
  "पुचः"
694
  ],
695
+ "ng": [
696
+ "Category"
697
+ ],
698
  "nia": [
699
  "Kategori"
700
  ],
 
870
  "si": [
871
  "ප්‍රවර්ගය"
872
  ],
873
+ "simple": [
874
+ "Category"
875
+ ],
876
  "sk": [
877
  "Kategória"
878
  ],
 
933
  "分类",
934
  "分類"
935
  ],
936
+ "ta": [
937
+ "பகுப்பு"
938
+ ],
939
  "tay": [
940
  "zyuwaw na",
941
  "分类",
data/20230601/az/train-0001-of-0001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:86ddc3156ab936bc9204bda183bfdcd68c6a9cbe87d405d351b232acd296d27c
3
- size 228130963
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f2fe9387988614098262f1fa9c0faa88ff33756a68b0e8d976c3c10689d5b69
3
+ size 225589675
data/20230601/ceb/train-0001-of-0009.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cbbda319bce000b2cfe60d140ce881cc989957caffecb40872b3c3f2e5963101
3
- size 104210458
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42319fe0a7942827936f7d5c3d21e4a14701b2bd0d7544088c9f0e0e02e97ee2
3
+ size 102699092
data/20230601/ceb/train-0002-of-0009.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:63efc04f93c0a2a0189e2210dfd937bc7754dd7d90706698bea4fb6883071545
3
- size 104481757
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3f3a4aa46c120df769b553ddf69a8fb0358135c1680b977b4c566d55aa85f9c
3
+ size 103032718
data/20230601/ceb/train-0003-of-0009.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:08c92d39a616d1b30ab750d82e9bcf4477430db7e816e2019b60647cb6557e87
3
- size 104470048
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:359e9f89b2f904e587413cb7fc0e6a8ae88a6abcfcfdae871f94c1fcbf04a695
3
+ size 103176318
data/20230601/ceb/train-0004-of-0009.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bf21c191e6b871c3fe59229a96119ca8d4deb2d4cfd563f1f1a9d78cfebc8c28
3
- size 104243134
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21fc90f09bb83e476a2dae981d3453e83dd97a8347455477943b724c3d3a8d5f
3
+ size 102870517
data/20230601/ceb/train-0005-of-0009.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c4bb191ef812f542d4d403a8608db11a5bcbac017a4587fe2d1a1196b72341d5
3
- size 104023343
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4cb4b619d217792e0fe2c27640c95797a2ebaa766c7143cb95bbb666729aabd
3
+ size 102874983
data/20230601/ceb/train-0006-of-0009.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b91f43a2f12e2a904120d52a4f0086df1100be4edc61cca2944b5db4134687af
3
- size 104130658
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:107e7f387cef70dbc0dc10cc01dcb0cd02b760a1f82c9e3ac8c07cb170f0058a
3
+ size 102737377
data/20230601/ceb/train-0007-of-0009.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:68ac14430a2bfd86dc12bb16b9771c1219e59b489fb18e2bdb1605bdc782fa28
3
- size 104288099
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19aa187e2610df2f87f05c64747a286110af996d01c3d95c4db40af94d5a187a
3
+ size 102777307
data/20230601/ceb/train-0008-of-0009.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:823321566d8e7435d5557d8257b5d6b4dff0cad85311f6f25e93205783c4cfa5
3
- size 104008516
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7961bbebebef7a82a780f9473878b2d3c2f3a6585fd29fb50d348abf9d91b85
3
+ size 102802571
data/20230601/ceb/train-0009-of-0009.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c5d5db90f1f2d2d498b52ad7a339998292002f6966290ae1e1e3ad6f242a1b12
3
- size 104332960
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12e5f75b9d86f6758db6c9e6f1732862ef98efe4645b228ed26769420689e3f2
3
+ size 103185085
data/20230601/et/info.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"shards": ["train-0001-of-0002.parquet", "train-0002-of-0002.parquet"]}
data/20230601/et/train-0001-of-0002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8a9c1ee9dfcbe9aed61c79371ebb941a3ff8961c1d5ff1b150058386ccdce0b
3
+ size 130892527
data/20230601/et/train-0002-of-0002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab853d22fb19be78c76a82adeec235c2378d41cd06474e8b6cbc965ff6feff3e
3
+ size 132097159
data/20230601/hr/train-0001-of-0002.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f02bdd7ac7c9fad910f46aa8179b82f5e60dff762b18fe36dcff1833e968f271
3
- size 140310688
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:451a114f9920a91305a17adfb40e914c678b027c4c564af60aea2d855e268dd1
3
+ size 137855597
data/20230601/hr/train-0002-of-0002.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ee594831a92335b70461f2a2e0fe516cf6ce2c50009ba95377cd5a4d458e2003
3
- size 139096103
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e7ad94ca2bbe6c9a8ee92b794769559633f757f4f99d79ff2d17452e9aba17e
3
+ size 137242625
data/20230601/ta/train-0001-of-0001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c698562e0c5f91c806df7c818912daf4597a905c8ad4a179d7df7d17a8ce59b0
3
- size 261269470
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63321735f54fb87f395f81402200a966aeaa31d84e9ead30d82e65d4dad55cab
3
+ size 258263725
media_aliases.py CHANGED
@@ -120,6 +120,11 @@ MEDIA_ALIASES = {
120
  "Imagen",
121
  "Medio"
122
  ],
 
 
 
 
 
123
  "azb": [
124
  "تصویر",
125
  "رسانه",
@@ -237,6 +242,11 @@ MEDIA_ALIASES = {
237
  "Файл",
238
  "Хlум"
239
  ],
 
 
 
 
 
240
  "ch": [
241
  "Litratu"
242
  ],
@@ -331,6 +341,11 @@ MEDIA_ALIASES = {
331
  "Imagen",
332
  "Medio"
333
  ],
 
 
 
 
 
334
  "eu": [
335
  "Fitxategi",
336
  "Irudi"
@@ -495,6 +510,13 @@ MEDIA_ALIASES = {
495
  "file",
496
  "saadhan"
497
  ],
 
 
 
 
 
 
 
498
  "hsb": [
499
  "Bild",
500
  "Dataja",
@@ -532,6 +554,16 @@ MEDIA_ALIASES = {
532
  "Usòrò",
533
  "Ákwúkwó orünotu"
534
  ],
 
 
 
 
 
 
 
 
 
 
535
  "ilo": [
536
  "Midia",
537
  "Papeles"
@@ -726,6 +758,14 @@ MEDIA_ALIASES = {
726
  "ສື່ອ",
727
  "ຮູບ"
728
  ],
 
 
 
 
 
 
 
 
729
  "lt": [
730
  "Medija",
731
  "Vaizdas"
@@ -1157,6 +1197,10 @@ MEDIA_ALIASES = {
1157
  "档案",
1158
  "檔案"
1159
  ],
 
 
 
 
1160
  "tay": [
1161
  "biru' na zayzyuwaw",
1162
  "biru’ na zayzyuwaw",
 
120
  "Imagen",
121
  "Medio"
122
  ],
123
+ "az": [
124
+ "Fayl",
125
+ "Mediya",
126
+ "Şəkil"
127
+ ],
128
  "azb": [
129
  "تصویر",
130
  "رسانه",
 
242
  "Файл",
243
  "Хlум"
244
  ],
245
+ "ceb": [
246
+ "Imahen",
247
+ "Medya",
248
+ "Payl"
249
+ ],
250
  "ch": [
251
  "Litratu"
252
  ],
 
341
  "Imagen",
342
  "Medio"
343
  ],
344
+ "et": [
345
+ "Fail",
346
+ "Meedia",
347
+ "Pilt"
348
+ ],
349
  "eu": [
350
  "Fitxategi",
351
  "Irudi"
 
510
  "file",
511
  "saadhan"
512
  ],
513
+ "hr": [
514
+ "DT",
515
+ "Datoteka",
516
+ "F",
517
+ "Mediji",
518
+ "Slika"
519
+ ],
520
  "hsb": [
521
  "Bild",
522
  "Dataja",
 
554
  "Usòrò",
555
  "Ákwúkwó orünotu"
556
  ],
557
+ "ii": [
558
+ "图像",
559
+ "圖像",
560
+ "媒体",
561
+ "媒体文件",
562
+ "媒體",
563
+ "文件",
564
+ "档案",
565
+ "檔案"
566
+ ],
567
  "ilo": [
568
  "Midia",
569
  "Papeles"
 
758
  "ສື່ອ",
759
  "ຮູບ"
760
  ],
761
+ "lrc": [
762
+ "أسگ",
763
+ "تصویر",
764
+ "جانیا",
765
+ "رسانه",
766
+ "رسانه‌ای",
767
+ "ڤارئسگأر"
768
+ ],
769
  "lt": [
770
  "Medija",
771
  "Vaizdas"
 
1197
  "档案",
1198
  "檔案"
1199
  ],
1200
+ "ta": [
1201
+ "ஊடகம்",
1202
+ "படிமம்"
1203
+ ],
1204
  "tay": [
1205
  "biru' na zayzyuwaw",
1206
  "biru’ na zayzyuwaw",
wikipedia.py CHANGED
@@ -52,7 +52,7 @@ _LICENSE = (
52
 
53
  _BASE_URL_TMPL = "data/{date}/{lang}"
54
 
55
- _VERSION = datasets.Version("1.0.0", "")
56
 
57
 
58
  class WikipediaConfig(datasets.BuilderConfig):
 
52
 
53
  _BASE_URL_TMPL = "data/{date}/{lang}"
54
 
55
+ _VERSION = datasets.Version("1.1.0", "")
56
 
57
 
58
  class WikipediaConfig(datasets.BuilderConfig):