Update tydiqa-primary.py
Browse files- tydiqa-primary.py +2 -2
tydiqa-primary.py
CHANGED
@@ -63,7 +63,7 @@ class tydiqa_Primary(datasets.GeneratorBasedBuilder):
|
|
63 |
"language": datasets.Value("string"),
|
64 |
"annotations": datasets.features.Sequence(
|
65 |
{
|
66 |
-
#
|
67 |
"passage_answer_candidate_index": datasets.Value("int32"),
|
68 |
"minimal_answers_start_byte": datasets.Value("int32"),
|
69 |
"minimal_answers_end_byte": datasets.Value("int32"),
|
@@ -71,7 +71,7 @@ class tydiqa_Primary(datasets.GeneratorBasedBuilder):
|
|
71 |
}
|
72 |
),
|
73 |
"document_plaintext": datasets.Value("string"),
|
74 |
-
#
|
75 |
"document_url": datasets.Value("string")
|
76 |
# These are the features of your dataset like images, labels ...
|
77 |
}
|
|
|
63 |
"language": datasets.Value("string"),
|
64 |
"annotations": datasets.features.Sequence(
|
65 |
{
|
66 |
+
#'annotation_id': datasets.Value('int32'),
|
67 |
"passage_answer_candidate_index": datasets.Value("int32"),
|
68 |
"minimal_answers_start_byte": datasets.Value("int32"),
|
69 |
"minimal_answers_end_byte": datasets.Value("int32"),
|
|
|
71 |
}
|
72 |
),
|
73 |
"document_plaintext": datasets.Value("string"),
|
74 |
+
#'example_id': datasets.Value('int32'),
|
75 |
"document_url": datasets.Value("string")
|
76 |
# These are the features of your dataset like images, labels ...
|
77 |
}
|