leonadase commited on
Commit
441ce8d
1 Parent(s): 72d4d1b

Update fdRE.py

Browse files
Files changed (1) hide show
  1. fdRE.py +1 -1
fdRE.py CHANGED
@@ -92,7 +92,7 @@ class SemEval2010Task8(datasets.GeneratorBasedBuilder):
92
 
93
  def _generate_examples(self, filepath):
94
  """Yields examples."""
95
- with open(filepath, "r", encoding="us-ascii") as file:
96
  lines = file.readlines()
97
  num_lines_per_sample = 4
98
 
 
92
 
93
  def _generate_examples(self, filepath):
94
  """Yields examples."""
95
+ with open(filepath, "r", encoding="utf-8") as file:
96
  lines = file.readlines()
97
  num_lines_per_sample = 4
98