Datasets:

Modalities:
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
pandas
License:
File size: 8,917 Bytes
64ca842
91e77ef
 
 
 
 
 
 
 
 
5f3af00
64ca842
91e77ef
 
 
 
352c6f5
 
c464934
352c6f5
a11d71e
 
352c6f5
c464934
a11d71e
c464934
 
a11d71e
c464934
 
a11d71e
c464934
 
a11d71e
c464934
73837ba
a11d71e
352c6f5
c464934
a11d71e
c464934
 
a11d71e
c464934
 
a11d71e
c464934
 
a11d71e
c464934
a11d71e
 
352c6f5
 
 
c464934
 
 
 
 
 
 
 
73837ba
 
c464934
 
 
 
 
 
 
 
91e77ef
5f3af00
 
eda7669
56def96
 
eda7669
 
e7dbfcf
 
eda7669
 
 
 
 
 
 
5f3af00
 
 
 
 
56acbda
5f3af00
 
 
39596aa
 
 
 
 
e7dbfcf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39596aa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
---
language:
- en
- uk
- ru
- de
- zh
- am
- ar
- hi
- es
license: openrail++
size_categories:
- 1K<n<10K
task_categories:
- text-generation
dataset_info:
  features:
  - name: toxic_sentence
    dtype: string
  - name: neutral_sentence
    dtype: string
  splits:
  - name: en
    num_bytes: 47435
    num_examples: 400
  - name: ru
    num_bytes: 89453
    num_examples: 400
  - name: uk
    num_bytes: 78106
    num_examples: 400
  - name: de
    num_bytes: 86818
    num_examples: 400
  - name: es
    num_bytes: 56868
    num_examples: 400
  - name: am
    num_bytes: 133489
    num_examples: 400
  - name: zh
    num_bytes: 79089
    num_examples: 400
  - name: ar
    num_bytes: 85237
    num_examples: 400
  - name: hi
    num_bytes: 107518
    num_examples: 400
  download_size: 489288
  dataset_size: 764013
configs:
- config_name: default
  data_files:
  - split: en
    path: data/en-*
  - split: ru
    path: data/ru-*
  - split: uk
    path: data/uk-*
  - split: de
    path: data/de-*
  - split: es
    path: data/es-*
  - split: am
    path: data/am-*
  - split: zh
    path: data/zh-*
  - split: ar
    path: data/ar-*
  - split: hi
    path: data/hi-*
---
**MultiParaDetox**

This is the multilingual parallel dataset for the text detoxification task prepared for [CLEF TextDetox 2024](https://pan.webis.de/clef24/pan24-web/text-detoxification.html) shared task.
For each of 9 languages, we collected 1k pairs of toxic<->detoxified instances splitted into two parts: dev (400 pairs) and test (600 pairs). 

📰 **Updates**

**[2025]** We dived into the explainability of our data in our new [COLING paper](https://huggingface.co./papers/2412.11691)!

**[2024]** You can check additional releases for [Ukrainian ParaDetox](https://huggingface.co./datasets/textdetox/uk_paradetox) and [Spanish ParaDetox](https://huggingface.co./datasets/textdetox/es_paradetox) from NAACL 2024!

**[2024]** **April, 23rd, update: We are realsing the parallel dev set! The test part for the final phase of the competition is available [here](https://huggingface.co./datasets/textdetox/multilingual_paradetox_test)!!!**

**[2022]** You can also check previously created training corpora: [English ParaDetox](https://huggingface.co./datasets/s-nlp/paradetox) from ACL 2022 and [Russian ParaDetox](https://huggingface.co./datasets/s-nlp/ru_paradetox).

## Toxic Samples Sources

The list of the sources for the original toxic sentences:
* English: [Jigsaw](https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge), [Unitary AI Toxicity Dataset](https://github.com/unitaryai/detoxify)
* Russian: [Russian Language Toxic Comments](https://www.kaggle.com/datasets/blackmoon/russian-language-toxic-comments), [Toxic Russian Comments](https://www.kaggle.com/datasets/alexandersemiletov/toxic-russian-comments)
* Ukrainian: [Ukrainian Twitter texts](https://github.com/saganoren/ukr-twi-corpus)
* Spanish: [Detecting and Monitoring Hate Speech in Twitter](https://www.mdpi.com/1424-8220/19/21/4654), [Detoxis](https://rdcu.be/dwhxH), [RoBERTuito: a pre-trained language model for social media text in Spanish](https://aclanthology.org/2022.lrec-1.785/)
* German: [GemEval 2018, 2021](https://aclanthology.org/2021.germeval-1.1/)
* Amhairc: [Amharic Hate Speech](https://github.com/uhh-lt/AmharicHateSpeech)
* Arabic: [OSACT4](https://edinburghnlp.inf.ed.ac.uk/workshops/OSACT4/)
* Hindi: [Hostility Detection Dataset in Hindi](https://competitions.codalab.org/competitions/26654#learn_the_details-dataset), [Overview of the HASOC track at FIRE 2019: Hate Speech and Offensive Content Identification in Indo-European Languages](https://dl.acm.org/doi/pdf/10.1145/3368567.3368584?download=true)

## Citation
If you would like to acknowledge our work, please, cite the following manuscripts:

```
@inproceedings{dementieva-etal-2025-multilingual,
    title = "Multilingual and Explainable Text Detoxification with Parallel Corpora",
    author = "Dementieva, Daryna  and
      Babakov, Nikolay  and
      Ronen, Amit  and
      Ayele, Abinew Ali  and
      Rizwan, Naquee  and
      Schneider, Florian  and
      Wang, Xintong  and
      Yimam, Seid Muhie  and
      Moskovskiy, Daniil Alekhseevich  and
      Stakovskii, Elisei  and
      Kaufman, Eran  and
      Elnagar, Ashraf  and
      Mukherjee, Animesh  and
      Panchenko, Alexander",
    editor = "Rambow, Owen  and
      Wanner, Leo  and
      Apidianaki, Marianna  and
      Al-Khalifa, Hend  and
      Eugenio, Barbara Di  and
      Schockaert, Steven",
    booktitle = "Proceedings of the 31st International Conference on Computational Linguistics",
    month = jan,
    year = "2025",
    address = "Abu Dhabi, UAE",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.coling-main.535/",
    pages = "7998--8025",
    abstract = "Even with various regulations in place across countries and social media platforms (Government of India, 2021; European Parliament and Council of the European Union, 2022), digital abusive speech remains a significant issue. One potential approach to address this challenge is automatic text detoxification, a text style transfer (TST) approach that transforms toxic language into a more neutral or non-toxic form. To date, the availability of parallel corpora for the text detoxification task (Logacheva et al., 2022; Atwell et al., 2022; Dementieva et al., 2024a) has proven to be crucial for state-of-the-art approaches. With this work, we extend parallel text detoxification corpus to new languages{---}German, Chinese, Arabic, Hindi, and Amharic{---}testing in the extensive multilingual setup TST baselines. Next, we conduct the first of its kind an automated, explainable analysis of the descriptive features of both toxic and non-toxic sentences, diving deeply into the nuances, similarities, and differences of toxicity and detoxification across 9 languages. Finally, based on the obtained insights, we experiment with a novel text detoxification method inspired by the Chain-of-Thoughts reasoning approach, enhancing the prompting process through clustering on relevant descriptive attributes."
}
```

```
@inproceedings{dementieva2024overview,
  title={Overview of the Multilingual Text Detoxification Task at PAN 2024},
  author={Dementieva, Daryna and Moskovskiy, Daniil and Babakov, Nikolay and Ayele, Abinew Ali and Rizwan, Naquee and Schneider, Frolian and Wang, Xintog and Yimam, Seid Muhie and Ustalov, Dmitry and Stakovskii, Elisei and Smirnova, Alisa and Elnagar, Ashraf and Mukherjee, Animesh and Panchenko, Alexander},
  booktitle={Working Notes of CLEF 2024 - Conference and Labs of the Evaluation Forum},
  editor={Guglielmo Faggioli and Nicola Ferro and Petra Galu{\v{s}}{\v{c}}{\'a}kov{\'a} and Alba Garc{\'i}a Seco de Herrera},
  year={2024},
  organization={CEUR-WS.org}
}
```

```
@inproceedings{DBLP:conf/ecir/BevendorffCCDEFFKMMPPRRSSSTUWZ24,
  author       = {Janek Bevendorff and
                  Xavier Bonet Casals and
                  Berta Chulvi and
                  Daryna Dementieva and
                  Ashaf Elnagar and
                  Dayne Freitag and
                  Maik Fr{\"{o}}be and
                  Damir Korencic and
                  Maximilian Mayerl and
                  Animesh Mukherjee and
                  Alexander Panchenko and
                  Martin Potthast and
                  Francisco Rangel and
                  Paolo Rosso and
                  Alisa Smirnova and
                  Efstathios Stamatatos and
                  Benno Stein and
                  Mariona Taul{\'{e}} and
                  Dmitry Ustalov and
                  Matti Wiegmann and
                  Eva Zangerle},
  editor       = {Nazli Goharian and
                  Nicola Tonellotto and
                  Yulan He and
                  Aldo Lipani and
                  Graham McDonald and
                  Craig Macdonald and
                  Iadh Ounis},
  title        = {Overview of {PAN} 2024: Multi-author Writing Style Analysis, Multilingual
                  Text Detoxification, Oppositional Thinking Analysis, and Generative
                  {AI} Authorship Verification - Extended Abstract},
  booktitle    = {Advances in Information Retrieval - 46th European Conference on Information
                  Retrieval, {ECIR} 2024, Glasgow, UK, March 24-28, 2024, Proceedings,
                  Part {VI}},
  series       = {Lecture Notes in Computer Science},
  volume       = {14613},
  pages        = {3--10},
  publisher    = {Springer},
  year         = {2024},
  url          = {https://doi.org/10.1007/978-3-031-56072-9\_1},
  doi          = {10.1007/978-3-031-56072-9\_1},
  timestamp    = {Fri, 29 Mar 2024 23:01:36 +0100},
  biburl       = {https://dblp.org/rec/conf/ecir/BevendorffCCDEFFKMMPPRRSSSTUWZ24.bib},
  bibsource    = {dblp computer science bibliography, https://dblp.org}
}
```