Add dataset card
Browse files
README.md
CHANGED
|
@@ -1,4 +1,19 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
features:
|
| 4 |
- name: text
|
|
@@ -21,4 +36,123 @@ configs:
|
|
| 21 |
path: data/train-*
|
| 22 |
- split: test
|
| 23 |
path: data/test-*
|
|
|
|
|
|
|
|
|
|
| 24 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- expert-annotated
|
| 4 |
+
language:
|
| 5 |
+
- dan
|
| 6 |
+
license: cc-by-4.0
|
| 7 |
+
multilinguality: monolingual
|
| 8 |
+
source_datasets:
|
| 9 |
+
- DDSC/dkhate
|
| 10 |
+
task_categories:
|
| 11 |
+
- text-classification
|
| 12 |
+
task_ids:
|
| 13 |
+
- sentiment-analysis
|
| 14 |
+
- sentiment-scoring
|
| 15 |
+
- sentiment-classification
|
| 16 |
+
- hate-speech-detection
|
| 17 |
dataset_info:
|
| 18 |
features:
|
| 19 |
- name: text
|
|
|
|
| 36 |
path: data/train-*
|
| 37 |
- split: test
|
| 38 |
path: data/test-*
|
| 39 |
+
tags:
|
| 40 |
+
- mteb
|
| 41 |
+
- text
|
| 42 |
---
|
| 43 |
+
<!-- adapted from https://github.com/huggingface/huggingface_hub/blob/v0.30.2/src/huggingface_hub/templates/datasetcard_template.md -->
|
| 44 |
+
|
| 45 |
+
<div align="center" style="padding: 40px 20px; background-color: white; border-radius: 12px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); max-width: 600px; margin: 0 auto;">
|
| 46 |
+
<h1 style="font-size: 3.5rem; color: #1a1a1a; margin: 0 0 20px 0; letter-spacing: 2px; font-weight: 700;">DKHateClassification</h1>
|
| 47 |
+
<div style="font-size: 1.5rem; color: #4a4a4a; margin-bottom: 5px; font-weight: 300;">An <a href="https://github.com/embeddings-benchmark/mteb" style="color: #2c5282; font-weight: 600; text-decoration: none;" onmouseover="this.style.textDecoration='underline'" onmouseout="this.style.textDecoration='none'">MTEB</a> dataset</div>
|
| 48 |
+
<div style="font-size: 0.9rem; color: #2c5282; margin-top: 10px;">Massive Text Embedding Benchmark</div>
|
| 49 |
+
</div>
|
| 50 |
+
|
| 51 |
+
Danish Tweets annotated for Hate Speech either being Offensive or not
|
| 52 |
+
|
| 53 |
+
| | |
|
| 54 |
+
|---------------|---------------------------------------------|
|
| 55 |
+
| Task category | t2c |
|
| 56 |
+
| Domains | Social, Written |
|
| 57 |
+
| Reference | https://aclanthology.org/2020.lrec-1.430/ |
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
## How to evaluate on this task
|
| 63 |
+
|
| 64 |
+
You can evaluate an embedding model on this dataset using the following code:
|
| 65 |
+
|
| 66 |
+
```python
|
| 67 |
+
import mteb
|
| 68 |
+
|
| 69 |
+
task = mteb.get_task("DKHateClassification")
|
| 70 |
+
evaluator = mteb.MTEB([task])
|
| 71 |
+
|
| 72 |
+
model = mteb.get_model(YOUR_MODEL)
|
| 73 |
+
evaluator.run(model)
|
| 74 |
+
```
|
| 75 |
+
|
| 76 |
+
<!-- Datasets want link to arxiv in readme to autolink dataset with paper -->
|
| 77 |
+
To learn more about how to run models on `mteb` task check out the [GitHub repository](https://github.com/embeddings-benchmark/mteb).
|
| 78 |
+
|
| 79 |
+
## Citation
|
| 80 |
+
|
| 81 |
+
If you use this dataset, please cite the dataset as well as [mteb](https://github.com/embeddings-benchmark/mteb), as this dataset likely includes additional processing as a part of the [MMTEB Contribution](https://github.com/embeddings-benchmark/mteb/tree/main/docs/mmteb).
|
| 82 |
+
|
| 83 |
+
```bibtex
|
| 84 |
+
|
| 85 |
+
@inproceedings{sigurbergsson-derczynski-2020-offensive,
|
| 86 |
+
abstract = {The presence of offensive language on social media platforms and the implications this poses is becoming a major concern in modern society. Given the enormous amount of content created every day, automatic methods are required to detect and deal with this type of content. Until now, most of the research has focused on solving the problem for the English language, while the problem is multilingual. We construct a Danish dataset DKhate containing user-generated comments from various social media platforms, and to our knowledge, the first of its kind, annotated for various types and target of offensive language. We develop four automatic classification systems, each designed to work for both the English and the Danish language. In the detection of offensive language in English, the best performing system achieves a macro averaged F1-score of 0.74, and the best performing system for Danish achieves a macro averaged F1-score of 0.70. In the detection of whether or not an offensive post is targeted, the best performing system for English achieves a macro averaged F1-score of 0.62, while the best performing system for Danish achieves a macro averaged F1-score of 0.73. Finally, in the detection of the target type in a targeted offensive post, the best performing system for English achieves a macro averaged F1-score of 0.56, and the best performing system for Danish achieves a macro averaged F1-score of 0.63. Our work for both the English and the Danish language captures the type and targets of offensive language, and present automatic methods for detecting different kinds of offensive language such as hate speech and cyberbullying.},
|
| 87 |
+
address = {Marseille, France},
|
| 88 |
+
author = {Sigurbergsson, Gudbjartur Ingi and
|
| 89 |
+
Derczynski, Leon},
|
| 90 |
+
booktitle = {Proceedings of the Twelfth Language Resources and Evaluation Conference},
|
| 91 |
+
editor = {Calzolari, Nicoletta and
|
| 92 |
+
B{\'e}chet, Fr{\'e}d{\'e}ric and
|
| 93 |
+
Blache, Philippe and
|
| 94 |
+
Choukri, Khalid and
|
| 95 |
+
Cieri, Christopher and
|
| 96 |
+
Declerck, Thierry and
|
| 97 |
+
Goggi, Sara and
|
| 98 |
+
Isahara, Hitoshi and
|
| 99 |
+
Maegaard, Bente and
|
| 100 |
+
Mariani, Joseph and
|
| 101 |
+
Mazo, H{\'e}l{\`e}ne and
|
| 102 |
+
Moreno, Asuncion and
|
| 103 |
+
Odijk, Jan and
|
| 104 |
+
Piperidis, Stelios},
|
| 105 |
+
isbn = {979-10-95546-34-4},
|
| 106 |
+
language = {English},
|
| 107 |
+
month = may,
|
| 108 |
+
pages = {3498--3508},
|
| 109 |
+
publisher = {European Language Resources Association},
|
| 110 |
+
title = {Offensive Language and Hate Speech Detection for {D}anish},
|
| 111 |
+
url = {https://aclanthology.org/2020.lrec-1.430},
|
| 112 |
+
year = {2020},
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
|
| 116 |
+
@article{enevoldsen2025mmtebmassivemultilingualtext,
|
| 117 |
+
title={MMTEB: Massive Multilingual Text Embedding Benchmark},
|
| 118 |
+
author={Kenneth Enevoldsen and Isaac Chung and Imene Kerboua and Márton Kardos and Ashwin Mathur and David Stap and Jay Gala and Wissam Siblini and Dominik Krzemiński and Genta Indra Winata and Saba Sturua and Saiteja Utpala and Mathieu Ciancone and Marion Schaeffer and Gabriel Sequeira and Diganta Misra and Shreeya Dhakal and Jonathan Rystrøm and Roman Solomatin and Ömer Çağatan and Akash Kundu and Martin Bernstorff and Shitao Xiao and Akshita Sukhlecha and Bhavish Pahwa and Rafał Poświata and Kranthi Kiran GV and Shawon Ashraf and Daniel Auras and Björn Plüster and Jan Philipp Harries and Loïc Magne and Isabelle Mohr and Mariya Hendriksen and Dawei Zhu and Hippolyte Gisserot-Boukhlef and Tom Aarsen and Jan Kostkan and Konrad Wojtasik and Taemin Lee and Marek Šuppa and Crystina Zhang and Roberta Rocca and Mohammed Hamdy and Andrianos Michail and John Yang and Manuel Faysse and Aleksei Vatolin and Nandan Thakur and Manan Dey and Dipam Vasani and Pranjal Chitale and Simone Tedeschi and Nguyen Tai and Artem Snegirev and Michael Günther and Mengzhou Xia and Weijia Shi and Xing Han Lù and Jordan Clive and Gayatri Krishnakumar and Anna Maksimova and Silvan Wehrli and Maria Tikhonova and Henil Panchal and Aleksandr Abramov and Malte Ostendorff and Zheng Liu and Simon Clematide and Lester James Miranda and Alena Fenogenova and Guangyu Song and Ruqiya Bin Safi and Wen-Ding Li and Alessia Borghini and Federico Cassano and Hongjin Su and Jimmy Lin and Howard Yen and Lasse Hansen and Sara Hooker and Chenghao Xiao and Vaibhav Adlakha and Orion Weller and Siva Reddy and Niklas Muennighoff},
|
| 119 |
+
publisher = {arXiv},
|
| 120 |
+
journal={arXiv preprint arXiv:2502.13595},
|
| 121 |
+
year={2025},
|
| 122 |
+
url={https://arxiv.org/abs/2502.13595},
|
| 123 |
+
doi = {10.48550/arXiv.2502.13595},
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
@article{muennighoff2022mteb,
|
| 127 |
+
author = {Muennighoff, Niklas and Tazi, Nouamane and Magne, Loïc and Reimers, Nils},
|
| 128 |
+
title = {MTEB: Massive Text Embedding Benchmark},
|
| 129 |
+
publisher = {arXiv},
|
| 130 |
+
journal={arXiv preprint arXiv:2210.07316},
|
| 131 |
+
year = {2022}
|
| 132 |
+
url = {https://arxiv.org/abs/2210.07316},
|
| 133 |
+
doi = {10.48550/ARXIV.2210.07316},
|
| 134 |
+
}
|
| 135 |
+
```
|
| 136 |
+
|
| 137 |
+
# Dataset Statistics
|
| 138 |
+
<details>
|
| 139 |
+
<summary> Dataset Statistics</summary>
|
| 140 |
+
|
| 141 |
+
The following code contains the descriptive statistics from the task. These can also be obtained using:
|
| 142 |
+
|
| 143 |
+
```python
|
| 144 |
+
import mteb
|
| 145 |
+
|
| 146 |
+
task = mteb.get_task("DKHateClassification")
|
| 147 |
+
|
| 148 |
+
desc_stats = task.metadata.descriptive_stats
|
| 149 |
+
```
|
| 150 |
+
|
| 151 |
+
```json
|
| 152 |
+
{}
|
| 153 |
+
```
|
| 154 |
+
|
| 155 |
+
</details>
|
| 156 |
+
|
| 157 |
+
---
|
| 158 |
+
*This dataset card was automatically generated using [MTEB](https://github.com/embeddings-benchmark/mteb)*
|