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
1 |
+
---
|
2 |
+
pretty_name: SEA Toxicity Detection
|
3 |
+
license:
|
4 |
+
- cc-by-nc-sa-4.0
|
5 |
+
- cc-by-nc-3.0
|
6 |
+
- cc-by-nc-4.0
|
7 |
+
task_categories:
|
8 |
+
- text-generation
|
9 |
+
- text-classification
|
10 |
+
language:
|
11 |
+
- id
|
12 |
+
- th
|
13 |
+
- vi
|
14 |
+
dataset_info:
|
15 |
+
features:
|
16 |
+
- name: label
|
17 |
+
dtype: string
|
18 |
+
- name: prompts
|
19 |
+
list:
|
20 |
+
- name: text
|
21 |
+
dtype: string
|
22 |
+
- name: prompt_templates
|
23 |
+
sequence: string
|
24 |
+
- name: id
|
25 |
+
dtype: string
|
26 |
+
- name: metadata
|
27 |
+
struct:
|
28 |
+
- name: language
|
29 |
+
dtype: string
|
30 |
+
splits:
|
31 |
+
- name: id
|
32 |
+
num_bytes: 728212
|
33 |
+
num_examples: 1000
|
34 |
+
num_tokens_gpt_4o: 34416
|
35 |
+
num_tokens_gemma_2: 34238
|
36 |
+
num_tokens_llama_3: 40537
|
37 |
+
- name: id_fewshot
|
38 |
+
num_bytes: 780
|
39 |
+
num_examples: 5
|
40 |
+
num_tokens_gpt_4o: 183
|
41 |
+
num_tokens_gemma_2: 174
|
42 |
+
num_tokens_llama_3: 216
|
43 |
+
- name: th
|
44 |
+
num_bytes: 1356637
|
45 |
+
num_examples: 1000
|
46 |
+
num_tokens_gpt_4o: 38189
|
47 |
+
num_tokens_gemma_2: 35980
|
48 |
+
num_tokens_llama_3: 42901
|
49 |
+
- name: th_fewshot
|
50 |
+
num_bytes: 983
|
51 |
+
num_examples: 5
|
52 |
+
num_tokens_gpt_4o: 130
|
53 |
+
num_tokens_gemma_2: 121
|
54 |
+
num_tokens_llama_3: 150
|
55 |
+
- name: vi
|
56 |
+
num_bytes: 699612
|
57 |
+
num_examples: 1000
|
58 |
+
num_tokens_gpt_4o: 17540
|
59 |
+
num_tokens_gemma_2: 16904
|
60 |
+
num_tokens_llama_3: 18287
|
61 |
+
- name: vi_fewshot
|
62 |
+
num_bytes: 584
|
63 |
+
num_examples: 5
|
64 |
+
num_tokens_gpt_4o: 104
|
65 |
+
num_tokens_gemma_2: 97
|
66 |
+
num_tokens_llama_3: 104
|
67 |
+
download_size: 283080
|
68 |
+
dataset_size: 2786808
|
69 |
+
total_tokens_gpt_4o: 90562
|
70 |
+
total_tokens_gemma_2: 87514
|
71 |
+
total_tokens_llama_3: 102195
|
72 |
+
configs:
|
73 |
+
- config_name: default
|
74 |
+
data_files:
|
75 |
+
- split: id
|
76 |
+
path: data/id-*
|
77 |
+
- split: id_fewshot
|
78 |
+
path: data/id_fewshot-*
|
79 |
+
- split: th
|
80 |
+
path: data/th-*
|
81 |
+
- split: th_fewshot
|
82 |
+
path: data/th_fewshot-*
|
83 |
+
- split: vi
|
84 |
+
path: data/vi-*
|
85 |
+
- split: vi_fewshot
|
86 |
+
path: data/vi_fewshot-*
|
87 |
+
size_categories:
|
88 |
+
- 1K<n<10K
|
89 |
+
---
|
90 |
+
|
91 |
+
# SEA Toxicity Detection
|
92 |
+
SEA Toxicity Detection evaluates a model's ability to identify toxic content such as hate speech and abusive language in text. It is sampled from [MLHSD](https://aclanthology.org/W19-3506/) for Indonesian, [TTD](http://lrec-conf.org/workshops/lrec2018/W32/pdf/1_W32.pdf) for Thai, and [ViHSD](https://link.springer.com/chapter/10.1007/978-3-030-79457-6_35) for Vietnamese.
|
93 |
+
|
94 |
+
### Supported Tasks and Leaderboards
|
95 |
+
SEA Toxicity Detection is designed for evaluating chat or instruction-tuned large language models (LLMs). It is part of the [SEA-HELM](https://leaderboard.sea-lion.ai/) leaderboard from [AI Singapore](https://aisingapore.org/).
|
96 |
+
|
97 |
+
### Languages
|
98 |
+
- Indonesian (id)
|
99 |
+
- Thai (th)
|
100 |
+
- Vietnamese (vi)
|
101 |
+
|
102 |
+
### Dataset Details
|
103 |
+
SEA Toxicity Detection is split by language, with additional splits containing fewshot examples. Below are the statistics for this dataset. The number of tokens only refer to the strings of text found within the `prompts` column.
|
104 |
+
|
105 |
+
| Split | # of examples | # of GPT-4o tokens | # of Gemma 2 tokens | # of Llama 3 tokens |
|
106 |
+
|-|:-|:-|:-|:-|
|
107 |
+
| id | 1000 | 34416 | 34238 | 40537
|
108 |
+
| th | 1000 | 38189 | 35980 | 42901
|
109 |
+
| vi | 1000 | 17540 | 16904 | 18287
|
110 |
+
| id_fewshot | 5 | 183 | 174 | 216
|
111 |
+
| th_fewshot | 5 | 130 | 121 | 150
|
112 |
+
| vi_fewshot | 5 | 104 | 97 | 104
|
113 |
+
| **total** | 3015 | 90562 | 87514 | 102195 |
|
114 |
+
|
115 |
+
### Data Sources
|
116 |
+
|
117 |
+
| Data Source | License | Language/s | Split/s
|
118 |
+
|-|:-|:-| :-|
|
119 |
+
| [MLHSD](https://github.com/okkyibrohim/id-multi-label-hate-speech-and-abusive-language-detection) | [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) | Indonesian | id, id_fewshot
|
120 |
+
| [TTD](https://huggingface.co/datasets/tmu-nlp/thai_toxicity_tweet) | [CC BY-NC 3.0](https://creativecommons.org/licenses/by-nc/3.0/) | Thai |th, th_fewshot
|
121 |
+
| [ViHSD](https://github.com/sonlam1102/vihsd) | [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) | Vietnamese | vi, vi_fewshot
|
122 |
+
|
123 |
+
### License
|
124 |
+
|
125 |
+
For the license/s of the dataset/s, please refer to the data sources table above.
|
126 |
+
|
127 |
+
We endeavor to ensure data used is permissible and have chosen datasets from creators who have processes to exclude copyrighted or disputed data.
|
128 |
+
|
129 |
+
|
130 |
+
### References
|
131 |
+
|
132 |
+
```bibtex
|
133 |
+
@inproceedings{ibrohim-budi-2019-multi,
|
134 |
+
title = "Multi-label Hate Speech and Abusive Language Detection in {I}ndonesian {T}witter",
|
135 |
+
author = "Ibrohim, Muhammad Okky and
|
136 |
+
Budi, Indra",
|
137 |
+
editor = "Roberts, Sarah T. and
|
138 |
+
Tetreault, Joel and
|
139 |
+
Prabhakaran, Vinodkumar and
|
140 |
+
Waseem, Zeerak",
|
141 |
+
booktitle = "Proceedings of the Third Workshop on Abusive Language Online",
|
142 |
+
month = aug,
|
143 |
+
year = "2019",
|
144 |
+
address = "Florence, Italy",
|
145 |
+
publisher = "Association for Computational Linguistics",
|
146 |
+
url = "https://aclanthology.org/W19-3506",
|
147 |
+
doi = "10.18653/v1/W19-3506",
|
148 |
+
pages = "46--57",
|
149 |
+
}
|
150 |
+
|
151 |
+
@inproceedings{sirihattasak2018annotation,
|
152 |
+
title={Annotation and classification of toxicity for Thai Twitter},
|
153 |
+
author={Sirihattasak, Sugan and Komachi, Mamoru and Ishikawa, Hiroshi},
|
154 |
+
booktitle={TA-COS 2018: 2nd Workshop on Text Analytics for Cybersecurity and Online Safety},
|
155 |
+
pages={1},
|
156 |
+
year={2018}
|
157 |
+
}
|
158 |
+
|
159 |
+
@InProceedings{10.1007/978-3-030-79457-6_35,
|
160 |
+
author="Luu, Son T.
|
161 |
+
and Nguyen, Kiet Van
|
162 |
+
and Nguyen, Ngan Luu-Thuy",
|
163 |
+
editor="Fujita, Hamido
|
164 |
+
and Selamat, Ali
|
165 |
+
and Lin, Jerry Chun-Wei
|
166 |
+
and Ali, Moonis",
|
167 |
+
title="A Large-Scale Dataset for Hate Speech Detection on Vietnamese Social Media Texts",
|
168 |
+
booktitle="Advances and Trends in Artificial Intelligence. Artificial Intelligence Practices",
|
169 |
+
year="2021",
|
170 |
+
publisher="Springer International Publishing",
|
171 |
+
address="Cham",
|
172 |
+
pages="415--426",
|
173 |
+
isbn="978-3-030-79457-6"
|
174 |
+
}
|
175 |
+
|
176 |
+
@misc{leong2023bhasaholisticsoutheastasian,
|
177 |
+
title={BHASA: A Holistic Southeast Asian Linguistic and Cultural Evaluation Suite for Large Language Models},
|
178 |
+
author={Wei Qi Leong and Jian Gang Ngui and Yosephine Susanto and Hamsawardhini Rengarajan and Kengatharaiyer Sarveswaran and William Chandra Tjhi},
|
179 |
+
year={2023},
|
180 |
+
eprint={2309.06085},
|
181 |
+
archivePrefix={arXiv},
|
182 |
+
primaryClass={cs.CL},
|
183 |
+
url={https://arxiv.org/abs/2309.06085},
|
184 |
+
}
|
185 |
+
```
|