asahi417 commited on
Commit
75bd808
1 Parent(s): cccc1ad
Files changed (2) hide show
  1. README.md +43 -1
  2. super_tweet_eval.py +4 -4
README.md CHANGED
@@ -76,9 +76,21 @@ The data fields are the same among all splits.
76
  - `labe_float`: a `float` feature.
77
 
78
  #### tempo_wic
 
 
 
79
  - `text_1`: a `string` feature.
 
 
 
 
 
80
  - `text_2`: a `string` feature.
81
- - `labe_float`: a `float` feature.
 
 
 
 
82
 
83
 
84
  ### Data Splits
@@ -92,6 +104,7 @@ The data fields are the same among all splits.
92
  | tweet_topic | multi-label classification | 4585 / 573 / 1679 |
93
 
94
  ## Citation Information
 
95
  - TweetTopic
96
  ```
97
  @inproceedings{antypas-etal-2022-twitter,
@@ -152,4 +165,33 @@ The data fields are the same among all splits.
152
  archivePrefix={arXiv},
153
  primaryClass={cs.CL}
154
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
  ```
 
76
  - `labe_float`: a `float` feature.
77
 
78
  #### tempo_wic
79
+ - `label_binary`: a `int` feature.
80
+ - `id`: a `string` feature.
81
+ - `word`: a `string` feature.
82
  - `text_1`: a `string` feature.
83
+ - `text_tokenized_1`: a list of `string` feature.
84
+ - `token_idx_1`: a `string` feature.
85
+ - `text_start_1`: a `string` feature.
86
+ - `text_end_1`: a `string` feature.
87
+ - `date_1`: a `string` feature.
88
  - `text_2`: a `string` feature.
89
+ - `text_tokenized_2`: a list of `string` feature.
90
+ - `token_idx_2`: a `string` feature.
91
+ - `text_start_2`: a `string` feature.
92
+ - `text_end_2`: a `string` feature.
93
+ - `date_2`: a `string` feature.
94
 
95
 
96
  ### Data Splits
 
104
  | tweet_topic | multi-label classification | 4585 / 573 / 1679 |
105
 
106
  ## Citation Information
107
+
108
  - TweetTopic
109
  ```
110
  @inproceedings{antypas-etal-2022-twitter,
 
165
  archivePrefix={arXiv},
166
  primaryClass={cs.CL}
167
  }
168
+ ```
169
+
170
+ - Tweet Similarity
171
+ ```
172
+ TBA
173
+ ```
174
+
175
+ - TempoWiC
176
+ ```
177
+ @inproceedings{loureiro-etal-2022-tempowic,
178
+ title = "{T}empo{W}i{C}: An Evaluation Benchmark for Detecting Meaning Shift in Social Media",
179
+ author = "Loureiro, Daniel and
180
+ D{'}Souza, Aminette and
181
+ Muhajab, Areej Nasser and
182
+ White, Isabella A. and
183
+ Wong, Gabriel and
184
+ Espinosa-Anke, Luis and
185
+ Neves, Leonardo and
186
+ Barbieri, Francesco and
187
+ Camacho-Collados, Jose",
188
+ booktitle = "Proceedings of the 29th International Conference on Computational Linguistics",
189
+ month = oct,
190
+ year = "2022",
191
+ address = "Gyeongju, Republic of Korea",
192
+ publisher = "International Committee on Computational Linguistics",
193
+ url = "https://aclanthology.org/2022.coling-1.296",
194
+ pages = "3353--3359",
195
+ abstract = "Language evolves over time, and word meaning changes accordingly. This is especially true in social media, since its dynamic nature leads to faster semantic shifts, making it challenging for NLP models to deal with new content and trends. However, the number of datasets and models that specifically address the dynamic nature of these social platforms is scarce. To bridge this gap, we present TempoWiC, a new benchmark especially aimed at accelerating research in social media-based meaning shift. Our results show that TempoWiC is a challenging benchmark, even for recently-released language models specialized in social media.",
196
+ }
197
  ```
super_tweet_eval.py CHANGED
@@ -172,8 +172,8 @@ class SuperTweetEval(datasets.GeneratorBasedBuilder):
172
  description=_TEMPO_WIC_DESCRIPTION,
173
  citation=_TEMPO_WIC_CITATION,
174
  features=['label_binary', 'id', 'word',
175
- 'text_1', 'text_tokenized_1', 'token_idx_1', 'text_start_1', 'text_end_1', 'date_1',
176
- 'text_2', 'text_tokenized_2', 'token_idx_2', 'text_start_2', 'text_end_2', 'date_2'],
177
  data_url="https://huggingface.co/datasets/cardiffnlp/super_tweet_eval/resolve/main/data/tempo_wic",
178
  )
179
  ]
@@ -197,8 +197,8 @@ class SuperTweetEval(datasets.GeneratorBasedBuilder):
197
  features["label_float"] = datasets.Value("float32")
198
  if self.config.name == "tempo_wic":
199
  features["label_binary"] = datasets.Value("int32")
200
- features["text_tokenized_1"] = datasets.Sequence(datasets.Value("string"))
201
- features["text_tokenized_2"] = datasets.Sequence(datasets.Value("string"))
202
 
203
  return datasets.DatasetInfo(
204
  description=_SUPER_TWEET_EVAL_DESCRIPTION + "\n" + self.config.description,
 
172
  description=_TEMPO_WIC_DESCRIPTION,
173
  citation=_TEMPO_WIC_CITATION,
174
  features=['label_binary', 'id', 'word',
175
+ 'text_1', 'text_1_tokenized', 'token_idx_1', 'text_start_1', 'text_end_1', 'date_1',
176
+ 'text_2', 'text_2_tokenized', 'token_idx_2', 'text_start_2', 'text_end_2', 'date_2'],
177
  data_url="https://huggingface.co/datasets/cardiffnlp/super_tweet_eval/resolve/main/data/tempo_wic",
178
  )
179
  ]
 
197
  features["label_float"] = datasets.Value("float32")
198
  if self.config.name == "tempo_wic":
199
  features["label_binary"] = datasets.Value("int32")
200
+ features["text_1_tokenized"] = datasets.Sequence(datasets.Value("string"))
201
+ features["text_2_tokenized"] = datasets.Sequence(datasets.Value("string"))
202
 
203
  return datasets.DatasetInfo(
204
  description=_SUPER_TWEET_EVAL_DESCRIPTION + "\n" + self.config.description,