Datasets:

Modalities:
Text
Libraries:
Datasets
dibyaaaaax commited on
Commit
47bcf4b
1 Parent(s): bed4bc8

Update kptimes.py

Browse files
Files changed (1) hide show
  1. kptimes.py +16 -16
kptimes.py CHANGED
@@ -100,22 +100,22 @@ class KPTimes(datasets.GeneratorBasedBuilder):
100
 
101
  data_dir = dl_manager.download_and_extract(_URLS)
102
  return [
103
- # datasets.SplitGenerator(
104
- # name=datasets.Split.TRAIN,
105
- # # These kwargs will be passed to _generate_examples
106
- # gen_kwargs={
107
- # "filepath": data_dir['train'],
108
- # "split": "train",
109
- # },
110
- # ),
111
- # datasets.SplitGenerator(
112
- # name=datasets.Split.TEST,
113
- # # These kwargs will be passed to _generate_examples
114
- # gen_kwargs={
115
- # "filepath": data_dir['test'],
116
- # "split": "test"
117
- # },
118
- # ),
119
  datasets.SplitGenerator(
120
  name=datasets.Split.VALIDATION,
121
  # These kwargs will be passed to _generate_examples
 
100
 
101
  data_dir = dl_manager.download_and_extract(_URLS)
102
  return [
103
+ datasets.SplitGenerator(
104
+ name=datasets.Split.TRAIN,
105
+ # These kwargs will be passed to _generate_examples
106
+ gen_kwargs={
107
+ "filepath": data_dir['train'],
108
+ "split": "train",
109
+ },
110
+ ),
111
+ datasets.SplitGenerator(
112
+ name=datasets.Split.TEST,
113
+ # These kwargs will be passed to _generate_examples
114
+ gen_kwargs={
115
+ "filepath": data_dir['test'],
116
+ "split": "test"
117
+ },
118
+ ),
119
  datasets.SplitGenerator(
120
  name=datasets.Split.VALIDATION,
121
  # These kwargs will be passed to _generate_examples