Maxyelow commited on
Commit
623a843
·
verified ·
1 Parent(s): a061031

Upload kenyan-code-switch-1m release with full metadata and dataset card

Browse files
Files changed (1) hide show
  1. README.md +58 -58
README.md CHANGED
@@ -1,58 +1,58 @@
1
- ---
2
- language:
3
- - sw
4
- - en
5
- - swh
6
- license: apache-2.0
7
- tags:
8
- - kenya
9
- - code-switching
10
- - sheng
11
- - swahili
12
- - pretraining
13
- - 1m-corpus
14
- - language-modeling
15
- size_categories:
16
- - 1M<n<10M
17
- ---
18
-
19
- # 🇰🇪 Kenyan Code-Switching Pretraining Corpus (1,000,000 Sentences / 16.99M Words)
20
-
21
- The largest standardized, rule-audited monolingual pretraining corpus for Kenyan Code-Switching (Sheng / Technical Swahili-English Blend).
22
-
23
- ## Corpus Statistics
24
-
25
- - **Total Sentences:** 1,000,000 sentences
26
- - **Total Word Tokens:** 16,990,653 words
27
- - **Average Sentence Length:** 16.99 words (multi-clause explanatory syntax)
28
- - **Linguistic Audit Score:** 100.0000% compliance across all 20 Master Blueprint rules
29
- - **Raw Text Size:** 113.3 MB (`.txt`)
30
- - **Metadata JSONL Size:** 203.6 MB (`.jsonl`)
31
-
32
- ## Domains Represented
33
-
34
- 1. **Engineering & Infrastructure:** Structural analysis, shear stress, electrical transformers, hydraulics, concrete rebar.
35
- 2. **Finance & FinTech:** M-Pesa, SACCOs, Central Bank of Kenya inflation, collateral liquidation, loan underwriting.
36
- 3. **Tech & Software Systems:** Microservices, Redis caching, Kubernetes deployment, API gateway authentication, CI/CD pipelines.
37
- 4. **Medicine & Healthcare Sciences:** Emergency triage, acute respiratory intubation, targeted antibiotics, pathology.
38
- 5. **Politics & Constitutional Governance:** Katiba 2010 public participation, bicameral parliament, gubernatorial impeachment, fiscal policy.
39
-
40
- ## Usage
41
-
42
- ```python
43
- from datasets import load_dataset
44
-
45
- dataset = load_dataset("text", data_files={"train": "kenyan_code_switch_corpus_1m.txt"})
46
- ```
47
-
48
- ## Citation
49
-
50
- ```bibtex
51
- @dataset{kenyan_code_switch_1m_2026,
52
- title={Kenyan Code-Switching 1M Pretraining Corpus},
53
- author={Maxwell Ng'ang'a},
54
- year={2026},
55
- publisher={Hugging Face},
56
- url={https://huggingface.co/datasets/Maxyelow/kenyan-code-switch-1m}
57
- }
58
- ```
 
1
+ ---
2
+ language:
3
+ - sw
4
+ - en
5
+ - swh
6
+ license: apache-2.0
7
+ tags:
8
+ - kenya
9
+ - code-switching
10
+ - sheng
11
+ - swahili
12
+ - pretraining
13
+ - 1m-corpus
14
+ - language-modeling
15
+ size_categories:
16
+ - 1M<n<10M
17
+ ---
18
+
19
+ # 🇰🇪 Kenyan Code-Switching Pretraining Corpus (1,000,000 Sentences / 16.99M Words)
20
+
21
+ The largest standardized, rule-audited monolingual pretraining corpus for Kenyan Code-Switching (Sheng / Technical Swahili-English Blend).
22
+
23
+ ## Corpus Statistics
24
+
25
+ - **Total Sentences:** 1,000,000 sentences
26
+ - **Total Word Tokens:** 16,990,653 words
27
+ - **Average Sentence Length:** 16.99 words (multi-clause explanatory syntax)
28
+ - **Linguistic Audit Score:** 100.0000% compliance across all 20 Master Blueprint rules
29
+ - **Raw Text Size:** 113.3 MB (`.txt`)
30
+ - **Metadata JSONL Size:** 203.6 MB (`.jsonl`)
31
+
32
+ ## Domains Represented
33
+
34
+ 1. **Engineering & Infrastructure:** Structural analysis, shear stress, electrical transformers, hydraulics, concrete rebar.
35
+ 2. **Finance & FinTech:** M-Pesa, SACCOs, Central Bank of Kenya inflation, collateral liquidation, loan underwriting.
36
+ 3. **Tech & Software Systems:** Microservices, Redis caching, Kubernetes deployment, API gateway authentication, CI/CD pipelines.
37
+ 4. **Medicine & Healthcare Sciences:** Emergency triage, acute respiratory intubation, targeted antibiotics, pathology.
38
+ 5. **Politics & Constitutional Governance:** Katiba 2010 public participation, bicameral parliament, gubernatorial impeachment, fiscal policy.
39
+
40
+ ## Usage
41
+
42
+ ```python
43
+ from datasets import load_dataset
44
+
45
+ dataset = load_dataset("text", data_files={"train": "kenyan_code_switch_corpus_1m.txt"})
46
+ ```
47
+
48
+ ## Citation
49
+
50
+ ```bibtex
51
+ @dataset{kenyan_code_switch_1m_2026,
52
+ title={Kenyan Code-Switching 1M Pretraining Corpus},
53
+ author={Maxwell Ng'ang'a},
54
+ year={2026},
55
+ publisher={Hugging Face},
56
+ url={https://huggingface.co/datasets/Maxyelow/kenyan-code-switch-1m}
57
+ }
58
+ ```