dainis-boumber commited on
Commit
07b1a5c
1 Parent(s): b9b3f32

validate to validation

Browse files
Files changed (1) hide show
  1. gdds.py +2 -2
gdds.py CHANGED
@@ -90,7 +90,7 @@ class GDDS(datasets.GeneratorBasedBuilder):
90
  urls = {
91
  "train": self.config.name+"/train.jsonl",
92
  "test": self.config.name+"/test.jsonl",
93
- "validate": self.config.name+"/validate.jsonl",
94
  }
95
  data_dir = dl_manager.download_and_extract(urls)
96
 
@@ -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, "validate.jsonl"),
111
  "split": "dev",
112
  },
113
  ),
 
90
  urls = {
91
  "train": self.config.name+"/train.jsonl",
92
  "test": self.config.name+"/test.jsonl",
93
+ "validate": self.config.name+"/validation.jsonl",
94
  }
95
  data_dir = dl_manager.download_and_extract(urls)
96
 
 
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.jsonl"),
111
  "split": "dev",
112
  },
113
  ),