Commit
·
b53fe5e
1
Parent(s):
edade14
Update EpiClassify4GARD.py
Browse files- EpiClassify4GARD.py +1 -1
EpiClassify4GARD.py
CHANGED
@@ -109,7 +109,7 @@ class EpiSet(datasets.GeneratorBasedBuilder):
|
|
109 |
def _generate_examples(self, filepath):
|
110 |
logging.info("⏳ Generating examples from = %s", filepath)
|
111 |
|
112 |
-
|
113 |
data = csv.reader(f, delimiter="\t", quoting=csv.QUOTE_NONNUMERIC)
|
114 |
next(data)
|
115 |
for id_, row in enumerate(data):
|
|
|
109 |
def _generate_examples(self, filepath):
|
110 |
logging.info("⏳ Generating examples from = %s", filepath)
|
111 |
|
112 |
+
with open(filepath, encoding="utf-8") as f:
|
113 |
data = csv.reader(f, delimiter="\t", quoting=csv.QUOTE_NONNUMERIC)
|
114 |
next(data)
|
115 |
for id_, row in enumerate(data):
|