Update suomi24_toxicity_pred.py
Browse files- suomi24_toxicity_pred.py +1 -1
suomi24_toxicity_pred.py
CHANGED
@@ -65,7 +65,7 @@ class Suomi24ToxicityPred(datasets.GeneratorBasedBuilder):
|
|
65 |
# The key is not important, it's more here for legacy reason (legacy from tfds)
|
66 |
|
67 |
# read the tsv file
|
68 |
-
with open(filepath, "
|
69 |
data = f.readlines()
|
70 |
data = data[1:]
|
71 |
for i in range(len(data)):
|
|
|
65 |
# The key is not important, it's more here for legacy reason (legacy from tfds)
|
66 |
|
67 |
# read the tsv file
|
68 |
+
with open(filepath, "r") as f:
|
69 |
data = f.readlines()
|
70 |
data = data[1:]
|
71 |
for i in range(len(data)):
|