Datasets:

Modalities:
Text
Formats:
parquet
ArXiv:
License:
anrilombard commited on
Commit
08bee62
·
1 Parent(s): 7c8b8e5

Upload deduplicated MzansiText v2 (#1)

Browse files

- Upload deduplicated MzansiText v2 (3c98de24174faae68121be9bac7fd191321f960a)
- Document the deduplicated release (0197d546804843db345824906dd607a79b7a9536)

README.md ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - af
4
+ - en
5
+ - nr
6
+ - nso
7
+ - st
8
+ - ss
9
+ - tn
10
+ - ts
11
+ - ve
12
+ - xh
13
+ - zu
14
+ tags:
15
+ - pretraining
16
+ - south-african-languages
17
+ - multilingual
18
+ - mzansitext
19
+ - deduplicated
20
+ license: apache-2.0
21
+ dataset_info:
22
+ features:
23
+ - name: text
24
+ dtype: string
25
+ - name: lang
26
+ dtype: string
27
+ splits:
28
+ - name: validation
29
+ num_bytes: 50448243
30
+ num_examples: 19940
31
+ - name: test
32
+ num_bytes: 50257814
33
+ num_examples: 19784
34
+ - name: train
35
+ num_bytes: 15178461663
36
+ num_examples: 3744654
37
+ download_size: 9577076320
38
+ dataset_size: 15279167720
39
+ configs:
40
+ - config_name: default
41
+ data_files:
42
+ - split: validation
43
+ path: data/validation-*
44
+ - split: test
45
+ path: data/test-*
46
+ - split: train
47
+ path: data/train-*
48
+ ---
49
+
50
+ # MzansiText — deduplicated release
51
+
52
+ This is a conservatively deduplicated release of [MzansiText](https://huggingface.co/datasets/uctnlp/mzansi-text), a multilingual pretraining corpus for all eleven official South African languages.
53
+
54
+ Use the original release to reproduce the paper and its trained models. Use this release for new experiments where cross-source duplicate documents should be removed.
55
+
56
+ ## Dataset details
57
+
58
+ - Splits: 3,744,654 train rows, 19,940 validation rows, and 19,784 test rows
59
+ - Total: 3,784,378 rows
60
+ - `lang` values: `afr`, `eng`, `nbl`, `nso`, `sot`, `ssw`, `tsn`, `tso`, `ven`, `xho`, `zul`
61
+ - Schema: `text` (string), `lang` (string)
62
+ - All eleven languages occur in every split.
63
+
64
+ Validation and test sets are capped at approximately 2M tokens per language to prevent high-resource languages from dominating early stopping.
65
+
66
+ ## Deduplication
67
+
68
+ Deduplication is performed before deterministic splitting. Each document is normalized with Unicode NFC, whitespace is collapsed and trimmed, and exact duplicates are identified by `(lang, SHA-256(normalized text))`. The language is part of the key so identical text labelled as different languages is retained.
69
+
70
+ The process removed 197,926 duplicate rows:
71
+
72
+ | Language label | Rows removed |
73
+ |---|---:|
74
+ | `afr` | 165,623 |
75
+ | `zul` | 19,156 |
76
+ | `xho` | 12,910 |
77
+ | `tso` | 231 |
78
+ | `sot` | 3 |
79
+ | `eng` | 1 |
80
+ | `nbl` | 1 |
81
+ | `nso` | 1 |
82
+ | **Total** | **197,926** |
83
+
84
+ An audit of the combined train, validation, and test splits found no remaining duplicates under this normalization and per-language key.
85
+
86
+ ## Usage
87
+
88
+ ```python
89
+ from datasets import load_dataset
90
+
91
+ dataset = load_dataset("uctnlp/mzansi-text-deduplicated")
92
+ print(dataset)
93
+ ```
94
+
95
+ ## Reproducibility
96
+
97
+ - Original paper-reproduction dataset: [uctnlp/mzansi-text](https://huggingface.co/datasets/uctnlp/mzansi-text)
98
+ - Deduplication implementation and config: [Anri-Lombard/sallm#123](https://github.com/Anri-Lombard/sallm/pull/123)
99
+ - Paper: [arXiv:2603.20732](https://arxiv.org/abs/2603.20732)
100
+
101
+ ## Citation
102
+
103
+ ```bibtex
104
+ @misc{lombard2026mzansitextmzansilmopencorpus,
105
+ title={MzansiText and MzansiLM: An Open Corpus and Decoder-Only Language Model for South African Languages},
106
+ author={Anri Lombard and Simbarashe Mawere and Temi Aina and Ethan Wolff and Sbonelo Gumede and Elan Novick and Francois Meyer and Jan Buys},
107
+ year={2026},
108
+ eprint={2603.20732},
109
+ archivePrefix={arXiv},
110
+ primaryClass={cs.CL},
111
+ url={https://arxiv.org/abs/2603.20732},
112
+ }
113
+ ```
114
+
115
+ ## License
116
+
117
+ Apache License 2.0
data/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91a04b44d6c60317d3edf500e7c0bfbc1ffac6e9c4b696bb0994d2b11898c4a5
3
+ size 30760676
data/train-00000-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38f7f5824f533dfa69f817e65ccf5383bc548db0b9d2c0da398e8b6ff1c74bbc
3
+ size 297569300
data/train-00001-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2ea7d81e4ec24676cdf917db052d19d2f1cc6ebe9ee95842acb6911735a99ea
3
+ size 295637117
data/train-00002-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:276acda9b006eda9dd74187d220d78ba4860ad02248e6765ec1142ae1ba13ffb
3
+ size 297732085
data/train-00003-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c2ed9fc86fc5862f74993baee650d725d7b9e45fc3b04d95cd167ad79abaeb4
3
+ size 297770178
data/train-00004-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fac7d2b377186be8da8884aa3ecd9513f3bf7d51d555a7691d726008d2a0d689
3
+ size 297576253
data/train-00005-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae29d6b2368d99f420dc550c1715845decfec6c78510cb1f5bb9703fb28e815a
3
+ size 297786022
data/train-00006-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc3fe362a2b7f94c35635d99fe25e60ae4ddea86282835c98c61336a4d24ac4d
3
+ size 298006809
data/train-00007-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9c1d4405256510df916f2b31614ed2a441dc9a8a410cc8dbc727243a9259cb4
3
+ size 296322309
data/train-00008-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1222b286231d1d91e74d253d16771c2892c55c04a843690c1ccbaddbfcf9f046
3
+ size 296565475
data/train-00009-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a60c5eb264f36b82e1945e04eaf82b7b8648d1114be7ad6ab1d6457aac24b84
3
+ size 296713476
data/train-00010-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:422a4f3d654eb0781eaae9061345a8741855908494652d65b8fd6146fa94a8b9
3
+ size 296719356
data/train-00011-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a4243879d2b2d426095b390cf64eb99607b5b8f86689f5a113550bbe5eca585
3
+ size 298883554
data/train-00012-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64776d1848de666ae672a113e2091264e9b04c47fc81926740c5d05fa9b82f99
3
+ size 296805304
data/train-00013-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47e3a7562aab95e43ca8b2ca426be4bf08295ff5162749204134f41b0727e951
3
+ size 298242181
data/train-00014-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ec83de13ad94f752cc829dd0013b6bc47418522cbf2a4b00ff445a21b98cac0
3
+ size 297003254
data/train-00015-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:687973052bb157b14ff02bdfbfdea73b83207a79feb37bc69b63a6186536fff1
3
+ size 298139699
data/train-00016-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:965e515457bf4beab29a0b4a325968ebf2a72382aefc134f68f9d3d7d78cf792
3
+ size 297443729
data/train-00017-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f9e5c081fdeca814e989210c75dd264c1f78fde2139065bdd4a290f2ed5d357
3
+ size 297816634
data/train-00018-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:572a38f75620945d95378399f70a92e69d82e44c82c385d0fdd6ceaa1555ed6f
3
+ size 298418846
data/train-00019-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35ca37536759162e49bf3fe97a4cccb33426c296e007ab4334401471b8be357c
3
+ size 295279256
data/train-00020-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ff80c608b6807fa27c78cd0604aa8fa1c1f210dc22229709ba83414695bf624
3
+ size 299759619
data/train-00021-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64b0827cf52874f9c34937650d6d083e2efec732e00ea791ae5f50d2aa3b8e91
3
+ size 299424973
data/train-00022-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46d1c8c6581fb5f7de2e9a9e0e869d89c464cf60529d2d5ae5b50f1864dfc936
3
+ size 297478502
data/train-00023-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f5cc28efd087c9748b92f977439c7adebe404fb1d890f4e8dceb1ec8488fa21
3
+ size 298189970
data/train-00024-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2be52299d48f2a3c2761d31de966b73a3e61aef25773e9613747ea31614d575
3
+ size 338548651
data/train-00025-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c5a601510b39c5ae6094e3fe0703ad13796fe1058adf806cc8cae9f2b37975f
3
+ size 340070327
data/train-00026-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd433232acb274fa474f6a4d3053008398470912ca89350f92a2108507e19c07
3
+ size 340184630
data/train-00027-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:976217c2fd7b118f778febbb106fca866f1c20fde385705fee610e300f5a9638
3
+ size 339467794
data/train-00028-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77e5d021a13ff762ca9c0fcda63aed100a44a3140ec302081e7a87ab67b7a133
3
+ size 338668068
data/train-00029-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:844cda06f68bab096d34b6e8d2ac14114ea6965be69ff63688cb1576a4727233
3
+ size 340580669
data/train-00030-of-00031.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdde802fcf1f2dee3da085e6d56049c0a70f72ff1499376ac2f6af5a1c256437
3
+ size 336648859
data/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be7d117c444dd5fdd1620c1b6e377f35342aeefa5ab106eda9ebae636226caa7
3
+ size 30862745