khalidalt commited on
Commit
f352ef2
1 Parent(s): 7f1af59

Update tydiqa-primary.py

Browse files
Files changed (1) hide show
  1. 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
- # 'annotation_id': datasets.Value('variant'),
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
- # 'example_id': datasets.Value('variant'),
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
  }