Datasets:
Tasks:
Token Classification
Modalities:
Text
Sub-tasks:
coreference-resolution
Languages:
English
Size:
< 1K
License:
Arie Cattan
commited on
Commit
·
02347ac
1
Parent(s):
4341e1d
fix
Browse files
scico.py
CHANGED
@@ -83,5 +83,5 @@ class Scico(datasets.GeneratorBasedBuilder):
|
|
83 |
"""This function returns the examples in the raw (text) form."""
|
84 |
print(filepath)
|
85 |
with jsonlines.open(filepath, 'r') as f:
|
86 |
-
for topic in f:
|
87 |
-
yield topic
|
|
|
83 |
"""This function returns the examples in the raw (text) form."""
|
84 |
print(filepath)
|
85 |
with jsonlines.open(filepath, 'r') as f:
|
86 |
+
for i, topic in enumerate(f):
|
87 |
+
yield i, topic
|