klamas etomoscow commited on
Commit
87f0c02
·
0 Parent(s):

Duplicate from textdetox/multilingual_toxic_lexicon

Browse files

Co-authored-by: Daniil Moskovskiy <etomoscow@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
13
+ *.model filter=lfs diff=lfs merge=lfs -text
14
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
15
+ *.npy filter=lfs diff=lfs merge=lfs -text
16
+ *.npz filter=lfs diff=lfs merge=lfs -text
17
+ *.onnx filter=lfs diff=lfs merge=lfs -text
18
+ *.ot filter=lfs diff=lfs merge=lfs -text
19
+ *.parquet filter=lfs diff=lfs merge=lfs -text
20
+ *.pb filter=lfs diff=lfs merge=lfs -text
21
+ *.pickle filter=lfs diff=lfs merge=lfs -text
22
+ *.pkl filter=lfs diff=lfs merge=lfs -text
23
+ *.pt filter=lfs diff=lfs merge=lfs -text
24
+ *.pth filter=lfs diff=lfs merge=lfs -text
25
+ *.rar filter=lfs diff=lfs merge=lfs -text
26
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
27
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar filter=lfs diff=lfs merge=lfs -text
30
+ *.tflite filter=lfs diff=lfs merge=lfs -text
31
+ *.tgz filter=lfs diff=lfs merge=lfs -text
32
+ *.wasm filter=lfs diff=lfs merge=lfs -text
33
+ *.xz filter=lfs diff=lfs merge=lfs -text
34
+ *.zip filter=lfs diff=lfs merge=lfs -text
35
+ *.zst filter=lfs diff=lfs merge=lfs -text
36
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
37
+ # Audio files - uncompressed
38
+ *.pcm filter=lfs diff=lfs merge=lfs -text
39
+ *.sam filter=lfs diff=lfs merge=lfs -text
40
+ *.raw filter=lfs diff=lfs merge=lfs -text
41
+ # Audio files - compressed
42
+ *.aac filter=lfs diff=lfs merge=lfs -text
43
+ *.flac filter=lfs diff=lfs merge=lfs -text
44
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
45
+ *.ogg filter=lfs diff=lfs merge=lfs -text
46
+ *.wav filter=lfs diff=lfs merge=lfs -text
47
+ # Image files - uncompressed
48
+ *.bmp filter=lfs diff=lfs merge=lfs -text
49
+ *.gif filter=lfs diff=lfs merge=lfs -text
50
+ *.png filter=lfs diff=lfs merge=lfs -text
51
+ *.tiff filter=lfs diff=lfs merge=lfs -text
52
+ # Image files - compressed
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
README.md ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - ru
5
+ - uk
6
+ - es
7
+ - de
8
+ - ar
9
+ - am
10
+ - hi
11
+ - zh
12
+ - it
13
+ - fr
14
+ - he
15
+ - ja
16
+ - tt
17
+ license: openrail++
18
+ dataset_info:
19
+ features:
20
+ - name: text
21
+ dtype: string
22
+ splits:
23
+ - name: am
24
+ num_bytes: 3540
25
+ num_examples: 245
26
+ - name: es
27
+ num_bytes: 14683
28
+ num_examples: 1195
29
+ - name: ru
30
+ num_bytes: 4174135
31
+ num_examples: 140517
32
+ - name: uk
33
+ num_bytes: 153865
34
+ num_examples: 7356
35
+ - name: en
36
+ num_bytes: 39323
37
+ num_examples: 3386
38
+ - name: zh
39
+ num_bytes: 45303
40
+ num_examples: 3839
41
+ - name: ar
42
+ num_bytes: 6050
43
+ num_examples: 430
44
+ - name: hi
45
+ num_bytes: 2771
46
+ num_examples: 133
47
+ - name: de
48
+ num_bytes: 3036
49
+ num_examples: 247
50
+ - name: it
51
+ num_bytes: 10139
52
+ num_examples: 815
53
+ - name: fr
54
+ num_bytes: 21216
55
+ num_examples: 1287
56
+ - name: he
57
+ num_bytes: 11893
58
+ num_examples: 731
59
+ - name: hin
60
+ num_bytes: 2201
61
+ num_examples: 209
62
+ - name: tt
63
+ num_bytes: 414993
64
+ num_examples: 15629
65
+ - name: ja
66
+ num_bytes: 4822
67
+ num_examples: 328
68
+ download_size: 2254939
69
+ dataset_size: 4907970
70
+ configs:
71
+ - config_name: default
72
+ data_files:
73
+ - split: am
74
+ path: data/am-*
75
+ - split: es
76
+ path: data/es-*
77
+ - split: ru
78
+ path: data/ru-*
79
+ - split: uk
80
+ path: data/uk-*
81
+ - split: en
82
+ path: data/en-*
83
+ - split: zh
84
+ path: data/zh-*
85
+ - split: ar
86
+ path: data/ar-*
87
+ - split: hi
88
+ path: data/hi-*
89
+ - split: de
90
+ path: data/de-*
91
+ - split: it
92
+ path: data/it-*
93
+ - split: fr
94
+ path: data/fr-*
95
+ - split: he
96
+ path: data/he-*
97
+ - split: hin
98
+ path: data/hin-*
99
+ - split: tt
100
+ path: data/tt-*
101
+ - split: ja
102
+ path: data/ja-*
103
+ task_categories:
104
+ - token-classification
105
+ tags:
106
+ - toxic
107
+ size_categories:
108
+ - 10K<n<100K
109
+ ---
110
+
111
+ # Multilingual Toxic Lexicon
112
+
113
+ **[2025]** The lexicon is extended to new languages! Now also included: Italian, French, Hebrew, Hindi, Japanese, Tatar. The list is used on [TextDetox 2025](https://pan.webis.de/clef25/pan25-web/text-detoxification.html) shared task.
114
+
115
+ **[2024]** The compilation for 9 languages (English, Russian, Ukrainian, Spanish, German, Amharic, Arabic, Chinese, Hindi) toxic words lists which is used for [TextDetox 2024](https://pan.webis.de/clef24/pan24-web/text-detoxification.html) shared task.
116
+
117
+ The list of original sources:
118
+ * English: [link](https://github.com/coffee-and-fun/google-profanity-words/blob/main/data/en.txt)
119
+ * Russian: [link](https://github.com/s-nlp/rudetoxifier/blob/main/data/train/MAT_FINAL_with_unigram_inflections.txt)
120
+ * Ukrainian: [link](https://github.com/saganoren/obscene-ukr)
121
+ * Spanish: [link](https://github.com/facebookresearch/flores/blob/main/toxicity/README.md)
122
+ * German: [link](https://github.com/LDNOOBW/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words)
123
+ * Amhairc: ours
124
+ * Arabic: ours
125
+ * Hindi: [link](https://github.com/facebookresearch/flores/blob/main/toxicity/README.md)
126
+ * Chinese: [link](https://arxiv.org/abs/2108.03070)
127
+ * Italian: [link1](https://github.com/facebookresearch/flores/blob/main/toxicity/README.md), [link2](https://github.com/LDNOOBW/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words)
128
+ * French: [link1](https://github.com/LDNOOBW/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words), [link2](https://fr.wiktionary.org/wiki/Cat%C3%A9gorie:Termes_vulgaires_en_fran%C3%A7ais), [link3](https://fr.wiktionary.org/wiki/Cat%C3%A9gorie:Insultes_en_fran%C3%A7ais)
129
+ * Hebrew: [link](https://github.com/NataliaVanetik/HebrewOffensiveLanguageDatasetForTheDetoxificationProject)
130
+ * Hinglish: [link](https://github.com/pmathur5k10/Hinglish-Offensive-Text-Classification/blob/main/Hinglish_Profanity_List.csv)
131
+ * Japanese: [link](https://github.com/MosasoM/inappropriate-words-ja/tree/master)
132
+ * Tatar: [link](https://github.com/facebookresearch/flores/blob/main/toxicity/README.md) combined with translated keywords in Russian.
133
+
134
+ We also added toxic words from Toxicity-200 [corpus](https://github.com/facebookresearch/flores/blob/main/toxicity/README.md) from Facebook Research for all the languages.
135
+
136
+ All credits go to the authors of the original toxic words lists.
137
+
138
+ ## Citation
139
+ If you would like to acknowledge our work, please, cite the following manuscripts:
140
+
141
+ **[2024]**
142
+ ```
143
+ @inproceedings{dementieva2024overview,
144
+ title={Overview of the Multilingual Text Detoxification Task at PAN 2024},
145
+ 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},
146
+ booktitle={Working Notes of CLEF 2024 - Conference and Labs of the Evaluation Forum},
147
+ editor={Guglielmo Faggioli and Nicola Ferro and Petra Galu{\v{s}}{\v{c}}{\'a}kov{\'a} and Alba Garc{\'i}a Seco de Herrera},
148
+ year={2024},
149
+ organization={CEUR-WS.org}
150
+ }
151
+ ```
152
+
153
+ ```
154
+ @inproceedings{DBLP:conf/ecir/BevendorffCCDEFFKMMPPRRSSSTUWZ24,
155
+ author = {Janek Bevendorff and
156
+ Xavier Bonet Casals and
157
+ Berta Chulvi and
158
+ Daryna Dementieva and
159
+ Ashaf Elnagar and
160
+ Dayne Freitag and
161
+ Maik Fr{\"{o}}be and
162
+ Damir Korencic and
163
+ Maximilian Mayerl and
164
+ Animesh Mukherjee and
165
+ Alexander Panchenko and
166
+ Martin Potthast and
167
+ Francisco Rangel and
168
+ Paolo Rosso and
169
+ Alisa Smirnova and
170
+ Efstathios Stamatatos and
171
+ Benno Stein and
172
+ Mariona Taul{\'{e}} and
173
+ Dmitry Ustalov and
174
+ Matti Wiegmann and
175
+ Eva Zangerle},
176
+ editor = {Nazli Goharian and
177
+ Nicola Tonellotto and
178
+ Yulan He and
179
+ Aldo Lipani and
180
+ Graham McDonald and
181
+ Craig Macdonald and
182
+ Iadh Ounis},
183
+ title = {Overview of {PAN} 2024: Multi-author Writing Style Analysis, Multilingual
184
+ Text Detoxification, Oppositional Thinking Analysis, and Generative
185
+ {AI} Authorship Verification - Extended Abstract},
186
+ booktitle = {Advances in Information Retrieval - 46th European Conference on Information
187
+ Retrieval, {ECIR} 2024, Glasgow, UK, March 24-28, 2024, Proceedings,
188
+ Part {VI}},
189
+ series = {Lecture Notes in Computer Science},
190
+ volume = {14613},
191
+ pages = {3--10},
192
+ publisher = {Springer},
193
+ year = {2024},
194
+ url = {https://doi.org/10.1007/978-3-031-56072-9\_1},
195
+ doi = {10.1007/978-3-031-56072-9\_1},
196
+ timestamp = {Fri, 29 Mar 2024 23:01:36 +0100},
197
+ biburl = {https://dblp.org/rec/conf/ecir/BevendorffCCDEFFKMMPPRRSSSTUWZ24.bib},
198
+ bibsource = {dblp computer science bibliography, https://dblp.org}
199
+ }
200
+ ```
data/am-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e885aacebc6c1589ffc3fc17d4caf23a64c655bbd188cbb1efa0fdd1f2eb72b3
3
+ size 3067
data/ar-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f6c14237bfe9c06d4828ae439e49600917880c7f93dce2c2637cea3d24f5303
3
+ size 4622
data/de-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbc15682135e07118422faa1f53a3edc4c114a4c9f9cb865e89b06fd1cf6f21d
3
+ size 2905
data/en-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72c6656f0bed02ba98201aeebd784a350e746aff2dec6e8f35228f4adcf28b6d
3
+ size 33962
data/es-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de010ccfba442ca0d99eddf497f18cc3fd7f7549719e7a53298afc9f04ac0750
3
+ size 11402
data/fr-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4593cbc37faa8dc7c8fb07181cdfd08547ed549f3658be2a20929658fe63296
3
+ size 15081
data/he-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f149e677bb36efef37bc5809a0102d6219cb82904316fc13818d30d8a348d9c
3
+ size 6990
data/hi-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85dd2599bba579b375e27a1487cd338d50cd3927e6b40456838446a592d366b5
3
+ size 2291
data/hin-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f20c7f890569549743e5d4cf7641247a501342123d4b3bfefb78a2aa00343d6e
3
+ size 2485
data/it-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54609fc3f8600adeaa02036eeff3fbf8cafd6e50d297c8da85b5299a53a23a6b
3
+ size 6777
data/ja-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a7404838dec67a82ab6ded70659d4c58944cd71e7a67e6cff6583b4a6529008
3
+ size 4289
data/ru-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d16b04face71b0ffa6f934970311a51b531c07957ce2d26eef70e7f597ecf469
3
+ size 1881726
data/tt-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9f196289589e8754abd283ff478a659df3cbb198e9d8621064ace7fd7b4d530
3
+ size 150402
data/uk-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9ffec12d5f79b9db02e06dba958702ba844f87521ec674a029ceda2de39e14e
3
+ size 90290
data/zh-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2b366b2bb93e67a46a26060efd591a0b158e8d08edea5336907caf9ad7e5698
3
+ size 38650