wics commited on
Commit
a4b11fd
·
1 Parent(s): 454c2d2

Update strategy-qa.py

Browse files
Files changed (1) hide show
  1. strategy-qa.py +1 -1
strategy-qa.py CHANGED
@@ -78,7 +78,7 @@ class strategyQA(datasets.GeneratorBasedBuilder):
78
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
79
  def _generate_examples(self, filepath, split):
80
 
81
- with open(filepath,'r') as f:
82
  data = json.loads(f.read())
83
  for article_idx,single_data in enumerate(data):
84
 
 
78
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
79
  def _generate_examples(self, filepath, split):
80
 
81
+ with open(filepath,'r',encoding="utf-8") as f:
82
  data = json.loads(f.read())
83
  for article_idx,single_data in enumerate(data):
84