Datasets:
GEM
/

Languages:
English
Multilinguality:
unknown
Size Categories:
unknown
Language Creators:
unknown
Annotations Creators:
none
Source Datasets:
original
Tags:
data-to-text
License:
ratishsp commited on
Commit
d150aec
1 Parent(s): 6d6126c

update the path of jsonl

Browse files
Files changed (1) hide show
  1. mlb_data_to_text.py +3 -3
mlb_data_to_text.py CHANGED
@@ -266,7 +266,7 @@ class MlbDataToText(datasets.GeneratorBasedBuilder):
266
  name=datasets.Split.TRAIN,
267
  # These kwargs will be passed to _generate_examples
268
  gen_kwargs={
269
- "filepath": os.path.join(data_dir, "train.jsonl"),
270
  "split": "train",
271
  },
272
  ),
@@ -274,7 +274,7 @@ class MlbDataToText(datasets.GeneratorBasedBuilder):
274
  name=datasets.Split.TEST,
275
  # These kwargs will be passed to _generate_examples
276
  gen_kwargs={
277
- "filepath": os.path.join(data_dir, "test.jsonl"),
278
  "split": "test"
279
  },
280
  ),
@@ -282,7 +282,7 @@ class MlbDataToText(datasets.GeneratorBasedBuilder):
282
  name=datasets.Split.VALIDATION,
283
  # These kwargs will be passed to _generate_examples
284
  gen_kwargs={
285
- "filepath": os.path.join(data_dir, "validation.jsonl"),
286
  "split": "validation",
287
  },
288
  ),
266
  name=datasets.Split.TRAIN,
267
  # These kwargs will be passed to _generate_examples
268
  gen_kwargs={
269
+ "filepath": os.path.join(data_dir, "data", "train.jsonl"),
270
  "split": "train",
271
  },
272
  ),
274
  name=datasets.Split.TEST,
275
  # These kwargs will be passed to _generate_examples
276
  gen_kwargs={
277
+ "filepath": os.path.join(data_dir, "data", "test.jsonl"),
278
  "split": "test"
279
  },
280
  ),
282
  name=datasets.Split.VALIDATION,
283
  # These kwargs will be passed to _generate_examples
284
  gen_kwargs={
285
+ "filepath": os.path.join(data_dir, "data", "validation.jsonl"),
286
  "split": "validation",
287
  },
288
  ),