Matīss commited on
Commit
a43a7d3
·
1 Parent(s): b6cfcca

Upload liv4ever.py

Browse files
Files changed (1) hide show
  1. liv4ever.py +3 -3
liv4ever.py CHANGED
@@ -137,7 +137,7 @@ class liv4ever(datasets.GeneratorBasedBuilder):
137
  name=datasets.Split.TRAIN,
138
  # These kwargs will be passed to _generate_examples
139
  gen_kwargs={
140
- "filepath": os.path.join(data_dir, "train.jsonl"),
141
  "split": "train",
142
  },
143
  ),
@@ -145,7 +145,7 @@ class liv4ever(datasets.GeneratorBasedBuilder):
145
  name=datasets.Split.TEST,
146
  # These kwargs will be passed to _generate_examples
147
  gen_kwargs={
148
- "filepath": os.path.join(data_dir, "test.jsonl"),
149
  "split": "test"
150
  },
151
  ),
@@ -153,7 +153,7 @@ class liv4ever(datasets.GeneratorBasedBuilder):
153
  name=datasets.Split.VALIDATION,
154
  # These kwargs will be passed to _generate_examples
155
  gen_kwargs={
156
- "filepath": os.path.join(data_dir, "dev.jsonl"),
157
  "split": "dev",
158
  },
159
  ),
 
137
  name=datasets.Split.TRAIN,
138
  # These kwargs will be passed to _generate_examples
139
  gen_kwargs={
140
+ "filepath": os.path.join(data_dir),
141
  "split": "train",
142
  },
143
  ),
 
145
  name=datasets.Split.TEST,
146
  # These kwargs will be passed to _generate_examples
147
  gen_kwargs={
148
+ "filepath": os.path.join(data_dir),
149
  "split": "test"
150
  },
151
  ),
 
153
  name=datasets.Split.VALIDATION,
154
  # These kwargs will be passed to _generate_examples
155
  gen_kwargs={
156
+ "filepath": os.path.join(data_dir),
157
  "split": "dev",
158
  },
159
  ),