misikoff commited on
Commit
8bf01b2
·
1 Parent(s): fc8fd41

simple test

Browse files
Files changed (1) hide show
  1. zillow.py +4 -4
zillow.py CHANGED
@@ -92,9 +92,9 @@ class NewDataset(datasets.GeneratorBasedBuilder):
92
  ): # This is the name of the configuration selected in BUILDER_CONFIGS above
93
  features = datasets.Features(
94
  {
95
- "RegionID": datasets.Value("RegionID"),
96
  "SizeRank": datasets.Value("SizeRank"),
97
- "RegionName": datasets.Value("RegionName"),
98
  # These are the features of your dataset like images, labels ...
99
  }
100
  )
@@ -172,9 +172,9 @@ class NewDataset(datasets.GeneratorBasedBuilder):
172
  if self.config.name == "first_domain":
173
  # Yields examples as (key, example) tuples
174
  yield key, {
175
- "RegionID": data["RegionID"],
176
  "SizeRank": data["SizeRank"],
177
- "RegionName": data["RegionName"],
178
  # "answer": "" if split == "test" else data["answer"],
179
  }
180
  # else:
 
92
  ): # This is the name of the configuration selected in BUILDER_CONFIGS above
93
  features = datasets.Features(
94
  {
95
+ # "RegionID": datasets.Value("RegionID"),
96
  "SizeRank": datasets.Value("SizeRank"),
97
+ # "RegionName": datasets.Value("RegionName"),
98
  # These are the features of your dataset like images, labels ...
99
  }
100
  )
 
172
  if self.config.name == "first_domain":
173
  # Yields examples as (key, example) tuples
174
  yield key, {
175
+ # "RegionID": data["RegionID"],
176
  "SizeRank": data["SizeRank"],
177
+ # "RegionName": data["RegionName"],
178
  # "answer": "" if split == "test" else data["answer"],
179
  }
180
  # else: