system HF staff commited on
Commit
285b07d
1 Parent(s): 75ce5a6

Update files from the datasets library (from 1.16.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.16.0

Files changed (1) hide show
  1. xnli.py +1 -2
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".format(lang=lang))
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
  },