Datasets:
tyqiangz
commited on
Commit
·
56d092c
1
Parent(s):
396e65e
removed split, not populating correctly
Browse files- multilingual-sentiments.py +19 -19
multilingual-sentiments.py
CHANGED
|
@@ -70,25 +70,25 @@ class MultilingualSentiments(datasets.GeneratorBasedBuilder):
|
|
| 70 |
|
| 71 |
BUILDER_CONFIGS = []
|
| 72 |
|
| 73 |
-
BUILDER_CONFIGS.append(
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
)
|
| 92 |
|
| 93 |
for lang in LANGUAGES:
|
| 94 |
BUILDER_CONFIGS.append(
|
|
|
|
| 70 |
|
| 71 |
BUILDER_CONFIGS = []
|
| 72 |
|
| 73 |
+
# BUILDER_CONFIGS.append(
|
| 74 |
+
# MultilingualSentimentsConfig(
|
| 75 |
+
# name="all",
|
| 76 |
+
# description=textwrap.dedent(
|
| 77 |
+
# f"""\
|
| 78 |
+
# All datasets."""
|
| 79 |
+
# ),
|
| 80 |
+
# text_features={"text": "text", "language": "language"},
|
| 81 |
+
# label_classes=["positive", "neutral", "negative"],
|
| 82 |
+
# label_column="label",
|
| 83 |
+
# train_url=f"https://raw.githubusercontent.com/tyqiangz/multilingual-sentiment-datasets/main/data/all/train.tsv",
|
| 84 |
+
# valid_url=f"https://raw.githubusercontent.com/tyqiangz/multilingual-sentiment-datasets/main/data/all/valid.tsv",
|
| 85 |
+
# test_url=f"https://raw.githubusercontent.com/tyqiangz/multilingual-sentiment-datasets/main/data/all/test.tsv",
|
| 86 |
+
# citation=textwrap.dedent(
|
| 87 |
+
# f"""\
|
| 88 |
+
# All citation"""
|
| 89 |
+
# ),
|
| 90 |
+
# ),
|
| 91 |
+
# )
|
| 92 |
|
| 93 |
for lang in LANGUAGES:
|
| 94 |
BUILDER_CONFIGS.append(
|