Francisco Castillo commited on
Commit
0264110
1 Parent(s): b9d0ad0
Files changed (1) hide show
  1. reviews_with_drift.py +0 -20
reviews_with_drift.py CHANGED
@@ -55,8 +55,6 @@ _LICENSE = ""
55
  _URL = "https://huggingface.co/datasets/arize-ai/reviews_with_drift/resolve/main/"
56
  _URLS = {
57
  "training": _URL + "training.csv",
58
- "validation": _URL + "validation.csv",
59
- "production": _URL + "production.csv",
60
  }
61
 
62
 
@@ -79,8 +77,6 @@ class NewDataset(datasets.GeneratorBasedBuilder):
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.
@@ -132,22 +128,6 @@ class NewDataset(datasets.GeneratorBasedBuilder):
132
  "split": "training",
133
  },
134
  ),
135
- datasets.SplitGenerator(
136
- name="validation",
137
- # These kwargs will be passed to _generate_examples
138
- gen_kwargs={
139
- "filepath": downloaded_files['validation'],
140
- "split": "validation"
141
- },
142
- ),
143
- datasets.SplitGenerator(
144
- name="production",
145
- # These kwargs will be passed to _generate_examples
146
- gen_kwargs={
147
- "filepath": downloaded_files['production'],
148
- "split": "production",
149
- },
150
- ),
151
  ]
152
 
153
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
 
55
  _URL = "https://huggingface.co/datasets/arize-ai/reviews_with_drift/resolve/main/"
56
  _URLS = {
57
  "training": _URL + "training.csv",
 
 
58
  }
59
 
60
 
 
77
  # data = datasets.load_dataset('my_dataset', 'second_domain')
78
  BUILDER_CONFIGS = [
79
  datasets.BuilderConfig(name="training", version=VERSION, description="Training set"),
 
 
80
  ]
81
 
82
  DEFAULT_CONFIG_NAME = "training" # It's not mandatory to have a default configuration. Just use one if it make sense.
 
128
  "split": "training",
129
  },
130
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
  ]
132
 
133
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`