Datasets:
Tasks:
Token Classification
Modalities:
Text
Sub-tasks:
coreference-resolution
Languages:
English
Size:
< 1K
License:
Arie Cattan
commited on
Commit
•
d66638a
1
Parent(s):
b8b9455
fix
Browse files
scico.py
CHANGED
@@ -43,17 +43,17 @@ class Scico(datasets.GeneratorBasedBuilder):
|
|
43 |
"flatten_tokens": datasets.features.Sequence(datasets.features.Value("string")),
|
44 |
"flatten_mentions": datasets.features.Sequence(datasets.features.Sequence(datasets.features.Value("int32"), length=3)),
|
45 |
"tokens": datasets.features.Sequence(datasets.features.Sequence(datasets.features.Value("string"))),
|
46 |
-
"doc_ids": datasets.features.Sequence(datasets.features.Value("int32"))
|
47 |
-
"metadata": datasets.features.Sequence(
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
)
|
57 |
# "sentences": datasets.features.Sequence(datasets.features.Sequence(datasets.features.Sequence(datasets.features.Value("int32")))),
|
58 |
# "mentions": datasets.features.Sequence(datasets.features.Sequence(datasets.features.Value("int32"), length=4)),
|
59 |
# "relations": datasets.features.Sequence(datasets.features.Sequence(datasets.features.Value("int32"), length=2)),
|
@@ -95,8 +95,8 @@ class Scico(datasets.GeneratorBasedBuilder):
|
|
95 |
"flatten_mentions": topic["flatten_mentions"],
|
96 |
"tokens": topic["tokens"],
|
97 |
"doc_ids": topic["doc_ids"],
|
98 |
-
"doc_ids": topic["doc_ids"]
|
99 |
-
"metadata": topic["metadata"]
|
100 |
# "sentences": topic["sentences"],
|
101 |
# "mentions": topic["mentions"],
|
102 |
# "relations": topic["relations"],
|
|
|
43 |
"flatten_tokens": datasets.features.Sequence(datasets.features.Value("string")),
|
44 |
"flatten_mentions": datasets.features.Sequence(datasets.features.Sequence(datasets.features.Value("int32"), length=3)),
|
45 |
"tokens": datasets.features.Sequence(datasets.features.Sequence(datasets.features.Value("string"))),
|
46 |
+
"doc_ids": datasets.features.Sequence(datasets.features.Value("int32"))
|
47 |
+
# "metadata": datasets.features.Sequence(
|
48 |
+
# {
|
49 |
+
# "title": datasets.features.Value("string"),
|
50 |
+
# "paper_sha": datasets.features.Value("string"),
|
51 |
+
# "fields_of_study": datasets.features.Value("string"),
|
52 |
+
# "Year": datasets.features.Value("string"),
|
53 |
+
# "BookTitle": datasets.features.Value("string"),
|
54 |
+
# "url": datasets.features.Value("string")
|
55 |
+
# }
|
56 |
+
# )
|
57 |
# "sentences": datasets.features.Sequence(datasets.features.Sequence(datasets.features.Sequence(datasets.features.Value("int32")))),
|
58 |
# "mentions": datasets.features.Sequence(datasets.features.Sequence(datasets.features.Value("int32"), length=4)),
|
59 |
# "relations": datasets.features.Sequence(datasets.features.Sequence(datasets.features.Value("int32"), length=2)),
|
|
|
95 |
"flatten_mentions": topic["flatten_mentions"],
|
96 |
"tokens": topic["tokens"],
|
97 |
"doc_ids": topic["doc_ids"],
|
98 |
+
"doc_ids": topic["doc_ids"]
|
99 |
+
# "metadata": topic["metadata"]
|
100 |
# "sentences": topic["sentences"],
|
101 |
# "mentions": topic["mentions"],
|
102 |
# "relations": topic["relations"],
|