dainis-boumber commited on
Commit
470e94f
1 Parent(s): e84a0d2

directory fix

Browse files
Files changed (1) hide show
  1. gdds.py +3 -3
gdds.py CHANGED
@@ -99,7 +99,7 @@ class GDDS(datasets.GeneratorBasedBuilder):
99
  name=datasets.Split.TRAIN,
100
  # These kwargs will be passed to _generate_examples
101
  gen_kwargs={
102
- "filepath": os.path.join(data_dir['train'], self.config.name, "train.jsonl"),
103
  "split": "train",
104
  },
105
  ),
@@ -107,7 +107,7 @@ class GDDS(datasets.GeneratorBasedBuilder):
107
  name=datasets.Split.VALIDATION,
108
  # These kwargs will be passed to _generate_examples
109
  gen_kwargs={
110
- "filepath": os.path.join(data_dir['validation'], self.config.name, "validation.jsonl"),
111
  "split": "validation",
112
  },
113
  ),
@@ -115,7 +115,7 @@ class GDDS(datasets.GeneratorBasedBuilder):
115
  name=datasets.Split.TEST,
116
  # These kwargs will be passed to _generate_examples
117
  gen_kwargs={
118
- "filepath": os.path.join(data_dir['test'], self.config.name, "test.jsonl"),
119
  "split": "test"
120
  },
121
  ),
 
99
  name=datasets.Split.TRAIN,
100
  # These kwargs will be passed to _generate_examples
101
  gen_kwargs={
102
+ "filepath": os.path.join(data_dir['train']),
103
  "split": "train",
104
  },
105
  ),
 
107
  name=datasets.Split.VALIDATION,
108
  # These kwargs will be passed to _generate_examples
109
  gen_kwargs={
110
+ "filepath": os.path.join(data_dir['validation']),
111
  "split": "validation",
112
  },
113
  ),
 
115
  name=datasets.Split.TEST,
116
  # These kwargs will be passed to _generate_examples
117
  gen_kwargs={
118
+ "filepath": os.path.join(data_dir['test']),
119
  "split": "test"
120
  },
121
  ),