Datasets:

Modalities:
Text
Libraries:
Datasets
License:
ukp-data-admin commited on
Commit
6d73227
1 Parent(s): 3075d10

Change ALL to TRAIN

Browse files
Files changed (1) hide show
  1. UKP_ASPECT.py +2 -2
UKP_ASPECT.py CHANGED
@@ -110,11 +110,11 @@ class UKPAspectDataset(datasets.GeneratorBasedBuilder):
110
  data_dir = dl_manager.download_and_extract(urls)
111
  return [
112
  datasets.SplitGenerator(
113
- name=datasets.Split.ALL,
114
  # These kwargs will be passed to _generate_examples
115
  gen_kwargs={
116
  "filepath": os.path.join(data_dir, "UKP_ASPECT.tsv"),
117
- "split": "all",
118
  },
119
  )
120
  ]
 
110
  data_dir = dl_manager.download_and_extract(urls)
111
  return [
112
  datasets.SplitGenerator(
113
+ name=datasets.Split.TRAIN,
114
  # These kwargs will be passed to _generate_examples
115
  gen_kwargs={
116
  "filepath": os.path.join(data_dir, "UKP_ASPECT.tsv"),
117
+ "split": "train",
118
  },
119
  )
120
  ]