Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
License:

Do not extract CSV data files

#3
by albertvillanova HF staff - opened
Files changed (1) hide show
  1. banking77.py +2 -2
banking77.py CHANGED
@@ -153,8 +153,8 @@ class Banking77(datasets.GeneratorBasedBuilder):
153
 
154
  def _split_generators(self, dl_manager):
155
  """Returns SplitGenerators."""
156
- train_path = dl_manager.download_and_extract(_TRAIN_DOWNLOAD_URL)
157
- test_path = dl_manager.download_and_extract(_TEST_DOWNLOAD_URL)
158
  return [
159
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": train_path}),
160
  datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": test_path}),
 
153
 
154
  def _split_generators(self, dl_manager):
155
  """Returns SplitGenerators."""
156
+ train_path = dl_manager.download(_TRAIN_DOWNLOAD_URL)
157
+ test_path = dl_manager.download(_TEST_DOWNLOAD_URL)
158
  return [
159
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": train_path}),
160
  datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": test_path}),