Datasets:
Fix error with French langage
#3
by
angeluriot
- opened
mqa.py
CHANGED
@@ -139,7 +139,7 @@ class MQA(datasets.GeneratorBasedBuilder):
|
|
139 |
return e[key]
|
140 |
|
141 |
for filename in filenames:
|
142 |
-
with open(filename, "r") as f:
|
143 |
domain = []
|
144 |
previous_domain = ''
|
145 |
for line in f:
|
|
|
139 |
return e[key]
|
140 |
|
141 |
for filename in filenames:
|
142 |
+
with open(filename, "r", encoding="utf-8") as f:
|
143 |
domain = []
|
144 |
previous_domain = ''
|
145 |
for line in f:
|