manueltonneau commited on
Commit
f4b874b
1 Parent(s): 1fcbc93

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +36 -113
README.md CHANGED
@@ -7,139 +7,62 @@ language:
7
  - pcm
8
  size_categories:
9
  - 10K<n<100K
 
 
10
  ---
11
  # Dataset Card for NaijaHate
12
 
13
  <!-- Provide a quick summary of the dataset. -->
14
 
15
- This dataset card aims to be a base template for new datasets. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/datasetcard_template.md?plain=1).
16
-
17
- ## Dataset Details
18
-
19
- ### Dataset Description
20
-
21
- <!-- Provide a longer summary of what this dataset is. -->
22
-
23
-
24
-
25
- - **Curated by:** [More Information Needed]
26
- - **Language(s) (NLP):** [More Information Needed]
27
- - **License:** [More Information Needed]
28
-
29
- ### Dataset Sources [optional]
30
-
31
- <!-- Provide the basic links for the dataset. -->
32
-
33
- - **Repository:** [More Information Needed]
34
- - **Paper [optional]:** [More Information Needed]
35
- - **Demo [optional]:** [More Information Needed]
36
-
37
- ## Uses
38
-
39
- <!-- Address questions around how the dataset is intended to be used. -->
40
-
41
- ### Direct Use
42
-
43
- <!-- This section describes suitable use cases for the dataset. -->
44
-
45
- [More Information Needed]
46
-
47
- ### Out-of-Scope Use
48
-
49
- <!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->
50
-
51
- [More Information Needed]
52
 
53
  ## Dataset Structure
54
 
55
  <!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
56
 
57
- [More Information Needed]
 
 
 
 
58
 
59
  ## Dataset Creation
60
 
61
- ### Curation Rationale
62
-
63
- <!-- Motivation for the creation of this dataset. -->
64
-
65
- [More Information Needed]
66
-
67
  ### Source Data
68
 
69
- <!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
70
-
71
- #### Data Collection and Processing
72
-
73
- <!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
74
-
75
- [More Information Needed]
76
-
77
- #### Who are the source data producers?
78
-
79
- <!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
80
-
81
- [More Information Needed]
82
-
83
- ### Annotations [optional]
84
-
85
- <!-- If the dataset contains annotations which are not part of the initial data collection, use this section to describe them. -->
86
-
87
- #### Annotation process
88
-
89
- <!-- This section describes the annotation process such as annotation tools used in the process, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
90
-
91
- [More Information Needed]
92
-
93
- #### Who are the annotators?
94
-
95
- <!-- This section describes the people or systems who created the annotations. -->
96
-
97
- [More Information Needed]
98
-
99
- #### Personal and Sensitive Information
100
-
101
- <!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. -->
102
-
103
- [More Information Needed]
104
-
105
- ## Bias, Risks, and Limitations
106
-
107
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
108
-
109
- [More Information Needed]
110
-
111
- ### Recommendations
112
-
113
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
114
-
115
- Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations.
116
-
117
- ## Citation [optional]
118
-
119
- <!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
120
-
121
- **BibTeX:**
122
-
123
- [More Information Needed]
124
-
125
- **APA:**
126
-
127
- [More Information Needed]
128
-
129
- ## Glossary [optional]
130
 
131
- <!-- If relevant, include terms and calculations in this section that can help readers understand the dataset or dataset card. -->
132
 
133
- [More Information Needed]
 
 
 
 
 
134
 
135
- ## More Information [optional]
 
 
 
 
 
 
 
 
 
 
 
 
136
 
137
- [More Information Needed]
138
 
139
- ## Dataset Card Authors [optional]
140
 
141
- [More Information Needed]
142
 
143
- ## Dataset Card Contact
144
 
145
- [More Information Needed]
 
 
 
7
  - pcm
8
  size_categories:
9
  - 10K<n<100K
10
+ task_categories:
11
+ - text-classification
12
  ---
13
  # Dataset Card for NaijaHate
14
 
15
  <!-- Provide a quick summary of the dataset. -->
16
 
17
+ NaijaHate is a hate speech dataset tailored to the Nigerian context. It contains 35,976 annotated Nigerian tweets, including 29,999 tweets randomly sampled from Nigerian Twitter. For a complete description of the data, please refer to the reference paper (TODO).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
  ## Dataset Structure
20
 
21
  <!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
22
 
23
+ The dataset is made of four components detailed in the `dataset` column: two components used for training a hate speech model (`stratified` and `al`) and two components for model evaluation (`eval` and `random`). We detail each component below:
24
+ - `stratified`:
25
+ - `al`:
26
+ - `eval`:
27
+ - `random`:
28
 
29
  ## Dataset Creation
30
 
 
 
 
 
 
 
31
  ### Source Data
32
 
33
+ This dataset was sourced for a large Twitter dataset of 2.2 billion tweets posted between March 2007 and July 2023 and forming the timelines of 2.8 million Twitter users with a profile location in Nigeria.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
+ ### Annotation
36
 
37
+ We recruited a team of four annotators, two female and two male, each of them from one of the four most populated Nigerian ethnic groups -- Hausa, Yoruba, Igbo and Fulani.
38
+ We followed a prescriptive approach by instructing annotators to strictly adhere to extensive annotation guidelines describing our taxonomy of hate speech (see reference paper for full guidelines).
39
+ Tweets are annotated as belonging to one of three classes:
40
+ - hateful (`2` in the `class` column) if it contains an attack on an individual or a group based on the perceived possession of a certain characteristic (e.g., gender, race)
41
+ - offensive (`1` in the `class` column), if it contains a personal attack or an insult that does not target an individual based on their identity
42
+ - neutral (`0` in the `class` column) if it is neither hateful nor offensive.
43
 
44
+ If a tweet is labeled as hateful, it is also annotated for the communities being targeted. The possible target communities in our dataset are:
45
+ - Christians (`christian` column)
46
+ - Muslims (`muslim`)
47
+ - Northerners (`northerner`)
48
+ - Southerners (`southerner`)
49
+ - Hausas (`hausa`)
50
+ - Fulanis (`fulani`)
51
+ - Yorubas (`yoruba`)
52
+ - Igbos (`igbo`)
53
+ - Women (`women`)
54
+ - LGBTQ+ (`lgbtq+`)
55
+ - Herdsmen (`herdsmen`)
56
+ - Biafra (`biafra`)
57
 
58
+ Each tweet was labeled by three annotators. For the three-class annotation task, the 3 annotators agreed on 90\% of labeled tweets, 2 out of 3 agreed in 9.5\% of cases, and all three of them disagreed in 0.5\% of cases (Krippendorff's alpha = 0.7).
59
 
60
+ ## BibTeX entry and citation information
61
 
62
+ TODO
63
 
64
+ Please cite the [reference paper](https://aclanthology.org/2022.lrec-1.27/) if you use this dataset.
65
 
66
+ ```bibtex
67
+ @inproceedings{XXX}
68
+ ```