Datasets:
Tasks:
Token Classification
Modalities:
Text
Sub-tasks:
coreference-resolution
Languages:
English
Size:
< 1K
License:
Arie Cattan
commited on
Commit
•
4a4522a
1
Parent(s):
03cfec8
hard
Browse files
scico.py
CHANGED
@@ -84,4 +84,7 @@ class Scico(datasets.GeneratorBasedBuilder):
|
|
84 |
print(filepath)
|
85 |
with jsonlines.open(filepath, 'r') as f:
|
86 |
for i, topic in enumerate(f):
|
|
|
|
|
|
|
87 |
yield i, topic
|
|
|
84 |
print(filepath)
|
85 |
with jsonlines.open(filepath, 'r') as f:
|
86 |
for i, topic in enumerate(f):
|
87 |
+
topic['hard_10'] = topic['hard_10'] if 'hard_10' in topic else False
|
88 |
+
topic['hard_20'] = topic['hard_20'] if 'hard_10' in topic else False
|
89 |
+
topic["curated"] = topic["curated"] if "curated" in topic else False
|
90 |
yield i, topic
|