wzkariampuzha
commited on
Commit
·
16e24f0
1
Parent(s):
1e1fbf6
Update EpiClassify4GARD.py
Browse files- EpiClassify4GARD.py +1 -2
EpiClassify4GARD.py
CHANGED
@@ -67,9 +67,8 @@ class EpiClassify4GARD(datasets.GeneratorBasedBuilder):
|
|
67 |
csv_reader = csv.reader(
|
68 |
csv_file, quotechar='"', delimiter="\t", quoting=csv.QUOTE_ALL, skipinitialspace=True
|
69 |
)
|
70 |
-
next(csv_reader)
|
71 |
for id_, row in enumerate(csv_reader):
|
72 |
-
print(row)
|
73 |
abstract = row[0]
|
74 |
label = row[1]
|
75 |
yield id_, {"abstract": abstract, "label": int(label)}
|
|
|
67 |
csv_reader = csv.reader(
|
68 |
csv_file, quotechar='"', delimiter="\t", quoting=csv.QUOTE_ALL, skipinitialspace=True
|
69 |
)
|
70 |
+
#next(csv_reader)
|
71 |
for id_, row in enumerate(csv_reader):
|
|
|
72 |
abstract = row[0]
|
73 |
label = row[1]
|
74 |
yield id_, {"abstract": abstract, "label": int(label)}
|