amphora commited on
Commit
dea3355
1 Parent(s): 98b56cf

Update csatqa.py

Browse files
Files changed (1) hide show
  1. csatqa.py +1 -4
csatqa.py CHANGED
@@ -66,7 +66,4 @@ class CSATQA(datasets.GeneratorBasedBuilder):
66
  with open(filepath, encoding="utf-8") as f:
67
  for key, row in enumerate(f):
68
  data = json.loads(row)
69
- if data["Category"] == self.config.name:
70
- data["gold"] = int(data["gold"]) - 1
71
- data.pop("split")
72
- yield key, data
 
66
  with open(filepath, encoding="utf-8") as f:
67
  for key, row in enumerate(f):
68
  data = json.loads(row)
69
+ yield key, data