Adeptschneider commited on
Commit
2a3c6e8
·
verified ·
1 Parent(s): a51b597

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +99 -0
README.md ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Swahili Text Dataset
2
+
3
+ ## Overview
4
+
5
+ This dataset contains a comprehensive collection of Swahili text data, derived from the [AfriBERTa Corpus](https://huggingface.co/datasets/castorini/afriberta-corpus). It provides a rich resource for natural language processing tasks focused on the Swahili language.
6
+
7
+ ## Dataset Details
8
+
9
+ - **Source**: [AfriBERTa Corpus](https://huggingface.co/datasets/castorini/afriberta-corpus) (Swahili subset)
10
+ - **Language**: Swahili
11
+ - **Size**: [Insert total number of samples here]
12
+ - **Format**: Hugging Face Dataset
13
+
14
+ ## Content
15
+
16
+ The dataset consists of two main columns:
17
+
18
+ 1. `id`: A unique identifier for each text entry
19
+ 2. `text`: The Swahili text content
20
+
21
+ ## Usage
22
+
23
+ You can load this dataset using the Hugging Face `datasets` library:
24
+
25
+ ```python
26
+ from datasets import load_dataset
27
+
28
+ dataset = load_dataset("[Your_HuggingFace_Username]/[Your_Dataset_Name]")
29
+ ```
30
+
31
+ Replace `[Your_HuggingFace_Username]` and `[Your_Dataset_Name]` with the appropriate values for your uploaded dataset.
32
+
33
+ ## Data Fields
34
+
35
+ - `id`: string
36
+ - `text`: string
37
+
38
+ ## Data Splits
39
+
40
+ This dataset combines training and test splits from the original AfriBERTa Corpus. The data has been shuffled with a fixed seed (42) to ensure reproducibility.
41
+
42
+ ## Dataset Creation
43
+
44
+ This dataset was created by:
45
+
46
+ 1. Loading the Swahili subset of the AfriBERTa Corpus
47
+ 2. Concatenating the training and test splits
48
+ 3. Shuffling the combined dataset
49
+ 4. Extracting the 'id' and 'text' fields
50
+
51
+ ## Intended Uses
52
+
53
+ This dataset can be used for various natural language processing tasks involving the Swahili language, such as:
54
+
55
+ - Language modeling
56
+ - Text classification
57
+ - Named entity recognition
58
+ - Machine translation (as a source or target language)
59
+ - Sentiment analysis
60
+ - And more...
61
+
62
+ ## Limitations
63
+
64
+ - The dataset is limited to the content available in the original AfriBERTa Corpus.
65
+ - It may not represent all dialects or variations of the Swahili language.
66
+ - The quality and accuracy of the text content depend on the original data source.
67
+
68
+ ## Citation
69
+
70
+ If you use this dataset, please cite the original AfriBERTa Corpus:
71
+
72
+ ```
73
+ @inproceedings{ogueji-etal-2021-small,
74
+ title = "Small Data? No Problem! Exploring the Viability of Pretrained Multilingual Language Models for Low-resourced Languages",
75
+ author = "Ogueji, Kelechi and
76
+ Zhu, Yuxin and
77
+ Lin, Jimmy",
78
+ booktitle = "Proceedings of the 1st Workshop on Multilingual Representation Learning",
79
+ month = nov,
80
+ year = "2021",
81
+ address = "Punta Cana, Dominican Republic",
82
+ publisher = "Association for Computational Linguistics",
83
+ url = "https://aclanthology.org/2021.mrl-1.11",
84
+ pages = "116--126",
85
+ }
86
+ ```
87
+
88
+ ## Licensing Information
89
+
90
+ This dataset is derived from the AfriBERTa Corpus. For usage terms and conditions, please refer to the [original dataset's license](https://huggingface.co/datasets/castorini/afriberta-corpus).
91
+
92
+ ## Contact
93
+
94
+ If you have questions or comments about this specific version of the dataset, please open an issue in this repository or contact [[email protected]].
95
+
96
+ ---
97
+
98
+ Dataset created and curated by [AdeptSchneider].
99
+ Last updated: [09/10/2024]