siyue commited on
Commit
beabacb
1 Parent(s): fc32baa
Files changed (1) hide show
  1. squall.py +6 -6
squall.py CHANGED
@@ -69,11 +69,11 @@ class Squall(datasets.GeneratorBasedBuilder):
69
  """SQUALL: Lexical-level Supervised Table Question Answering Dataset."""
70
 
71
  BUILDER_CONFIGS = [
72
- SquallConfig(name = '0'),
73
- SquallConfig(name = '1'),
74
- SquallConfig(name = '2'),
75
- SquallConfig(name = '3'),
76
- SquallConfig(name = '4')
77
  ]
78
 
79
  def _info(self):
@@ -142,7 +142,7 @@ class Squall(datasets.GeneratorBasedBuilder):
142
  logger.info("generating examples from = %s", filepath)
143
 
144
  squall_full = filepath["squall"]
145
- dev_ids = filepath["dev-" + self.config.name]
146
  test = filepath["wtq-test"]
147
 
148
  if split_key != 'test':
 
69
  """SQUALL: Lexical-level Supervised Table Question Answering Dataset."""
70
 
71
  BUILDER_CONFIGS = [
72
+ SquallConfig(name = 0),
73
+ SquallConfig(name = 1),
74
+ SquallConfig(name = 2),
75
+ SquallConfig(name = 3),
76
+ SquallConfig(name = 4)
77
  ]
78
 
79
  def _info(self):
 
142
  logger.info("generating examples from = %s", filepath)
143
 
144
  squall_full = filepath["squall"]
145
+ dev_ids = filepath["dev-" + str(self.config.name)]
146
  test = filepath["wtq-test"]
147
 
148
  if split_key != 'test':