Update paws-x-all.py
Browse files- paws-x-all.py +1 -1
paws-x-all.py
CHANGED
@@ -132,7 +132,7 @@ class PAWSX(datasets.GeneratorBasedBuilder):
|
|
132 |
if self.config.name == "all_x_en":
|
133 |
_TEST_FILE_NAME = [os.path.join(data_dir, f"x-final/{l}/test_2k.tsv") for l in _LANGUAGES if l != "en"]
|
134 |
_VAL_FILE_NAME = [os.path.join(data_dir, f"x-final/{l}/dev_2k.tsv") for l in _LANGUAGES if l != "en"]
|
135 |
-
|
136 |
_TEST_FILE_NAME = [os.path.join(data_dir, f"x-final/{l}/test_2k.tsv") for l in _LANGUAGES]
|
137 |
_VAL_FILE_NAME = [os.path.join(data_dir, f"x-final/{l}/dev_2k.tsv") for l in _LANGUAGES]
|
138 |
else:
|
|
|
132 |
if self.config.name == "all_x_en":
|
133 |
_TEST_FILE_NAME = [os.path.join(data_dir, f"x-final/{l}/test_2k.tsv") for l in _LANGUAGES if l != "en"]
|
134 |
_VAL_FILE_NAME = [os.path.join(data_dir, f"x-final/{l}/dev_2k.tsv") for l in _LANGUAGES if l != "en"]
|
135 |
+
elif self.config.name == "all":
|
136 |
_TEST_FILE_NAME = [os.path.join(data_dir, f"x-final/{l}/test_2k.tsv") for l in _LANGUAGES]
|
137 |
_VAL_FILE_NAME = [os.path.join(data_dir, f"x-final/{l}/dev_2k.tsv") for l in _LANGUAGES]
|
138 |
else:
|