Datasets:
Tasks:
Text Classification
Formats:
csv
Sub-tasks:
sentiment-classification
Languages:
English
Size:
10K - 100K
License:
Francisco Castillo
commited on
Commit
·
93bedc6
1
Parent(s):
b4af583
Remove junk
Browse files- reviews_with_drift.py +0 -34
reviews_with_drift.py
CHANGED
@@ -147,40 +147,6 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
147 |
),
|
148 |
]
|
149 |
|
150 |
-
# def _split_generators(self, dl_manager):
|
151 |
-
# # This method is tasked with downloading/extracting the data and defining the splits depending on the configuration
|
152 |
-
# # If several configurations are possible (listed in BUILDER_CONFIGS), the configuration selected by the user is in self.config.name
|
153 |
-
|
154 |
-
# # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
|
155 |
-
# # It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
|
156 |
-
# # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
157 |
-
# archive = dl_manager.download(_URLS)
|
158 |
-
# return [
|
159 |
-
# datasets.SplitGenerator(
|
160 |
-
# name=datasets.Split("training"),
|
161 |
-
# # These kwargs will be passed to _generate_examples
|
162 |
-
# gen_kwargs={
|
163 |
-
# "files": dl_manager.iter_archive(archive),
|
164 |
-
# "split": "training",
|
165 |
-
# },
|
166 |
-
# ),
|
167 |
-
# datasets.SplitGenerator(
|
168 |
-
# name=datasets.Split.VALIDATION,
|
169 |
-
# # These kwargs will be passed to _generate_examples
|
170 |
-
# gen_kwargs={
|
171 |
-
# "files": dl_manager.iter_archive(archive),
|
172 |
-
# "split": "validation",
|
173 |
-
# },
|
174 |
-
# ),
|
175 |
-
# datasets.SplitGenerator(
|
176 |
-
# name=datasets.Split("production"),
|
177 |
-
# # These kwargs will be passed to _generate_examples
|
178 |
-
# gen_kwargs={
|
179 |
-
# "files": dl_manager.iter_archive(archive),
|
180 |
-
# "split": "production",
|
181 |
-
# },
|
182 |
-
# ),
|
183 |
-
# ]
|
184 |
|
185 |
# method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
186 |
def _generate_examples(self, filepath):
|
|
|
147 |
),
|
148 |
]
|
149 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
|
151 |
# method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
152 |
def _generate_examples(self, filepath):
|