michsethowusu commited on
Commit
69855f6
·
verified ·
1 Parent(s): 4c246ce

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: Chichewa
5
- dtype: string
6
- - name: emotion
7
- dtype: string
8
- splits:
9
- - name: train
10
- num_bytes: 72631593
11
- num_examples: 834921
12
- download_size: 43437019
13
- dataset_size: 72631593
14
- configs:
15
- - config_name: default
16
- data_files:
17
- - split: train
18
- path: data/train-*
19
  ---
20
- # Dataset Card for "chichewa-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
+ - nya
7
+ tags:
8
+ - emotion
9
+ - african-languages
10
+ - nlp
11
+ - text-classification
12
+ size_categories:
13
+ - 100K<n<1M
 
 
 
 
 
14
  ---
 
15
 
16
+ # Chichewa Emotion Analysis Corpus
17
+
18
+ ## Dataset Description
19
+
20
+ This dataset contains emotion-labeled text data in Chichewa 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**: 834,921
25
+ - **Joy**: 64232 (7.7%)
26
+ - **Sadness**: 41439 (5.0%)
27
+ - **Anger**: 35225 (4.2%)
28
+ - **Fear**: 31738 (3.8%)
29
+ - **Surprise**: 32888 (3.9%)
30
+ - **Disgust**: 63577 (7.6%)
31
+ - **Neutral**: 565822 (67.8%)
32
+
33
+ ## Dataset Structure
34
+
35
+ ### Data Fields
36
+
37
+ - **Text Column**: Contains the original text in Chichewa
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/chichewa-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{chichewa_emotions_corpus,
69
+ title={Chichewa Emotions Corpus},
70
+ author={Mich-Seth Owusu},
71
+ year={2025},
72
+ url={https://huggingface.co/datasets/michsethowusu/chichewa-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