antypasd commited on
Commit
1d84d4a
·
1 Parent(s): e6f2070

added emoji data

Browse files
data/tweet_emoji/map.txt ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 0,😂
2
+ 1,😭
3
+ 2,❤
4
+ 3,🤣
5
+ 4,🔥
6
+ 5,🟩
7
+ 6,🥺
8
+ 7,🙏
9
+ 8,😍
10
+ 9,🥰
11
+ 10,🤔
12
+ 11,😩
13
+ 12,👍
14
+ 13,🙄
15
+ 14,😊
16
+ 15,💀
17
+ 16,👏
18
+ 17,✨
19
+ 18,😅
20
+ 19,👀
21
+ 20,💕
22
+ 21,😁
23
+ 22,💯
24
+ 23,🚀
25
+ 24,😔
26
+ 25,😘
27
+ 26,🔹
28
+ 27,💖
29
+ 28,😉
30
+ 29,💔
31
+ 30,🙌
32
+ 31,😎
33
+ 32,✅
34
+ 33,😳
35
+ 34,😆
36
+ 35,🥴
37
+ 36,🥲
38
+ 37,💗
39
+ 38,😌
40
+ 39,🤗
41
+ 40,👇
42
+ 41,🎉
43
+ 42,🙃
44
+ 43,☺
45
+ 44,🤡
46
+ 45,🤩
47
+ 46,🥳
48
+ 47,👌
49
+ 48,🙂
50
+ 49,😡
51
+ 50,😒
52
+ 51,😀
53
+ 52,😢
54
+ 53,🤦‍♂️
55
+ 54,😏
56
+ 55,🚨
57
+ 56,😬
58
+ 57,👉
59
+ 58,💪
60
+ 59,🎶
61
+ 60,😤
62
+ 61,😈
63
+ 62,😋
64
+ 63,🤪
65
+ 64,💞
66
+ 65,😫
67
+ 66,😄
68
+ 67,🤭
69
+ 68,🥹
70
+ 69,💰
71
+ 70,😃
72
+ 71,😜
73
+ 72,💥
74
+ 73,🤬
75
+ 74,😐
76
+ 75,✌
77
+ 76,🤤
78
+ 77,🙈
79
+ 78,🤨
80
+ 79,🌹
81
+ 80,😞
82
+ 81,🤧
83
+ 82,😹
84
+ 83,☹
85
+ 84,💓
86
+ 85,🥵
87
+ 86,😱
88
+ 87,💎
89
+ 88,💦
90
+ 89,🤮
91
+ 90,🤝
92
+ 91,🗣
93
+ 92,😇
94
+ 93,🤷‍♂️
95
+ 94,💋
96
+ 95,🤞
97
+ 96,🚩
98
+ 97,🤯
99
+ 98,🏆
100
+ 99,😑
data/tweet_emoji/test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/tweet_emoji/train.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/tweet_emoji/validation.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
super_tweet_eval.py CHANGED
@@ -123,7 +123,16 @@ _TWEET_HATE_CITATION = """\
123
  }
124
  """
125
  _TWEET_DISAMBIGUATION_DESCRIPTION = """TBA"""
126
- _TWEET_DISAMBIGUATION_CITATION = """TBA"""
 
 
 
 
 
 
 
 
 
127
 
128
 
129
  class SuperTweetEvalConfig(datasets.BuilderConfig):
@@ -211,6 +220,13 @@ class SuperTweetEval(datasets.GeneratorBasedBuilder):
211
  citation=_TWEET_DISAMBIGUATION_CITATION,
212
  features=['gold_label_binary', 'target', 'context', 'definition', 'char_idx_start', 'car_idx_end'],
213
  data_url="https://huggingface.co/datasets/cardiffnlp/super_tweet_eval/resolve/main/data/tweet_disambiguation",
 
 
 
 
 
 
 
214
  )
215
  ]
216
 
@@ -251,6 +267,9 @@ class SuperTweetEval(datasets.GeneratorBasedBuilder):
251
  features['char_idx_start'] = datasets.Value("int32")
252
  features['car_idx_end'] = datasets.Value("int32")
253
  features['gold_label_binary'] = datasets.Value("int32")
 
 
 
254
 
255
  return datasets.DatasetInfo(
256
  description=_SUPER_TWEET_EVAL_DESCRIPTION + "\n" + self.config.description,
 
123
  }
124
  """
125
  _TWEET_DISAMBIGUATION_DESCRIPTION = """TBA"""
126
+ _TWEET_DISAMBIGUATION_CITATION = """\
127
+ @article{mishra2022tweetnerd,
128
+ title={TweetNERD--End to End Entity Linking Benchmark for Tweets},
129
+ author={Mishra, Shubhanshu and Saini, Aman and Makki, Raheleh and Mehta, Sneha and Haghighi, Aria and Mollahosseini, Ali},
130
+ journal={arXiv preprint arXiv:2210.08129},
131
+ year={2022}
132
+ }
133
+ """
134
+ _TWEET_EMOJI_DESCRIPTION = """TBA"""
135
+ _TWEET_EMOJI_CITATION = """TBA"""
136
 
137
 
138
  class SuperTweetEvalConfig(datasets.BuilderConfig):
 
220
  citation=_TWEET_DISAMBIGUATION_CITATION,
221
  features=['gold_label_binary', 'target', 'context', 'definition', 'char_idx_start', 'car_idx_end'],
222
  data_url="https://huggingface.co/datasets/cardiffnlp/super_tweet_eval/resolve/main/data/tweet_disambiguation",
223
+ ),
224
+ SuperTweetEvalConfig(
225
+ name="tweet_emoji",
226
+ description=_TWEET_EMOJI_DESCRIPTION,
227
+ citation=_TWEET_EMOJI_CITATION,
228
+ features=['gold_label', 'text'],
229
+ data_url="https://huggingface.co/datasets/cardiffnlp/super_tweet_eval/resolve/main/data/tweet_emoji",
230
  )
231
  ]
232
 
 
267
  features['char_idx_start'] = datasets.Value("int32")
268
  features['car_idx_end'] = datasets.Value("int32")
269
  features['gold_label_binary'] = datasets.Value("int32")
270
+ if self.config.name == "tweet_emoji":
271
+ features["gold_label"] = datasets.Value("int32")
272
+ features["text"] = datasets.Value("string")
273
 
274
  return datasets.DatasetInfo(
275
  description=_SUPER_TWEET_EVAL_DESCRIPTION + "\n" + self.config.description,