Francisco Castillo commited on
Commit
8eac2ab
1 Parent(s): 93bedc6

Only one config

Browse files
Files changed (1) hide show
  1. reviews_with_drift.py +2 -4
reviews_with_drift.py CHANGED
@@ -78,12 +78,10 @@ class NewDataset(datasets.GeneratorBasedBuilder):
78
  # data = datasets.load_dataset('my_dataset', 'first_domain')
79
  # data = datasets.load_dataset('my_dataset', 'second_domain')
80
  BUILDER_CONFIGS = [
81
- datasets.BuilderConfig(name="training", version=VERSION, description="Training set"),
82
- datasets.BuilderConfig(name="validation", version=VERSION, description="Validation set"),
83
- datasets.BuilderConfig(name="production", version=VERSION, description="Production set"),
84
  ]
85
 
86
- DEFAULT_CONFIG_NAME = "training" # It's not mandatory to have a default configuration. Just use one if it make sense.
87
 
88
  def _info(self):
89
  # This method specifies the datasets.DatasetInfo object which contains informations and typings for the dataset
 
78
  # data = datasets.load_dataset('my_dataset', 'first_domain')
79
  # data = datasets.load_dataset('my_dataset', 'second_domain')
80
  BUILDER_CONFIGS = [
81
+ datasets.BuilderConfig(name="default", version=VERSION, description="Default"),
 
 
82
  ]
83
 
84
+ DEFAULT_CONFIG_NAME = "default" # It's not mandatory to have a default configuration. Just use one if it make sense.
85
 
86
  def _info(self):
87
  # This method specifies the datasets.DatasetInfo object which contains informations and typings for the dataset