Datasets:

Modalities:
Text
Formats:
parquet
Languages:
Arabic
ArXiv:
Libraries:
Datasets
pandas
License:
Samoed commited on
Commit
628d9f7
·
verified ·
1 Parent(s): 74c1a20

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +143 -17
README.md CHANGED
@@ -1,19 +1,145 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: text
5
- dtype: string
6
- - name: label
7
- dtype: int64
8
- splits:
9
- - name: train
10
- num_bytes: 312775
11
- num_examples: 2048
12
- download_size: 175916
13
- dataset_size: 312775
14
- configs:
15
- - config_name: default
16
- data_files:
17
- - split: train
18
- path: data/train-*
19
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - human-annotated
4
+ language:
5
+ - ara
6
+ license: unknown
7
+ multilinguality: monolingual
8
+ task_categories:
9
+ - text-classification
10
+ task_ids:
11
+ - Sentiment/Hate speech
12
+ tags:
13
+ - mteb
14
+ - text
 
 
 
 
15
  ---
16
+ <!-- adapted from https://github.com/huggingface/huggingface_hub/blob/v0.30.2/src/huggingface_hub/templates/datasetcard_template.md -->
17
+
18
+ <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;">
19
+ <h1 style="font-size: 3.5rem; color: #1a1a1a; margin: 0 0 20px 0; letter-spacing: 2px; font-weight: 700;">TweetEmotionClassification</h1>
20
+ <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>
21
+ <div style="font-size: 0.9rem; color: #2c5282; margin-top: 10px;">Massive Text Embedding Benchmark</div>
22
+ </div>
23
+
24
+ A dataset of 10,000 tweets that was created with the aim of covering the most frequently used emotion categories in Arabic tweets.
25
+
26
+ | | |
27
+ |---------------|---------------------------------------------|
28
+ | Task category | t2c |
29
+ | Domains | Social, Written |
30
+ | Reference | https://link.springer.com/chapter/10.1007/978-3-319-77116-8_8 |
31
+
32
+
33
+ ## How to evaluate on this task
34
+
35
+ You can evaluate an embedding model on this dataset using the following code:
36
+
37
+ ```python
38
+ import mteb
39
+
40
+ task = mteb.get_tasks(["TweetEmotionClassification"])
41
+ evaluator = mteb.MTEB(task)
42
+
43
+ model = mteb.get_model(YOUR_MODEL)
44
+ evaluator.run(model)
45
+ ```
46
+
47
+ <!-- Datasets want link to arxiv in readme to autolink dataset with paper -->
48
+ To learn more about how to run models on `mteb` task check out the [GitHub repitory](https://github.com/embeddings-benchmark/mteb).
49
+
50
+ ## Citation
51
+
52
+ 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).
53
+
54
+ ```bibtex
55
+
56
+ @inproceedings{al2018emotional,
57
+ author = {Al-Khatib, Amr and El-Beltagy, Samhaa R},
58
+ booktitle = {Computational Linguistics and Intelligent Text Processing: 18th International Conference, CICLing 2017, Budapest, Hungary, April 17--23, 2017, Revised Selected Papers, Part II 18},
59
+ organization = {Springer},
60
+ pages = {105--114},
61
+ title = {Emotional tone detection in arabic tweets},
62
+ year = {2018},
63
+ }
64
+
65
+
66
+ @article{enevoldsen2025mmtebmassivemultilingualtext,
67
+ title={MMTEB: Massive Multilingual Text Embedding Benchmark},
68
+ 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},
69
+ publisher = {arXiv},
70
+ journal={arXiv preprint arXiv:2502.13595},
71
+ year={2025},
72
+ url={https://arxiv.org/abs/2502.13595},
73
+ doi = {10.48550/arXiv.2502.13595},
74
+ }
75
+
76
+ @article{muennighoff2022mteb,
77
+ author = {Muennighoff, Niklas and Tazi, Nouamane and Magne, Lo{\"\i}c and Reimers, Nils},
78
+ title = {MTEB: Massive Text Embedding Benchmark},
79
+ publisher = {arXiv},
80
+ journal={arXiv preprint arXiv:2210.07316},
81
+ year = {2022}
82
+ url = {https://arxiv.org/abs/2210.07316},
83
+ doi = {10.48550/ARXIV.2210.07316},
84
+ }
85
+ ```
86
+
87
+ # Dataset Statistics
88
+ <details>
89
+ <summary> Dataset Statistics</summary>
90
+
91
+ The following code contains the descriptive statistics from the task. These can also be obtained using:
92
+
93
+ ```python
94
+ import mteb
95
+
96
+ task = mteb.get_task("TweetEmotionClassification")
97
+
98
+ desc_stats = task.metadata.descriptive_stats
99
+ ```
100
+
101
+ ```json
102
+ {
103
+ "train": {
104
+ "num_samples": 2048,
105
+ "number_of_characters": 160916,
106
+ "number_texts_intersect_with_train": null,
107
+ "min_text_length": 3,
108
+ "average_text_length": 78.572265625,
109
+ "max_text_length": 161,
110
+ "unique_text": 2047,
111
+ "unique_labels": 8,
112
+ "labels": {
113
+ "2": {
114
+ "count": 261
115
+ },
116
+ "6": {
117
+ "count": 213
118
+ },
119
+ "3": {
120
+ "count": 255
121
+ },
122
+ "5": {
123
+ "count": 216
124
+ },
125
+ "7": {
126
+ "count": 246
127
+ },
128
+ "1": {
129
+ "count": 294
130
+ },
131
+ "4": {
132
+ "count": 248
133
+ },
134
+ "0": {
135
+ "count": 315
136
+ }
137
+ }
138
+ }
139
+ }
140
+ ```
141
+
142
+ </details>
143
+
144
+ ---
145
+ *This dataset card was automatically generated using [MTEB](https://github.com/embeddings-benchmark/mteb)*