Datasets:

Modalities:
Text
Size:
< 1K
Libraries:
Datasets
dibyaaaaax commited on
Commit
dc4e202
1 Parent(s): 73de0ed

Update nus.py

Browse files
Files changed (1) hide show
  1. nus.py +0 -16
nus.py CHANGED
@@ -106,14 +106,6 @@ class NUS(datasets.GeneratorBasedBuilder):
106
 
107
  data_dir = dl_manager.download_and_extract(_URLS)
108
  return [
109
- datasets.SplitGenerator(
110
- name=datasets.Split.TRAIN,
111
- # These kwargs will be passed to _generate_examples
112
- gen_kwargs={
113
- "filepath": data_dir['train'],
114
- "split": "train",
115
- },
116
- ),
117
  datasets.SplitGenerator(
118
  name=datasets.Split.TEST,
119
  # These kwargs will be passed to _generate_examples
@@ -122,14 +114,6 @@ class NUS(datasets.GeneratorBasedBuilder):
122
  "split": "test"
123
  },
124
  ),
125
- datasets.SplitGenerator(
126
- name=datasets.Split.VALIDATION,
127
- # These kwargs will be passed to _generate_examples
128
- gen_kwargs={
129
- "filepath": data_dir['valid'],
130
- "split": "valid",
131
- },
132
- ),
133
  ]
134
 
135
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
 
106
 
107
  data_dir = dl_manager.download_and_extract(_URLS)
108
  return [
 
 
 
 
 
 
 
 
109
  datasets.SplitGenerator(
110
  name=datasets.Split.TEST,
111
  # These kwargs will be passed to _generate_examples
 
114
  "split": "test"
115
  },
116
  ),
 
 
 
 
 
 
 
 
117
  ]
118
 
119
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`