updated column names
Browse files- data/tempo_wic/test.jsonl +2 -2
- data/tempo_wic/train.jsonl +2 -2
- data/tempo_wic/validation.jsonl +2 -2
- data/tweet_nerd/test.jsonl +2 -2
- data/tweet_nerd/train.jsonl +2 -2
- data/tweet_nerd/validation.jsonl +2 -2
- super_tweeteval.py +4 -4
data/tempo_wic/test.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:be5a07792653815bf84bcb6478a089606223945c183a72a732528ef9b4f96dc7
|
3 |
+
size 1259869
|
data/tempo_wic/train.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84e8b5acfbfbad7966c60d8b53a8e1831bc50cdda4d3d33f11055c5968333cd4
|
3 |
+
size 1406421
|
data/tempo_wic/validation.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d0b842d2a98f47bde5d50b19d282088ebb6ecab568e36122823d0e58975297ae
|
3 |
+
size 341073
|
data/tweet_nerd/test.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60ee2d5533f3ed2b2c9a6b5076131bb3d84b205f0296ff175eda30146b78eca8
|
3 |
+
size 114092
|
data/tweet_nerd/train.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60ee2d5533f3ed2b2c9a6b5076131bb3d84b205f0296ff175eda30146b78eca8
|
3 |
+
size 114092
|
data/tweet_nerd/validation.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60ee2d5533f3ed2b2c9a6b5076131bb3d84b205f0296ff175eda30146b78eca8
|
3 |
+
size 114092
|
super_tweeteval.py
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
import json
|
3 |
import datasets
|
4 |
|
5 |
-
_VERSION = "0.1.
|
6 |
_SUPER_TWEETEVAL_CITATION = """TBA"""
|
7 |
_SUPER_TWEETEVAL_DESCRIPTION = """TBA"""
|
8 |
_TWEET_TOPIC_DESCRIPTION = """
|
@@ -247,7 +247,7 @@ class SuperTweetEval(datasets.GeneratorBasedBuilder):
|
|
247 |
name="tempo_wic",
|
248 |
description=_TEMPO_WIC_DESCRIPTION,
|
249 |
citation=_TEMPO_WIC_CITATION,
|
250 |
-
features=['gold_label_binary', '
|
251 |
'text_1', 'text_1_tokenized', 'text_start_1', 'text_end_1', 'date_1',
|
252 |
'text_2', 'text_2_tokenized', 'text_start_2', 'text_end_2', 'date_2'],
|
253 |
data_url="https://huggingface.co/datasets/cardiffnlp/super_tweet_eval/resolve/main/data/tempo_wic",
|
@@ -263,7 +263,7 @@ class SuperTweetEval(datasets.GeneratorBasedBuilder):
|
|
263 |
name="tweet_nerd",
|
264 |
description=_TWEET_NERD_DESCRIPTION,
|
265 |
citation=_TWEET_NERD_CITATION,
|
266 |
-
features=['gold_label_binary', 'target', '
|
267 |
'definition', 'text_start', 'text_end'],
|
268 |
data_url="https://huggingface.co/datasets/cardiffnlp/super_tweet_eval/resolve/main/data/tweet_nerd",
|
269 |
),
|
@@ -333,7 +333,7 @@ class SuperTweetEval(datasets.GeneratorBasedBuilder):
|
|
333 |
features["text"] = datasets.Value("string")
|
334 |
if self.config.name == "tweet_nerd":
|
335 |
features['target'] = datasets.Value("string")
|
336 |
-
features['
|
337 |
features['definition'] = datasets.Value("string")
|
338 |
features['text_start'] = datasets.Value("int32")
|
339 |
features['text_end'] = datasets.Value("int32")
|
|
|
2 |
import json
|
3 |
import datasets
|
4 |
|
5 |
+
_VERSION = "0.1.53"
|
6 |
_SUPER_TWEETEVAL_CITATION = """TBA"""
|
7 |
_SUPER_TWEETEVAL_DESCRIPTION = """TBA"""
|
8 |
_TWEET_TOPIC_DESCRIPTION = """
|
|
|
247 |
name="tempo_wic",
|
248 |
description=_TEMPO_WIC_DESCRIPTION,
|
249 |
citation=_TEMPO_WIC_CITATION,
|
250 |
+
features=['gold_label_binary', 'target',
|
251 |
'text_1', 'text_1_tokenized', 'text_start_1', 'text_end_1', 'date_1',
|
252 |
'text_2', 'text_2_tokenized', 'text_start_2', 'text_end_2', 'date_2'],
|
253 |
data_url="https://huggingface.co/datasets/cardiffnlp/super_tweet_eval/resolve/main/data/tempo_wic",
|
|
|
263 |
name="tweet_nerd",
|
264 |
description=_TWEET_NERD_DESCRIPTION,
|
265 |
citation=_TWEET_NERD_CITATION,
|
266 |
+
features=['gold_label_binary', 'target', 'text',
|
267 |
'definition', 'text_start', 'text_end'],
|
268 |
data_url="https://huggingface.co/datasets/cardiffnlp/super_tweet_eval/resolve/main/data/tweet_nerd",
|
269 |
),
|
|
|
333 |
features["text"] = datasets.Value("string")
|
334 |
if self.config.name == "tweet_nerd":
|
335 |
features['target'] = datasets.Value("string")
|
336 |
+
features['text'] = datasets.Value("string")
|
337 |
features['definition'] = datasets.Value("string")
|
338 |
features['text_start'] = datasets.Value("int32")
|
339 |
features['text_end'] = datasets.Value("int32")
|