Commit
·
11bfd3b
1
Parent(s):
fe260fd
Update EpiClassify4GARD.py
Browse files- EpiClassify4GARD.py +2 -1
EpiClassify4GARD.py
CHANGED
|
@@ -68,5 +68,6 @@ class EpiClassify4GARD(datasets.GeneratorBasedBuilder):
|
|
| 68 |
)
|
| 69 |
next(csv_reader)
|
| 70 |
for id_, row in enumerate(csv_reader):
|
| 71 |
-
abstract
|
|
|
|
| 72 |
yield id_, {"abstract": abstract, "label": int(label)}
|
|
|
|
| 68 |
)
|
| 69 |
next(csv_reader)
|
| 70 |
for id_, row in enumerate(csv_reader):
|
| 71 |
+
abstract = row[0]
|
| 72 |
+
label = row[1]
|
| 73 |
yield id_, {"abstract": abstract, "label": int(label)}
|