amphora commited on
Commit
2970c73
1 Parent(s): 3d4d133

Update csatqa.py

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