michsethowusu commited on
Commit
df6ff6d
·
verified ·
1 Parent(s): cb1fa9e

Add dataset README

Browse files
Files changed (1) hide show
  1. README.md +85 -19
README.md CHANGED
@@ -1,22 +1,88 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: Somali
5
- dtype: string
6
- - name: emotion
7
- dtype: string
8
- splits:
9
- - name: train
10
- num_bytes: 202036121
11
- num_examples: 2000000
12
- download_size: 134131126
13
- dataset_size: 202036121
14
- configs:
15
- - config_name: default
16
- data_files:
17
- - split: train
18
- path: data/train-*
19
  ---
20
- # Dataset Card for "somali-emotions-corpus"
21
 
22
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: mit
3
+ task_categories:
4
+ - text-classification
5
+ language:
6
+ - som
7
+ tags:
8
+ - emotion
9
+ - african-languages
10
+ - nlp
11
+ - text-classification
12
+ size_categories:
13
+ - 1M<n<10M
 
 
 
 
 
14
  ---
 
15
 
16
+ # Somali Emotion Analysis Corpus
17
+
18
+ ## Dataset Description
19
+
20
+ This dataset contains emotion-labeled text data in Somali for emotion classification (joy, sadness, anger, fear, surprise, disgust, neutral). Emotions were extracted and processed from the English meanings of the sentences using the model `j-hartmann/emotion-english-distilroberta-base`. The dataset is part of a larger collection of African language emotion analysis resources.
21
+
22
+ ## Dataset Statistics
23
+
24
+ - **Total samples**: 2,000,000
25
+ - **Joy**: 135781 (6.8%)
26
+ - **Sadness**: 107769 (5.4%)
27
+ - **Anger**: 116871 (5.8%)
28
+ - **Fear**: 95761 (4.8%)
29
+ - **Surprise**: 98553 (4.9%)
30
+ - **Disgust**: 147483 (7.4%)
31
+ - **Neutral**: 1297782 (64.9%)
32
+
33
+ ## Dataset Structure
34
+
35
+ ### Data Fields
36
+
37
+ - **Text Column**: Contains the original text in Somali
38
+ - **emotion**: Emotion label (joy, sadness, anger, fear, surprise, disgust, neutral)
39
+
40
+ ### Data Splits
41
+
42
+ This dataset contains a single split with all the processed data.
43
+
44
+ ## Data Processing
45
+
46
+ The emotion labels were generated using:
47
+ - Model: `j-hartmann/emotion-english-distilroberta-base`
48
+ - Processing: Batch processing with optimization for efficiency
49
+ - Deduplication: Duplicate entries were removed based on text content
50
+
51
+ ## Usage
52
+
53
+ ```python
54
+ from datasets import load_dataset
55
+
56
+ # Load the dataset
57
+ dataset = load_dataset("michsethowusu/somali-emotions-corpus")
58
+
59
+ # Access the data
60
+ print(dataset['train'][0])
61
+ ```
62
+
63
+ ## Citation
64
+
65
+ If you use this dataset in your research, please cite:
66
+
67
+ ```bibtex
68
+ @dataset{somali_emotions_corpus,
69
+ title={Somali Emotions Corpus},
70
+ author={Mich-Seth Owusu},
71
+ year={2025},
72
+ url={https://huggingface.co/datasets/michsethowusu/somali-emotions-corpus}
73
+ }
74
+ ```
75
+
76
+ ## License
77
+
78
+ This dataset is released under the MIT License.
79
+
80
+ ## Contact
81
+
82
+ For questions or issues regarding this dataset, please open an issue on the dataset repository.
83
+
84
+ ## Dataset Creation
85
+
86
+ **Date**: 2025-07-04
87
+ **Processing Pipeline**: Automated emotion analysis using HuggingFace Transformers
88
+ **Quality Control**: Deduplication and batch processing optimizations applied