antypasd commited on
Commit
8db321a
1 Parent(s): 7a3781b

updated tweet_nerd

Browse files
data/tweet_nerd/test.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:60ee2d5533f3ed2b2c9a6b5076131bb3d84b205f0296ff175eda30146b78eca8
3
- size 114092
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d11734f8160308c26851e3070c58d62291af8aa3d55edfd2bc6ee21bdd843753
3
+ size 5933384
data/tweet_nerd/train.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:60ee2d5533f3ed2b2c9a6b5076131bb3d84b205f0296ff175eda30146b78eca8
3
- size 114092
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bdf8ce78b0a514f5f9995dd50be3aae89417de2965d330461cd41bbe685679c
3
+ size 5989468
data/tweet_nerd/validation.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:60ee2d5533f3ed2b2c9a6b5076131bb3d84b205f0296ff175eda30146b78eca8
3
- size 114092
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cc8081863c8418af69feb35e3cd9b9884323b49ffd6d453e0b76a98e20432bf
3
+ size 1177394
super_tweeteval.py CHANGED
@@ -2,7 +2,7 @@
2
  import json
3
  import datasets
4
 
5
- _VERSION = "0.1.54"
6
  _SUPER_TWEETEVAL_CITATION = """TBA"""
7
  _SUPER_TWEETEVAL_DESCRIPTION = """TBA"""
8
  _TWEET_TOPIC_DESCRIPTION = """
@@ -264,7 +264,7 @@ class SuperTweetEval(datasets.GeneratorBasedBuilder):
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
  ),
270
  SuperTweetEvalConfig(
@@ -338,6 +338,7 @@ class SuperTweetEval(datasets.GeneratorBasedBuilder):
338
  features['text_start'] = datasets.Value("int32")
339
  features['text_end'] = datasets.Value("int32")
340
  features['gold_label_binary'] = datasets.Value("int32")
 
341
  if self.config.name == "tweet_emoji":
342
  # download class mapping
343
  dl_manager = datasets.utils.download_manager.DownloadManager()
 
2
  import json
3
  import datasets
4
 
5
+ _VERSION = "0.1.6"
6
  _SUPER_TWEETEVAL_CITATION = """TBA"""
7
  _SUPER_TWEETEVAL_DESCRIPTION = """TBA"""
8
  _TWEET_TOPIC_DESCRIPTION = """
 
264
  description=_TWEET_NERD_DESCRIPTION,
265
  citation=_TWEET_NERD_CITATION,
266
  features=['gold_label_binary', 'target', 'text',
267
+ 'definition', 'text_start', 'text_end', 'date'],
268
  data_url="https://huggingface.co/datasets/cardiffnlp/super_tweet_eval/resolve/main/data/tweet_nerd",
269
  ),
270
  SuperTweetEvalConfig(
 
338
  features['text_start'] = datasets.Value("int32")
339
  features['text_end'] = datasets.Value("int32")
340
  features['gold_label_binary'] = datasets.Value("int32")
341
+ features['date'] = datasets.Value("string")
342
  if self.config.name == "tweet_emoji":
343
  # download class mapping
344
  dl_manager = datasets.utils.download_manager.DownloadManager()