almugabo commited on
Commit
b8ba525
1 Parent(s): 79075c3

update documentation

Browse files
Files changed (1) hide show
  1. README.md +48 -10
README.md CHANGED
@@ -1,21 +1,59 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
  features:
4
  - name: text
5
  dtype: string
6
- - name: nwords
7
- dtype: int64
8
- - name: ntokens_llama32
9
  dtype: int64
10
  splits:
11
  - name: train
12
  num_bytes: 191210626.0
13
  num_examples: 78733
14
- download_size: 112691673
15
  dataset_size: 191210626.0
16
- configs:
17
- - config_name: default
18
- data_files:
19
- - split: train
20
- path: data/train-*
21
- ---
 
1
  ---
2
+ task_categories:
3
+ - text-generation
4
+ language:
5
+ - rw
6
+ size_categories:
7
+ - 1K<n<10K
8
+ ---
9
+ ### Dataset Summary
10
+
11
+ The Kinyarwanda Monolingual Dataset version 1 is a large collection of Kinyarwanda language texts aimed at supporting the development of NLP and AI applications which can process Kinyarwanda texts. This dataset contains 78k documents, totalling about 25 million words, and includes diverse content types such as news articles, government reports, religious texts, legal documents, educational materials, and cultural narratives. The dataset has been collected to address the lack of open-source language resources for African languages, with a specific focus on Kinyarwanda.
12
+
13
+ ### Dataset Details
14
+
15
+ - **Languages**: Kinyarwanda
16
+ - **Size**: about 78,000 documents totalling 25 million words (for comparison : Kinyarwanda Bible has about 575k words, so the dataset is equivalent to over 40 bibles)
17
+ - **Collection Methodology**: The dataset was created using content available in HTML and PDF formats, covering diverse topics and content types. HTML sources included news sites (e.g., Kigali Today, Igihe), religious sites, Wikipedia, and cultural storytelling websites (e.g., Imigani.rw). PDF documents consisted of government reports, legal texts, transcripts of Senate debates, and educational materials, ensuring a wide representation of language use in different contexts.
18
+ - **Content**: The dataset represents a broad cross-section of Kinyarwanda language use, encompassing both formal and informal registers. The content spans news media, cultural stories, bureaucratic documents, legal records, religious teachings, and educational texts.
19
+
20
+ ### Motivation and Background
21
+
22
+ This dataset aims to address the scarcity of language resources for African languages, particularly in the context of large language models (LLMs). Despite the significant advancements in generative AI, African languages have largely been excluded from these models, limiting their applicability in developing countries. By creating this dataset, we hope to bridge the gap and ensure that the benefits of AI technology can be equitably distributed. The Kinyarwanda Monolingual Dataset also supports Rwanda's national AI policy, which emphasizes data as a critical resource for AI development.
23
+
24
+
25
+ ### Limitation and Future Work
26
+
27
+ This is, to our knowledge, the largest open monolingual dataset in Kinyarwanda. However, its size remains limited. We plan to expand the dataset by identifying additional content sources and addressing the current gaps in representation. We will also continuously improve the data quality, for example by improving text extraction tools.
28
+
29
+ **Licensing. Use Cases and Usage Limitations**
30
+
31
+ This dataset is made available under a Creative Commons Attribution 4.0 International License (CC BY 4.0).
32
+
33
+ The dataset is suitable for fine-tuning existing LLMs to better support African languages, addressing the current gap in language model performance for low-resource languages. It can also be used for other NLP tasks which require a large collection of monolingual texts in Kinyarwanda.
34
+
35
+ The copyright of the individual texts in this collection remains with their original authors. Reproducing substantial portions of this dataset for presentation to human readers (e.g., in websites, publications, or documents) may conflict with the interests of the copyright holders. Therefore, the use of this dataset should be restricted to data processing with computers for statistical analysis and information extraction, primarily aimed at training AI models to process Kinyarwanda texts—similar to how written materials are used for language learning.
36
+
37
+ ### Citation
38
+
39
+ Mbaza NLP Community (2024). Kinyarwanda Monolingual Dataset. Version 1.0. <https://huggingface.co/datasets/mbazaNLP/kinyarwanda_monolingual_v01.0>
40
+
41
+
42
+
43
+
44
+ ```
45
  dataset_info:
46
  features:
47
  - name: text
48
  dtype: string
49
+ - name: nwords ## number of words
50
+ dtype: int64
51
+ - name: ntokens_llama32 ## number of tokens LLama 3.2 tokenizers
52
  dtype: int64
53
  splits:
54
  - name: train
55
  num_bytes: 191210626.0
56
  num_examples: 78733
57
+ download_size: 112697917
58
  dataset_size: 191210626.0
59
+ ```