Datasets:

Tasks:
Other
Modalities:
Text
Languages:
Swedish
Libraries:
Datasets
License:
Robin Kurtz commited on
Commit
c6ed634
1 Parent(s): e96a026
Files changed (1) hide show
  1. suc3_1.py +1 -1
suc3_1.py CHANGED
@@ -159,7 +159,7 @@ class SUC3(datasets.GeneratorBasedBuilder):
159
 
160
  def _split_generators(self, dl_manager):
161
  dl_dir = dl_manager.download_and_extract(_URL + self.config.data_url)
162
- dl_dir = os.path.join(dl_dir, dl_dir.split("/")[-1].split(".")[0])
163
  return [
164
  datasets.SplitGenerator(
165
  name=datasets.Split.TRAIN,
 
159
 
160
  def _split_generators(self, dl_manager):
161
  dl_dir = dl_manager.download_and_extract(_URL + self.config.data_url)
162
+ dl_dir = os.path.join(dl_dir, self.config.data_url.split("/")[-1].split(".")[0])
163
  return [
164
  datasets.SplitGenerator(
165
  name=datasets.Split.TRAIN,