Update files from the datasets library (from 1.16.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.16.0
xnli.py
CHANGED
@@ -141,8 +141,7 @@ class Xnli(datasets.GeneratorBasedBuilder):
|
|
141 |
name=datasets.Split.TRAIN,
|
142 |
gen_kwargs={
|
143 |
"filepaths": [
|
144 |
-
os.path.join(train_dir, "multinli.train.{lang}.tsv".
|
145 |
-
for lang in self.config.languages
|
146 |
],
|
147 |
"data_format": "XNLI-MT",
|
148 |
},
|
|
|
141 |
name=datasets.Split.TRAIN,
|
142 |
gen_kwargs={
|
143 |
"filepaths": [
|
144 |
+
os.path.join(train_dir, f"multinli.train.{lang}.tsv") for lang in self.config.languages
|
|
|
145 |
],
|
146 |
"data_format": "XNLI-MT",
|
147 |
},
|