antypasd commited on
Commit
77eafbc
1 Parent(s): 5779f15

fixed tweet_emoji labels

Browse files
Files changed (1) hide show
  1. super_tweeteval.py +2 -2
super_tweeteval.py CHANGED
@@ -2,7 +2,7 @@
2
  import json
3
  import datasets
4
 
5
- _VERSION = "0.1.7"
6
  _SUPER_TWEETEVAL_CITATION = """TBA"""
7
  _SUPER_TWEETEVAL_DESCRIPTION = """TBA"""
8
  _TWEET_TOPIC_DESCRIPTION = """
@@ -348,7 +348,7 @@ class SuperTweetEval(datasets.GeneratorBasedBuilder):
348
  label_classes = [x.strip('\n') for x in label_classes]
349
  features['gold_label'] = datasets.features.ClassLabel(
350
  names=label_classes)
351
- features['gold_label'] = datasets.Value("int32")
352
  features["text"] = datasets.Value("string")
353
  features['date'] = datasets.Value("string")
354
  if self.config.name == "tweet_sentiment":
 
2
  import json
3
  import datasets
4
 
5
+ _VERSION = "0.1.71"
6
  _SUPER_TWEETEVAL_CITATION = """TBA"""
7
  _SUPER_TWEETEVAL_DESCRIPTION = """TBA"""
8
  _TWEET_TOPIC_DESCRIPTION = """
 
348
  label_classes = [x.strip('\n') for x in label_classes]
349
  features['gold_label'] = datasets.features.ClassLabel(
350
  names=label_classes)
351
+ #features['gold_label'] = datasets.Value("int32")
352
  features["text"] = datasets.Value("string")
353
  features['date'] = datasets.Value("string")
354
  if self.config.name == "tweet_sentiment":