Felix commited on
Commit
f9c1f9a
1 Parent(s): 374ecc4

add dev and train splits of sweparaphrase

Browse files
Files changed (1) hide show
  1. superlim-2.py +2 -2
superlim-2.py CHANGED
@@ -334,7 +334,7 @@ class SuperLim(datasets.GeneratorBasedBuilder):
334
  },
335
  )
336
  splits.append(split_test)
337
- if self.config.name in ("absabank-imm", "dalaj-ged", "swefaq", "swewic", "swedn"):
338
  data_dir_dev = dl_manager.download_and_extract(os.path.join(_URL,_TASKS[self.config.name],f"{_TASKS[self.config.name]}_dev.{file_format}"))
339
  split_dev = datasets.SplitGenerator(
340
  name=datasets.Split.VALIDATION,
@@ -345,7 +345,7 @@ class SuperLim(datasets.GeneratorBasedBuilder):
345
  },
346
  )
347
  splits.append(split_dev)
348
- if self.config.name in ("absabank-imm", "dalaj-ged", "swefaq", "swewic", "argumentation_sent", "swedn"):
349
  data_dir_train = dl_manager.download_and_extract(os.path.join(_URL,_TASKS[self.config.name],f"{_TASKS[self.config.name]}_train.{file_format}"))
350
  split_train = datasets.SplitGenerator(
351
  name=datasets.Split.TRAIN,
 
334
  },
335
  )
336
  splits.append(split_test)
337
+ if self.config.name in ("absabank-imm", "dalaj-ged", "swefaq", "swewic", "swedn", "swepar"):
338
  data_dir_dev = dl_manager.download_and_extract(os.path.join(_URL,_TASKS[self.config.name],f"{_TASKS[self.config.name]}_dev.{file_format}"))
339
  split_dev = datasets.SplitGenerator(
340
  name=datasets.Split.VALIDATION,
 
345
  },
346
  )
347
  splits.append(split_dev)
348
+ if self.config.name in ("absabank-imm", "dalaj-ged", "swefaq", "swewic", "argumentation_sent", "swedn", "swepar"):
349
  data_dir_train = dl_manager.download_and_extract(os.path.join(_URL,_TASKS[self.config.name],f"{_TASKS[self.config.name]}_train.{file_format}"))
350
  split_train = datasets.SplitGenerator(
351
  name=datasets.Split.TRAIN,