tmnam20 commited on
Commit
ecd1ac1
1 Parent(s): 4f92b97
Files changed (1) hide show
  1. VieGLUE.py +1 -1
VieGLUE.py CHANGED
@@ -609,7 +609,7 @@ class VNExpress(datasets.GeneratorBasedBuilder):
609
  file_path = os.path.join(path, file)
610
  if not os.path.isfile(file_path):
611
  continue
612
- with open(file_path) as f:
613
  all_samples = json.load(f)
614
  for sample in all_samples:
615
  if sample["label"] is None or sample["label"] == "":
 
609
  file_path = os.path.join(path, file)
610
  if not os.path.isfile(file_path):
611
  continue
612
+ with open(file_path, encoding="utf-8") as f:
613
  all_samples = json.load(f)
614
  for sample in all_samples:
615
  if sample["label"] is None or sample["label"] == "":