Datasets:

Modalities:
Text
Formats:
parquet
Languages:
Persian
ArXiv:
Libraries:
Datasets
pandas
License:
Samoed commited on
Commit
d860d11
·
verified ·
1 Parent(s): 481b849

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +269 -0
README.md CHANGED
@@ -1,4 +1,17 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
  features:
4
  - name: text
@@ -26,4 +39,260 @@ configs:
26
  path: data/validation-*
27
  - split: test
28
  path: data/test-*
 
 
 
29
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - derived
4
+ language:
5
+ - fas
6
+ license: unknown
7
+ multilinguality: monolingual
8
+ task_categories:
9
+ - text-classification
10
+ task_ids:
11
+ - sentiment-analysis
12
+ - sentiment-scoring
13
+ - sentiment-classification
14
+ - hate-speech-detection
15
  dataset_info:
16
  features:
17
  - name: text
 
39
  path: data/validation-*
40
  - split: test
41
  path: data/test-*
42
+ tags:
43
+ - mteb
44
+ - text
45
  ---
46
+ <!-- adapted from https://github.com/huggingface/huggingface_hub/blob/v0.30.2/src/huggingface_hub/templates/datasetcard_template.md -->
47
+
48
+ <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;">
49
+ <h1 style="font-size: 3.5rem; color: #1a1a1a; margin: 0 0 20px 0; letter-spacing: 2px; font-weight: 700;">NLPTwitterAnalysisClassification</h1>
50
+ <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>
51
+ <div style="font-size: 0.9rem; color: #2c5282; margin-top: 10px;">Massive Text Embedding Benchmark</div>
52
+ </div>
53
+
54
+ Twitter Analysis Classification
55
+
56
+ | | |
57
+ |---------------|---------------------------------------------|
58
+ | Task category | t2c |
59
+ | Domains | Social |
60
+ | Reference | https://huggingface.co/datasets/hamedhf/nlp_twitter_analysis/tree/main |
61
+
62
+
63
+ ## How to evaluate on this task
64
+
65
+ You can evaluate an embedding model on this dataset using the following code:
66
+
67
+ ```python
68
+ import mteb
69
+
70
+ task = mteb.get_tasks(["NLPTwitterAnalysisClassification"])
71
+ evaluator = mteb.MTEB(task)
72
+
73
+ model = mteb.get_model(YOUR_MODEL)
74
+ evaluator.run(model)
75
+ ```
76
+
77
+ <!-- Datasets want link to arxiv in readme to autolink dataset with paper -->
78
+ To learn more about how to run models on `mteb` task check out the [GitHub repitory](https://github.com/embeddings-benchmark/mteb).
79
+
80
+ ## Citation
81
+
82
+ 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).
83
+
84
+ ```bibtex
85
+
86
+
87
+ @article{enevoldsen2025mmtebmassivemultilingualtext,
88
+ title={MMTEB: Massive Multilingual Text Embedding Benchmark},
89
+ 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},
90
+ publisher = {arXiv},
91
+ journal={arXiv preprint arXiv:2502.13595},
92
+ year={2025},
93
+ url={https://arxiv.org/abs/2502.13595},
94
+ doi = {10.48550/arXiv.2502.13595},
95
+ }
96
+
97
+ @article{muennighoff2022mteb,
98
+ author = {Muennighoff, Niklas and Tazi, Nouamane and Magne, Lo{\"\i}c and Reimers, Nils},
99
+ title = {MTEB: Massive Text Embedding Benchmark},
100
+ publisher = {arXiv},
101
+ journal={arXiv preprint arXiv:2210.07316},
102
+ year = {2022}
103
+ url = {https://arxiv.org/abs/2210.07316},
104
+ doi = {10.48550/ARXIV.2210.07316},
105
+ }
106
+ ```
107
+
108
+ # Dataset Statistics
109
+ <details>
110
+ <summary> Dataset Statistics</summary>
111
+
112
+ The following code contains the descriptive statistics from the task. These can also be obtained using:
113
+
114
+ ```python
115
+ import mteb
116
+
117
+ task = mteb.get_task("NLPTwitterAnalysisClassification")
118
+
119
+ desc_stats = task.metadata.descriptive_stats
120
+ ```
121
+
122
+ ```json
123
+ {
124
+ "test": {
125
+ "num_samples": 1360,
126
+ "number_of_characters": 171909,
127
+ "number_texts_intersect_with_train": 2,
128
+ "min_text_length": 2,
129
+ "average_text_length": 126.40367647058824,
130
+ "max_text_length": 4523,
131
+ "unique_texts": 1359,
132
+ "min_labels_per_text": 5,
133
+ "average_label_per_text": 19.13455882352941,
134
+ "max_labels_per_text": 30,
135
+ "unique_labels": 23,
136
+ "labels": {
137
+ "w": {
138
+ "count": 100
139
+ },
140
+ "e": {
141
+ "count": 2014
142
+ },
143
+ "a": {
144
+ "count": 2827
145
+ },
146
+ "t": {
147
+ "count": 1860
148
+ },
149
+ "h": {
150
+ "count": 501
151
+ },
152
+ "r": {
153
+ "count": 1155
154
+ },
155
+ "_": {
156
+ "count": 2473
157
+ },
158
+ "n": {
159
+ "count": 2971
160
+ },
161
+ "d": {
162
+ "count": 1463
163
+ },
164
+ "s": {
165
+ "count": 1675
166
+ },
167
+ "o": {
168
+ "count": 1560
169
+ },
170
+ "l": {
171
+ "count": 959
172
+ },
173
+ "u": {
174
+ "count": 759
175
+ },
176
+ "m": {
177
+ "count": 555
178
+ },
179
+ "i": {
180
+ "count": 2078
181
+ },
182
+ "v": {
183
+ "count": 405
184
+ },
185
+ "f": {
186
+ "count": 350
187
+ },
188
+ "y": {
189
+ "count": 400
190
+ },
191
+ "b": {
192
+ "count": 200
193
+ },
194
+ "c": {
195
+ "count": 764
196
+ },
197
+ "p": {
198
+ "count": 400
199
+ },
200
+ "g": {
201
+ "count": 454
202
+ },
203
+ "k": {
204
+ "count": 100
205
+ }
206
+ }
207
+ },
208
+ "train": {
209
+ "num_samples": 2715,
210
+ "number_of_characters": 343076,
211
+ "number_texts_intersect_with_train": null,
212
+ "min_text_length": 2,
213
+ "average_text_length": 126.36316758747698,
214
+ "max_text_length": 7000,
215
+ "unique_texts": 2712,
216
+ "min_labels_per_text": 5,
217
+ "average_label_per_text": 19.140331491712708,
218
+ "max_labels_per_text": 30,
219
+ "unique_labels": 23,
220
+ "labels": {
221
+ "t": {
222
+ "count": 3716
223
+ },
224
+ "r": {
225
+ "count": 2307
226
+ },
227
+ "a": {
228
+ "count": 5647
229
+ },
230
+ "v": {
231
+ "count": 808
232
+ },
233
+ "e": {
234
+ "count": 4024
235
+ },
236
+ "l": {
237
+ "count": 1916
238
+ },
239
+ "_": {
240
+ "count": 4938
241
+ },
242
+ "n": {
243
+ "count": 5937
244
+ },
245
+ "d": {
246
+ "count": 2923
247
+ },
248
+ "u": {
249
+ "count": 1513
250
+ },
251
+ "b": {
252
+ "count": 400
253
+ },
254
+ "o": {
255
+ "count": 3114
256
+ },
257
+ "k": {
258
+ "count": 200
259
+ },
260
+ "s": {
261
+ "count": 3339
262
+ },
263
+ "i": {
264
+ "count": 4148
265
+ },
266
+ "p": {
267
+ "count": 800
268
+ },
269
+ "m": {
270
+ "count": 1107
271
+ },
272
+ "f": {
273
+ "count": 699
274
+ },
275
+ "y": {
276
+ "count": 799
277
+ },
278
+ "g": {
279
+ "count": 908
280
+ },
281
+ "c": {
282
+ "count": 1524
283
+ },
284
+ "h": {
285
+ "count": 999
286
+ },
287
+ "w": {
288
+ "count": 200
289
+ }
290
+ }
291
+ }
292
+ }
293
+ ```
294
+
295
+ </details>
296
+
297
+ ---
298
+ *This dataset card was automatically generated using [MTEB](https://github.com/embeddings-benchmark/mteb)*