asahi417 commited on
Commit
0485886
·
1 Parent(s): d7e8703

add tweeteval

Browse files
dataset_stats.py CHANGED
@@ -8,7 +8,7 @@ def count_word(text):
8
 
9
 
10
  if __name__ == '__main__':
11
- data = ["chemprot", "citation_intent", "hyperpartisan_news", "rct-sample", "sciie", "amcd"]
12
  stats = {}
13
  for d in data:
14
  _data = load_dataset('asahi417/multi_domain_document_classification', d)
 
8
 
9
 
10
  if __name__ == '__main__':
11
+ data = ["chemprot", "citation_intent", "hyperpartisan_news", "rct-sample", "sciie", "amcd", 'yelp_review', 'tweet_eval_irony', 'tweet_eval_hate', 'tweet_eval_emotion']
12
  stats = {}
13
  for d in data:
14
  _data = load_dataset('asahi417/multi_domain_document_classification', d)
multi_domain_document_classification.py CHANGED
@@ -6,7 +6,7 @@ import datasets
6
  logger = datasets.logging.get_logger(__name__)
7
  _DESCRIPTION = """Multi domain document classification dataset used in [https://arxiv.org/pdf/2004.10964.pdf](https://arxiv.org/pdf/2004.10964.pdf)"""
8
  _NAME = "multi_domain_document_classification"
9
- _VERSION = "0.1.1"
10
  _CITATION = """
11
  @inproceedings{dontstoppretraining2020,
12
  author = {Suchin Gururangan and Ana Marasović and Swabha Swayamdipta and Kyle Lo and Iz Beltagy and Doug Downey and Noah A. Smith},
 
6
  logger = datasets.logging.get_logger(__name__)
7
  _DESCRIPTION = """Multi domain document classification dataset used in [https://arxiv.org/pdf/2004.10964.pdf](https://arxiv.org/pdf/2004.10964.pdf)"""
8
  _NAME = "multi_domain_document_classification"
9
+ _VERSION = "0.2.0"
10
  _CITATION = """
11
  @inproceedings{dontstoppretraining2020,
12
  author = {Suchin Gururangan and Ana Marasović and Swabha Swayamdipta and Kyle Lo and Iz Beltagy and Doug Downey and Noah A. Smith},