Feat
Browse files- 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"] == "":
|