Datasets:

Modalities:
Text
Formats:
parquet
Languages:
Swahili
Libraries:
Datasets
pandas
License:
nickdee96 commited on
Commit
c9bf270
·
verified ·
1 Parent(s): 733e20a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +143 -3
README.md CHANGED
@@ -18,7 +18,7 @@ dataset_info:
18
  num_bytes: 394785.6161578276
19
  num_examples: 5333
20
  download_size: 1455916
21
- dataset_size: 1973706.0
22
  - config_name: kln_swa
23
  features:
24
  - name: id
@@ -37,7 +37,7 @@ dataset_info:
37
  num_bytes: 707629.829532838
38
  num_examples: 7026
39
  download_size: 2556732
40
- dataset_size: 3537847.0
41
  - config_name: luo_swa
42
  features:
43
  - name: id
@@ -56,7 +56,7 @@ dataset_info:
56
  num_bytes: 877577.4824621264
57
  num_examples: 5862
58
  download_size: 3058596
59
- dataset_size: 4387588.0
60
  configs:
61
  - config_name: dav_swa
62
  data_files:
@@ -76,4 +76,144 @@ configs:
76
  path: luo_swa/train-*
77
  - split: test
78
  path: luo_swa/test-*
 
 
 
 
 
79
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  num_bytes: 394785.6161578276
19
  num_examples: 5333
20
  download_size: 1455916
21
+ dataset_size: 1973706
22
  - config_name: kln_swa
23
  features:
24
  - name: id
 
37
  num_bytes: 707629.829532838
38
  num_examples: 7026
39
  download_size: 2556732
40
+ dataset_size: 3537847
41
  - config_name: luo_swa
42
  features:
43
  - name: id
 
56
  num_bytes: 877577.4824621264
57
  num_examples: 5862
58
  download_size: 3058596
59
+ dataset_size: 4387588
60
  configs:
61
  - config_name: dav_swa
62
  data_files:
 
76
  path: luo_swa/train-*
77
  - split: test
78
  path: luo_swa/test-*
79
+ license: cc-by-4.0
80
+ task_categories:
81
+ - translation
82
+ language:
83
+ - sw
84
  ---
85
+
86
+ # Low-Resource Language Data: Parallel Corpora for Kiswahili and Kidaw'ida, Kalenjin, and Dholuo
87
+
88
+ ## Description
89
+
90
+ This dataset consists of three parallel corpora:
91
+
92
+ 1. Kidaw'ida (Dawida)-Kiswahili (dav_swa)
93
+ 2. Kalenjin-Kiswahili (kln_swa)
94
+ 3. Dholuo-Kiswahili (luo_swa)
95
+
96
+ Each corpus contains approximately 30,000 sentence pairs. The dataset was created for use in training machine translation models, enabling translation from Kiswahili (the national language of Kenya) into indigenous languages.
97
+
98
+ ## Purpose
99
+
100
+ The primary purpose of this dataset is to facilitate the development of machine translation models for three indigenous Kenyan languages:
101
+
102
+ - Kidaw'ida (Dawida)
103
+ - Kalenjin
104
+ - Dholuo
105
+
106
+ By providing parallel corpora with Kiswahili, this dataset aims to bridge the gap between the national language and these indigenous languages, promoting linguistic diversity and accessibility.
107
+
108
+ ## Dataset Details
109
+
110
+ - **Format**: Parallel corpora (sentence pairs)
111
+ - **Languages**: Kiswahili (swa), Kidaw'ida (dav), Kalenjin (kln), Dholuo (luo)
112
+ - **License**: CC-BY-4.0
113
+ - **Task**: Translation
114
+
115
+ ### Corpus Statistics
116
+
117
+ 1. Kidaw'ida-Kiswahili (dav_swa):
118
+ - Train set: 21,329 examples
119
+ - Test set: 5,333 examples
120
+ - Total size: 1,973,706 bytes
121
+
122
+ 2. Kalenjin-Kiswahili (kln_swa):
123
+ - Train set: 28,101 examples
124
+ - Test set: 7,026 examples
125
+ - Total size: 3,537,847 bytes
126
+
127
+ 3. Dholuo-Kiswahili (luo_swa):
128
+ - Train set: 23,446 examples
129
+ - Test set: 5,862 examples
130
+ - Total size: 4,387,588 bytes
131
+
132
+ ## How to Use
133
+
134
+ To use this dataset for machine translation tasks:
135
+
136
+ 1. Load the dataset using the Hugging Face Datasets library:
137
+
138
+ ```python
139
+ from datasets import load_dataset
140
+
141
+ # Load a specific language pair
142
+ dav_swa = load_dataset("low-resource-language-data", "dav_swa")
143
+ kln_swa = load_dataset("low-resource-language-data", "kln_swa")
144
+ luo_swa = load_dataset("low-resource-language-data", "luo_swa")
145
+ ```
146
+
147
+ 2. Access the train and test splits:
148
+
149
+ ```python
150
+ train_data = dav_swa["train"]
151
+ test_data = dav_swa["test"]
152
+ ```
153
+
154
+ 3. Iterate through the examples:
155
+
156
+ ```python
157
+ for example in train_data:
158
+ kidawida_text = example["translation"]["dav"]
159
+ kiswahili_text = example["translation"]["swa"]
160
+ # Process the text as needed
161
+ ```
162
+
163
+ 4. Use the data to train your machine translation model or for other NLP tasks.
164
+
165
+ ## Citation
166
+
167
+ If you use this dataset in your research or project, please cite it as follows:
168
+
169
+ ```
170
+ @dataset{mbogho_2024_low_resource_language_data,
171
+ author = {Mbogho, Audrey and
172
+ Kipkebut, Andrew and
173
+ Wanzare, Lilian and
174
+ Awuor, Quin and
175
+ Oloo, Vivian and
176
+ Lugano, Rose},
177
+ title = {{Low-Resource Language Data: Parallel Corpora for
178
+ Kiswahili and Kidaw'ida, Kalenjin, and Dholuo}},
179
+ year = 2024,
180
+ publisher = {Tech Innovators Network (THiNK) on Hugging Face},
181
+ howpublished = {\url{https://huggingface.co/datasets/thinkKenya/kenyan-low-resource-language-data}}
182
+ }
183
+ ```
184
+
185
+ ## Contributors
186
+
187
+ ### Creators
188
+
189
+ - Audrey Mbogho (Project Manager) - United States International University Africa
190
+ - Andrew Kipkebut (Data Curator) - Kabarak University
191
+ - Lilian Wanzare (Data Curator) - Maseno University
192
+ - Quin Awuor (Data Curator) - United States International University Africa
193
+ - Vivian Oloo (Data Curator) - Maseno University
194
+ - Rose Lugano (Data Curator) - University of Florida
195
+
196
+ ### Data Collectors
197
+
198
+ - Esther Mkawanyika Nkrumah
199
+ - Shalet Doreen Mkamzungu
200
+ - Patience Chao Mwangola
201
+ - David Mbela Mwakaba
202
+
203
+ ## Funding
204
+
205
+ This dataset was collected with funding from Lacuna Fund.
206
+
207
+ ## Updates and Future Releases
208
+
209
+ This dataset is also available on GitHub, where it will continue to be expanded and improved. Future releases will be uploaded to Hugging Face and Zenodo as new versions become available.
210
+
211
+ ## Contact
212
+
213
+ For questions or more information about this dataset, please contact:
214
+
215
+ - Principal Investigator: Audrey Mbogho, United States International University - Africa
216
+
217
+ ## Acknowledgments
218
+
219
+ We would like to thank all the contributors, data collectors, and the Lacuna Fund for making this dataset possible. Their efforts contribute significantly to the preservation and technological advancement of low-resource languages in Kenya.