siyue commited on
Commit
4e6d8b6
·
1 Parent(s): e093a86
Files changed (1) hide show
  1. squall.py +1 -1
squall.py CHANGED
@@ -152,7 +152,7 @@ class Squall(datasets.GeneratorBasedBuilder):
152
  if split_key != 'test':
153
  with open(squall_full, encoding="utf-8") as f:
154
  squall_full_data = json.load(f)
155
-
156
  NUM_MAPPING = {
157
  'half': 0.5,
158
  'one': 1,
 
152
  if split_key != 'test':
153
  with open(squall_full, encoding="utf-8") as f:
154
  squall_full_data = json.load(f)
155
+ raise ValueError(f"type {type(squall_full_data)}")
156
  NUM_MAPPING = {
157
  'half': 0.5,
158
  'one': 1,