loicmagne commited on
Commit
9136186
·
verified ·
1 Parent(s): 6a1f5e9

Upload 25 files

Browse files
README.md ADDED
@@ -0,0 +1,260 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - ar
5
+ - fr
6
+ - de
7
+ - hi
8
+ - it
9
+ - pt
10
+ - es
11
+ multilinguality:
12
+ - multilingual
13
+ size_categories:
14
+ - 10K<n<100K
15
+ source_datasets:
16
+ - extended|other-tweet-datasets
17
+ task_categories:
18
+ - text-classification
19
+ task_ids:
20
+ - sentiment-classification
21
+ paperswithcode_id: tweet_sentiment_multilingual
22
+ pretty_name: Tweet Sentiment Multilingual
23
+ train-eval-index:
24
+ - config: sentiment
25
+ task: text-classification
26
+ task_id: multi_class_classification
27
+ splits:
28
+ train_split: train
29
+ eval_split: test
30
+ col_mapping:
31
+ text: text
32
+ label: target
33
+ metrics:
34
+ - type: accuracy
35
+ name: Accuracy
36
+ - type: f1
37
+ name: F1 macro
38
+ args:
39
+ average: macro
40
+ - type: f1
41
+ name: F1 micro
42
+ args:
43
+ average: micro
44
+ - type: f1
45
+ name: F1 weighted
46
+ args:
47
+ average: weighted
48
+ - type: precision
49
+ name: Precision macro
50
+ args:
51
+ average: macro
52
+ - type: precision
53
+ name: Precision micro
54
+ args:
55
+ average: micro
56
+ - type: precision
57
+ name: Precision weighted
58
+ args:
59
+ average: weighted
60
+ - type: recall
61
+ name: Recall macro
62
+ args:
63
+ average: macro
64
+ - type: recall
65
+ name: Recall micro
66
+ args:
67
+ average: micro
68
+ - type: recall
69
+ name: Recall weighted
70
+ args:
71
+ average: weighted
72
+ configs:
73
+ - config_name: default
74
+ data_files:
75
+ - path: train/*.jsonl.gz
76
+ split: train
77
+ - path: test/*.jsonl.gz
78
+ split: test
79
+ - path: validation/*.jsonl.gz
80
+ split: validation
81
+ - config_name: german
82
+ data_files:
83
+ - path: tweet_sentiment_multilingual/train/german.jsonl.gz
84
+ split: train
85
+ - path: tweet_sentiment_multilingual/test/german.jsonl.gz
86
+ split: test
87
+ - path: tweet_sentiment_multilingual/validation/german.jsonl.gz
88
+ split: validation
89
+ - config_name: italian
90
+ data_files:
91
+ - path: tweet_sentiment_multilingual/train/italian.jsonl.gz
92
+ split: train
93
+ - path: tweet_sentiment_multilingual/test/italian.jsonl.gz
94
+ split: test
95
+ - path: tweet_sentiment_multilingual/validation/italian.jsonl.gz
96
+ split: validation
97
+ - config_name: spanish
98
+ data_files:
99
+ - path: tweet_sentiment_multilingual/train/spanish.jsonl.gz
100
+ split: train
101
+ - path: tweet_sentiment_multilingual/test/spanish.jsonl.gz
102
+ split: test
103
+ - path: tweet_sentiment_multilingual/validation/spanish.jsonl.gz
104
+ split: validation
105
+ - config_name: french
106
+ data_files:
107
+ - path: tweet_sentiment_multilingual/train/french.jsonl.gz
108
+ split: train
109
+ - path: tweet_sentiment_multilingual/test/french.jsonl.gz
110
+ split: test
111
+ - path: tweet_sentiment_multilingual/validation/french.jsonl.gz
112
+ split: validation
113
+ - config_name: portuguese
114
+ data_files:
115
+ - path: tweet_sentiment_multilingual/train/portuguese.jsonl.gz
116
+ split: train
117
+ - path: tweet_sentiment_multilingual/test/portuguese.jsonl.gz
118
+ split: test
119
+ - path: tweet_sentiment_multilingual/validation/portuguese.jsonl.gz
120
+ split: validation
121
+ - config_name: hindi
122
+ data_files:
123
+ - path: tweet_sentiment_multilingual/train/hindi.jsonl.gz
124
+ split: train
125
+ - path: tweet_sentiment_multilingual/test/hindi.jsonl.gz
126
+ split: test
127
+ - path: tweet_sentiment_multilingual/validation/hindi.jsonl.gz
128
+ split: validation
129
+ - config_name: arabic
130
+ data_files:
131
+ - path: tweet_sentiment_multilingual/train/arabic.jsonl.gz
132
+ split: train
133
+ - path: tweet_sentiment_multilingual/test/arabic.jsonl.gz
134
+ split: test
135
+ - path: tweet_sentiment_multilingual/validation/arabic.jsonl.gz
136
+ split: validation
137
+ - config_name: english
138
+ data_files:
139
+ - path: tweet_sentiment_multilingual/train/english.jsonl.gz
140
+ split: train
141
+ - path: tweet_sentiment_multilingual/test/english.jsonl.gz
142
+ split: test
143
+ - path: tweet_sentiment_multilingual/validation/english.jsonl.gz
144
+ split: validation
145
+ dataset_info:
146
+ - config_name: sentiment
147
+ features:
148
+ - name: text
149
+ dtype: string
150
+ - name: label
151
+ dtype:
152
+ class_label:
153
+ names:
154
+ 0: negative
155
+ 1: neutral
156
+ 2: positive
157
+ ---
158
+
159
+ # Dataset Card for cardiffnlp/tweet_sentiment_multilingual
160
+
161
+ ## Dataset Description
162
+
163
+ - **Homepage:** [https://github.com/cardiffnlp/xlm-t](https://github.com/cardiffnlp/xlm-t)
164
+ - **Repository:** - **Homepage:** [https://github.com/cardiffnlp/xlm-t](https://github.com/cardiffnlp/xlm-t)
165
+ - **Paper:** [https://aclanthology.org/2022.lrec-1.27/](https://aclanthology.org/2022.lrec-1.27/)
166
+ - **Point of Contact:** [Asahi Ushio](https://asahiushio.com/)
167
+
168
+ ### Dataset Summary
169
+
170
+ Tweet Sentiment Multilingual consists of sentiment analysis dataset on Twitter in 8 different lagnuages.
171
+
172
+ - arabic
173
+ - english
174
+ - french
175
+ - german
176
+ - hindi
177
+ - italian
178
+ - portuguese
179
+ - spanish
180
+
181
+ ### Supported Tasks and Leaderboards
182
+
183
+ - `text_classification`: The dataset can be trained using a SentenceClassification model from HuggingFace transformers.
184
+
185
+ ## Dataset Structure
186
+
187
+ ### Data Instances
188
+
189
+ An instance from `sentiment` config:
190
+
191
+ ```
192
+ {'label': 2, 'text': '"QT @user In the original draft of the 7th book, Remus Lupin survived the Battle of Hogwarts. #HappyBirthdayRemusLupin"'}
193
+ ```
194
+
195
+ ### Data Fields
196
+
197
+ For `sentiment` config:
198
+
199
+ - `text`: a `string` feature containing the tweet.
200
+
201
+ - `label`: an `int` classification label with the following mapping:
202
+
203
+ `0`: negative
204
+
205
+ `1`: neutral
206
+
207
+ `2`: positive
208
+
209
+
210
+ ### Data Splits
211
+
212
+
213
+ - arabic
214
+ - english
215
+ - french
216
+ - german
217
+ - hindi
218
+ - italian
219
+ - portuguese
220
+ - spanish
221
+
222
+ | name | train | validation | test |
223
+ | --------------- | ----- | ---------- | ----- |
224
+ | arabic | 1838 | 323 | 869 |
225
+ | english | 1838 | 323 | 869 |
226
+ | french | 1838 | 323 | 869 |
227
+ | german | 1838 | 323 | 869 |
228
+ | hindi | 1838 | 323 | 869 |
229
+ | italian | 1838 | 323 | 869 |
230
+ | portuguese | 1838 | 323 | 869 |
231
+ | spanish | 1838 | 323 | 869 |
232
+
233
+ ### Dataset Curators
234
+
235
+ Francesco Barbieri, Jose Camacho-Collados, Luis Espiinosa-Anke and Leonardo Neves through Cardiff NLP.
236
+
237
+ ### Licensing Information
238
+
239
+ [Creative Commons Attribution 3.0 Unported License](https://groups.google.com/g/semevaltweet/c/k5DDcvVb_Vo/m/zEOdECFyBQAJ), and all of the datasets require complying with Twitter [Terms Of Service](https://twitter.com/tos) and Twitter API [Terms Of Service](https://developer.twitter.com/en/developer-terms/agreement-and-policy)
240
+
241
+
242
+ ### Citation Information
243
+
244
+ ```
245
+ @inproceedings{barbieri-etal-2022-xlm,
246
+ title = "{XLM}-{T}: Multilingual Language Models in {T}witter for Sentiment Analysis and Beyond",
247
+ author = "Barbieri, Francesco and
248
+ Espinosa Anke, Luis and
249
+ Camacho-Collados, Jose",
250
+ booktitle = "Proceedings of the Thirteenth Language Resources and Evaluation Conference",
251
+ month = jun,
252
+ year = "2022",
253
+ address = "Marseille, France",
254
+ publisher = "European Language Resources Association",
255
+ url = "https://aclanthology.org/2022.lrec-1.27",
256
+ pages = "258--266",
257
+ abstract = "Language models are ubiquitous in current NLP, and their multilingual capacity has recently attracted considerable attention. However, current analyses have almost exclusively focused on (multilingual variants of) standard benchmarks, and have relied on clean pre-training and task-specific corpora as multilingual signals. In this paper, we introduce XLM-T, a model to train and evaluate multilingual language models in Twitter. In this paper we provide: (1) a new strong multilingual baseline consisting of an XLM-R (Conneau et al. 2020) model pre-trained on millions of tweets in over thirty languages, alongside starter code to subsequently fine-tune on a target task; and (2) a set of unified sentiment analysis Twitter datasets in eight different languages and a XLM-T model trained on this dataset.",
258
+ }
259
+ ```
260
+
test/arabic.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:621eea2ff6177028cd9e17a0684dd8ff153178afc25fb1e87059fbd339853e4a
3
+ size 49448
test/english.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:610bde50652f0f23bad544745ee73fb84070e4968793bc458563348ef19c02f8
3
+ size 41715
test/french.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd5d1e7c3b4b33f52f4bdc2920f975ee1270272ee765a2dd7a83af98c1075684
3
+ size 35167
test/german.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ea9aadf584fea8a2bd9962eb4614c34fd770a9d36f61ba97b49dcaae791f017
3
+ size 34942
test/hindi.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f281bbf4b1748d6cca61a34b46e28153a5aa58d7e71e87727bedb43ef57f9ef
3
+ size 32528
test/italian.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdb858e55167da5e0299724c151655839d54e5fc69974888813aabe07c9b0f53
3
+ size 35432
test/portuguese.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d82458ee41700076c740eaccf54f820b62e8dae64c93c9ab6772de2127944749
3
+ size 30603
test/spanish.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d63c7ab5ad52a9d3cc11c9e1c3976924e619b775b64dabd6f8ff480ee484c692
3
+ size 36240
train/arabic.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9eeb8eb45275054a4dad1b16129da89eeba59f92a63a17a2f4172fa4abc1ee7
3
+ size 116180
train/english.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ece08250c1dee84c1206bd02fd4f069813cf81c30c0aae468a4b4267fde1634b
3
+ size 98653
train/french.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31cd829dfa6b3974ba54a1747cdd6a97c3878968752b0e85bb3d0c520d5f8443
3
+ size 78031
train/german.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2edca8f74898f1e5fac918ef952c95196589bd126e93942abdec6a440ecadda0
3
+ size 73413
train/hindi.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2535c005dd4bd9b80bcbe36a0ff6d92ca8cbb69b5bbc7df91682e30d5a1bb852
3
+ size 71982
train/italian.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:437977d18471d0b5f55b08a48b581d3a74156a295a551994a5cd46525ee7d9a1
3
+ size 78097
train/portuguese.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9d691d83db6109d462129d3a2c6a107389e4762de3e676b607a7990b5e94586
3
+ size 63791
train/spanish.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f47f52a81ce5f0c23522c76e734ce150bb30c6807eab523bcb59377a4bdfc142
3
+ size 74261
validation/arabic.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46dbc947e07588ee8c1bb674af755409c0b420e83abbc4244a831bd40d9d1d1c
3
+ size 21119
validation/english.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2845c127ebb6df3bfe88a01d8a178d8dab936da000439b5dd4af581969395d66
3
+ size 18315
validation/french.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d63acf61541325cd3531ae649a1278a93ac8ea291003cd4ad37b3c60088e41a
3
+ size 14664
validation/german.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6317c858fc3cf153ba51b61499e9f549b4894520932133e07cd711cdd488593f
3
+ size 13060
validation/hindi.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:550fb610a6bb89aa001d136997430cfaba814b3c50c1bbe22eb57926b3d41556
3
+ size 13880
validation/italian.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04a3d8119839de87f9e49cc5031d2330812277e3bc88118fa3606e5c9ac02e8e
3
+ size 15056
validation/portuguese.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43e0e5b0f2013f3eb0faab03c8c6f3fdcd2a511dc59faf230e60449b7a44fcd1
3
+ size 11642
validation/spanish.jsonl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15e21aa0426c6016f595cf90844d4a8278328feaeb37813207cc6633f639d7e1
3
+ size 14306