Datasets:
Upload 4 files
Browse files- .gitattributes +1 -0
- README.md +215 -0
- dev.json +0 -0
- test.json +0 -0
- train.json +3 -0
.gitattributes
CHANGED
@@ -53,3 +53,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
|
|
|
53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
56 |
+
train.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
YAML tags: null
|
3 |
+
annotations_creators:
|
4 |
+
- expert-generated
|
5 |
+
language:
|
6 |
+
- ca
|
7 |
+
license:
|
8 |
+
- cc-by-sa-4.0
|
9 |
+
multilinguality:
|
10 |
+
- monolingual
|
11 |
+
pretty_name: InToxiCat
|
12 |
+
tags:
|
13 |
+
- abusive-language-detection
|
14 |
+
- abusive-language
|
15 |
+
- toxic-language-detection
|
16 |
+
- toxicity-detection
|
17 |
+
task_categories:
|
18 |
+
- text-classification
|
19 |
+
- token-classification
|
20 |
+
---
|
21 |
+
|
22 |
+
# Dataset Card for InToxiCat
|
23 |
+
|
24 |
+
## Table of Contents
|
25 |
+
- [Table of Contents](#table-of-contents)
|
26 |
+
- [Dataset Description](#dataset-description)
|
27 |
+
- [Dataset Summary](#dataset-summary)
|
28 |
+
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
29 |
+
- [Languages](#languages)
|
30 |
+
- [Dataset Structure](#dataset-structure)
|
31 |
+
- [Data Instances](#data-instances)
|
32 |
+
- [Example](#example)
|
33 |
+
- [Data Fields](#data-fields)
|
34 |
+
- [Data Splits](#data-splits)
|
35 |
+
- [Dataset Creation](#dataset-creation)
|
36 |
+
- [Curation Rationale](#curation-rationale)
|
37 |
+
- [Source Data](#source-data)
|
38 |
+
- [Annotations](#annotations)
|
39 |
+
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
40 |
+
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
41 |
+
- [Social Impact of Dataset](#social-impact-of-dataset)
|
42 |
+
- [Discussion of Biases](#discussion-of-biases)
|
43 |
+
- [Other Known Limitations](#other-known-limitations)
|
44 |
+
- [Additional Information](#additional-information)
|
45 |
+
- [Dataset Curators](#dataset-curators)
|
46 |
+
- [Licensing Information](#licensing-information)
|
47 |
+
- [Citation Information](#citation-information)
|
48 |
+
- [Contributions](#contributions)
|
49 |
+
|
50 |
+
|
51 |
+
## Dataset Description
|
52 |
+
|
53 |
+
- **Website:** https://zenodo.org/record/7973926 #TODO
|
54 |
+
- **Point of Contact:** [email protected]
|
55 |
+
|
56 |
+
|
57 |
+
### Dataset Summary
|
58 |
+
|
59 |
+
InToxiCat is a dataset for the detection of abusive language (defined by the aim to harm someone, individual, group, etc.) in Catalan, produced by the BSC LangTech unit.
|
60 |
+
|
61 |
+
The dataset consists of 29,809 sentences obtained from internet forums, annotated (by two annotators and a third to resolve disagreements) as to whether or not they are abusive; the 6047 instances annotated as abusive are further annotated for following features: the abusive span, the target span (to whom the abusiveness is directed), the target type and the implicit or explicit nature of abusiveness.
|
62 |
+
|
63 |
+
The dataset is split, in a balanced abusive/non-abusive distribution, into X training samples, Y validation samples, and X test samples.
|
64 |
+
|
65 |
+
This work is licensed under a Attribution-ShareAlike 4.0 International License.
|
66 |
+
|
67 |
+
### Supported Tasks and Leaderboards
|
68 |
+
|
69 |
+
Abusive Language Detection
|
70 |
+
|
71 |
+
### Languages
|
72 |
+
|
73 |
+
The dataset is in Catalan (`ca-CA`).
|
74 |
+
|
75 |
+
## Dataset Structure
|
76 |
+
|
77 |
+
### Data Instances
|
78 |
+
|
79 |
+
Three JSON files, one for each split.
|
80 |
+
|
81 |
+
### Example:
|
82 |
+
|
83 |
+
<pre>
|
84 |
+
|
85 |
+
{
|
86 |
+
"id": "9472844_16_0",
|
87 |
+
"context": "Aquest tiu no té ni puta idea del que és una guerra ni del que s'espera d'un soldat.I què s'empatolla de despeses mèdiques. A veure si li passaré com al Hollande i sortiré la factura del seu perruquer (o taxidermista, no sé)",
|
88 |
+
"sentence": "Aquest tiu no té ni puta idea del que és una guerra ni del que s'espera d'un soldat.I què s'empatolla de despeses mèdiques.",
|
89 |
+
"topic": "Internacional",
|
90 |
+
"key_words": [
|
91 |
+
"puta"
|
92 |
+
],
|
93 |
+
"annotation": {
|
94 |
+
"abusive_spans": [
|
95 |
+
[
|
96 |
+
"no té ni puta idea",
|
97 |
+
"11:29"
|
98 |
+
]
|
99 |
+
],
|
100 |
+
"target_spans": [
|
101 |
+
[
|
102 |
+
"Aquest tiu",
|
103 |
+
"0:10"
|
104 |
+
]
|
105 |
+
],
|
106 |
+
"target_type": [
|
107 |
+
"INDIVIDUAL"
|
108 |
+
],
|
109 |
+
"is_abusive": "abusive",
|
110 |
+
"context": "no",
|
111 |
+
"is_implicit": "yes",
|
112 |
+
"abusiveness_agreement": "full"
|
113 |
+
}
|
114 |
+
}
|
115 |
+
|
116 |
+
</pre>
|
117 |
+
|
118 |
+
### Data Fields
|
119 |
+
|
120 |
+
- id: a string feature.
|
121 |
+
- context: a string feature.
|
122 |
+
- sentence: a string feature.
|
123 |
+
- topic: a string feature.
|
124 |
+
- keywords: a list of strings.
|
125 |
+
- context_needed: a string feature.
|
126 |
+
- is_abusive: a bool feature.
|
127 |
+
- abusiveness_agreement: a string feature.
|
128 |
+
- target_type: a list of strings.
|
129 |
+
- abusive_spans: a dictionary with field 'text' (list of strings) and 'index' (list of strings).
|
130 |
+
- target_spans: a dictionary with field 'text' (list of strings) and 'index' (list of strings).
|
131 |
+
- is_implicit: a string.
|
132 |
+
|
133 |
+
### Data Splits
|
134 |
+
|
135 |
+
* copa-ca.train.jsonl: 400 examples
|
136 |
+
* copa-ca.val.jsonl: 100 examples
|
137 |
+
* copa-ca.test.jsonl: 500 examples
|
138 |
+
|
139 |
+
## Dataset Creation
|
140 |
+
|
141 |
+
### Curation Rationale
|
142 |
+
|
143 |
+
We created this dataset to contribute to the development of language models in Catalan, a low-resource language.
|
144 |
+
|
145 |
+
### Source Data
|
146 |
+
|
147 |
+
#### Initial Data Collection and Normalization
|
148 |
+
|
149 |
+
The sentences to be annotated were collected from Racó Català forums using a list of keywords (provided in Zenodo). The messages belong to different categories of Racó Català, specified in the "topic" field of the dataset. The length of the messages varies from one sentence to several sentences.
|
150 |
+
|
151 |
+
#### Who are the source language producers?
|
152 |
+
|
153 |
+
Anonymized users from Racó Català forums.
|
154 |
+
|
155 |
+
### Annotations
|
156 |
+
|
157 |
+
#### Annotation process
|
158 |
+
|
159 |
+
The annotation process was divided into the following two tasks, carried out in sequential order:
|
160 |
+
|
161 |
+
Task 1. The sentences (around 30.000) were annotated by two annotators as either abusive or not abusive. In case of ambiguity in the sentence, the annotators had the possibility to consult the context, i.e. the whole message of the user (if the sentence to be annotated was a segment contained in the message). In cases where annotators 1 and 2 disagreed about the abusiveness of a message, it was annotated by a third annotator. As a result, the sentences that are ultimately considered abusive are those that were initially annotated as abusive by both annotators or, in the case of an initial disagreement between them, those that were resolved as abusive by the third annotator.
|
162 |
+
|
163 |
+
Task 2. The sentences annotated as abusive (6047) in Task 1 were further annotated by the two main annotators for the following features:
|
164 |
+
- abusive spans: the sequence of words that attribute to the text's abusiveness
|
165 |
+
- implicit/explicit abusiveness: whether the abusiveness is explicit (contains a profanity, slur or threat) or implicit (does not contain a profanity or slur, but is likely to contain irony, sarcasm or similar resources)
|
166 |
+
- target spans: if found in the message, the sequence(s) of words that refer to the target of the text's abusiveness
|
167 |
+
- target type: three possible categories. The categories are non-exclusive, as some targets may have a dual identity and more than one target may be detected in a single message.
|
168 |
+
- individual: a famous person, a named person or an unnamed person interacting in the conversation.
|
169 |
+
- group: considered to be a unit based on the same ethnicity, gender or sexual orientation, political affiliation, religious belief or something else.
|
170 |
+
- other; e.g. an organization, a situation, an event, or an issue
|
171 |
+
|
172 |
+
The annotation guidelines are published and available on XYZ.
|
173 |
+
|
174 |
+
#### Who are the annotators?
|
175 |
+
|
176 |
+
The annotators were qualified professionals with a university education and a demonstrably excellent knowledge of Catalan (minimum level C1 or equivalent).
|
177 |
+
|
178 |
+
### Personal and Sensitive Information
|
179 |
+
|
180 |
+
No personal or sensitive information included.
|
181 |
+
|
182 |
+
## Considerations for Using the Data
|
183 |
+
|
184 |
+
### Social Impact of Dataset
|
185 |
+
|
186 |
+
We hope this dataset contributes to the development of language models in Catalan, a low-resource language.
|
187 |
+
|
188 |
+
### Discussion of Biases
|
189 |
+
|
190 |
+
[N/A]
|
191 |
+
|
192 |
+
### Other Known Limitations
|
193 |
+
|
194 |
+
[N/A]
|
195 |
+
|
196 |
+
## Additional Information
|
197 |
+
|
198 |
+
### Dataset Curators
|
199 |
+
|
200 |
+
Language Technologies Unit at the Barcelona Supercomputing Center ([email protected])
|
201 |
+
|
202 |
+
This work was funded by the [Departament de la Vicepresidència i de Polítiques Digitals i Territori de la Generalitat de Catalunya](https://politiquesdigitals.gencat.cat/ca/inici/index.html#googtrans(ca|en) within the framework of [Projecte AINA](https://politiquesdigitals.gencat.cat/ca/economia/catalonia-ai/aina).
|
203 |
+
|
204 |
+
|
205 |
+
### Licensing Information
|
206 |
+
|
207 |
+
This work is licensed under a Attribution-ShareAlike 4.0 International License
|
208 |
+
|
209 |
+
### Citation Information
|
210 |
+
|
211 |
+
[DOI](https://doi.org/10.5281/zenodo.8124398)
|
212 |
+
|
213 |
+
### Contributions
|
214 |
+
|
215 |
+
[N/A]
|
dev.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
test.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
train.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1e5ed594b1773e9cf8fcd5306172d1405055101c5b4c17476a541beb8b921478
|
3 |
+
size 28266714
|