khalidalt commited on
Commit
8c5f6c4
1 Parent(s): 986ec67

Update tydiqa-primary.py

Browse files
Files changed (1) hide show
  1. tydiqa-primary.py +3 -2
tydiqa-primary.py CHANGED
@@ -63,8 +63,9 @@ class tydiqa_GoldP(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"),
70
  "yes_no_answer": datasets.Value("string"),
 
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
+ "candidate_index":datasets.Value("int32"),
69
  "minimal_answers_start_byte": datasets.Value("int32"),
70
  "minimal_answers_end_byte": datasets.Value("int32"),
71
  "yes_no_answer": datasets.Value("string"),