Ralph Peeters commited on
Commit
0c32ed7
1 Parent(s): 44d082e

update loading script

Browse files
Files changed (1) hide show
  1. products-2017.py +1 -2
products-2017.py CHANGED
@@ -58,7 +58,6 @@ class Products2017Config(datasets.BuilderConfig):
58
  )
59
 
60
  # Additional attributes
61
- self.name = name
62
  self.category = category
63
  self.size = size
64
  self.base_data_path = _BASE_DATA_PAT_FORMAT_STR.format(
@@ -190,7 +189,7 @@ class Products2017(datasets.GeneratorBasedBuilder):
190
  features=features, # Here we define them above because they are different between the two configurations
191
  # If there's a common (input, target) tuple from the features, uncomment supervised_keys line below and
192
  # specify them. They'll be used if as_supervised=True in builder.as_dataset.
193
- # supervised_keys=("sentence", "label"),
194
  # Homepage of the dataset for documentation
195
  homepage=_HOMEPAGE,
196
  # License for the dataset if available
 
58
  )
59
 
60
  # Additional attributes
 
61
  self.category = category
62
  self.size = size
63
  self.base_data_path = _BASE_DATA_PAT_FORMAT_STR.format(
 
189
  features=features, # Here we define them above because they are different between the two configurations
190
  # If there's a common (input, target) tuple from the features, uncomment supervised_keys line below and
191
  # specify them. They'll be used if as_supervised=True in builder.as_dataset.
192
+ supervised_keys=None,
193
  # Homepage of the dataset for documentation
194
  homepage=_HOMEPAGE,
195
  # License for the dataset if available