init
Browse files
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.
|
10 |
_CITATION = """TBA"""
|
11 |
_HOME_PAGE = "https://cardiffnlp.github.io"
|
12 |
_NAME = "tweet_topic_multilingual"
|
@@ -104,7 +104,9 @@ _URL = {}
|
|
104 |
for lan in _LANGUAGES:
|
105 |
_URL[lan] = {split: f"{_ROOT_URL}/{lan}/{lan}_{split}.jsonl" for split in ["train", "test", "validation"]}
|
106 |
_URL["en_2022"] = {split: f"{_ROOT_URL}/en_2022/{split}.jsonl" for split in ["train", "validation"]}
|
107 |
-
_URL["mix"] = {
|
|
|
|
|
108 |
# cross validation
|
109 |
for lan in _LANGUAGES:
|
110 |
_URL.update({
|
|
|
6 |
|
7 |
logger = datasets.logging.get_logger(__name__)
|
8 |
_DESCRIPTION = """[TweetTopicMultilingual](TBA)"""
|
9 |
+
_VERSION = "0.0.6"
|
10 |
_CITATION = """TBA"""
|
11 |
_HOME_PAGE = "https://cardiffnlp.github.io"
|
12 |
_NAME = "tweet_topic_multilingual"
|
|
|
104 |
for lan in _LANGUAGES:
|
105 |
_URL[lan] = {split: f"{_ROOT_URL}/{lan}/{lan}_{split}.jsonl" for split in ["train", "test", "validation"]}
|
106 |
_URL["en_2022"] = {split: f"{_ROOT_URL}/en_2022/{split}.jsonl" for split in ["train", "validation"]}
|
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({
|