asahi417 commited on
Commit
7813e95
1 Parent(s): c965b69
Files changed (1) hide show
  1. tweet_topic_multilingual.py +5 -1
tweet_topic_multilingual.py CHANGED
@@ -6,7 +6,7 @@ import datasets
6
 
7
  logger = datasets.logging.get_logger(__name__)
8
  _DESCRIPTION = """[TweetTopicMultilingual](TBA)"""
9
- _VERSION = "0.0.9"
10
  _CITATION = """TBA"""
11
  _HOME_PAGE = "https://cardiffnlp.github.io"
12
  _NAME = "tweet_topic_multilingual"
@@ -107,6 +107,10 @@ _URL["en_2022"] = {split: [f"{_ROOT_URL}/en_2022/{split}.jsonl"] for split in ["
107
  _URL["mix"] = {
108
  split: [f"{_ROOT_URL}/{lan}/{lan}_{split}.jsonl" for lan in _LANGUAGES] for split in ["train", "validation"]
109
  }
 
 
 
 
110
  # cross validation
111
  for lan in _LANGUAGES:
112
  _URL.update({
 
6
 
7
  logger = datasets.logging.get_logger(__name__)
8
  _DESCRIPTION = """[TweetTopicMultilingual](TBA)"""
9
+ _VERSION = "0.0.91"
10
  _CITATION = """TBA"""
11
  _HOME_PAGE = "https://cardiffnlp.github.io"
12
  _NAME = "tweet_topic_multilingual"
 
107
  _URL["mix"] = {
108
  split: [f"{_ROOT_URL}/{lan}/{lan}_{split}.jsonl" for lan in _LANGUAGES] for split in ["train", "validation"]
109
  }
110
+ _URL["mix_2022"] = {
111
+ split: [f"{_ROOT_URL}/{lan}/{lan}_{split}.jsonl" for lan in _LANGUAGES] + [f"{_ROOT_URL}/en_2022/{split}.jsonl"]
112
+ for split in ["train", "validation"]
113
+ }
114
  # cross validation
115
  for lan in _LANGUAGES:
116
  _URL.update({