Commit
·
6757584
1
Parent(s):
49269e5
Update EpiClassify4GARD.py
Browse files- EpiClassify4GARD.py +2 -1
EpiClassify4GARD.py
CHANGED
@@ -110,7 +110,8 @@ class EpiSet(datasets.GeneratorBasedBuilder):
|
|
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"
|
|
|
114 |
for id_, row in enumerate(data):
|
115 |
yield id_, {
|
116 |
"text": row[0],
|
|
|
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")
|
114 |
+
next(data)
|
115 |
for id_, row in enumerate(data):
|
116 |
yield id_, {
|
117 |
"text": row[0],
|