mathiascreutz commited on
Commit
7bf90d1
1 Parent(s): 92f8f8d

Remodified test and validation _URLs

Browse files
Files changed (1) hide show
  1. opusparcus.py +4 -4
opusparcus.py CHANGED
@@ -46,8 +46,8 @@ _LICENSE = ""
46
  _URLs = {
47
 
48
  #"train": "train",
49
- "validation": "validation",
50
- "test": "test"
51
 
52
  }
53
 
@@ -122,7 +122,7 @@ class Opusparcus(datasets.GeneratorBasedBuilder):
122
  name=datasets.Split.TEST,
123
  # These kwargs will be passed to _generate_examples
124
  gen_kwargs={
125
- "filepath": data_dir["test.jsonl"],
126
  "split": "test"
127
  },
128
  ),
@@ -130,7 +130,7 @@ class Opusparcus(datasets.GeneratorBasedBuilder):
130
  name=datasets.Split.VALIDATION,
131
  # These kwargs will be passed to _generate_examples
132
  gen_kwargs={
133
- "filepath": data_dir["validation.jsonl"],
134
  "split": "validation",
135
  },
136
  ),
 
46
  _URLs = {
47
 
48
  #"train": "train",
49
+ "validation": "validation.jsonl",
50
+ "test": "test.jsonl"
51
 
52
  }
53
 
 
122
  name=datasets.Split.TEST,
123
  # These kwargs will be passed to _generate_examples
124
  gen_kwargs={
125
+ "filepath": data_dir["test"],
126
  "split": "test"
127
  },
128
  ),
 
130
  name=datasets.Split.VALIDATION,
131
  # These kwargs will be passed to _generate_examples
132
  gen_kwargs={
133
+ "filepath": data_dir["validation"],
134
  "split": "validation",
135
  },
136
  ),