(self)
| 77 | ] |
| 78 | |
| 79 | def _info(self): |
| 80 | features = datasets.Features( |
| 81 | { |
| 82 | "section_id": datasets.Value("string"), |
| 83 | "passage": datasets.Value("string"), |
| 84 | "question": datasets.Value("string"), |
| 85 | "query_id": datasets.Value("string"), |
| 86 | "answer": { |
| 87 | "number": datasets.Value("string"), |
| 88 | "date": { |
| 89 | "day": datasets.Value("string"), |
| 90 | "month": datasets.Value("string"), |
| 91 | "year": datasets.Value("string"), |
| 92 | }, |
| 93 | "spans": datasets.features.Sequence(datasets.Value("string")), |
| 94 | "worker_id": datasets.Value("string"), |
| 95 | "hit_id": datasets.Value("string"), |
| 96 | }, |
| 97 | "validated_answers": datasets.features.Sequence( |
| 98 | { |
| 99 | "number": datasets.Value("string"), |
| 100 | "date": { |
| 101 | "day": datasets.Value("string"), |
| 102 | "month": datasets.Value("string"), |
| 103 | "year": datasets.Value("string"), |
| 104 | }, |
| 105 | "spans": datasets.features.Sequence(datasets.Value("string")), |
| 106 | "worker_id": datasets.Value("string"), |
| 107 | "hit_id": datasets.Value("string"), |
| 108 | } |
| 109 | ), |
| 110 | } |
| 111 | ) |
| 112 | return datasets.DatasetInfo( |
| 113 | description=_DESCRIPTION, |
| 114 | features=features, |
| 115 | homepage=_HOMEPAGE, |
| 116 | license=_LICENSE, |
| 117 | citation=_CITATION, |
| 118 | ) |
| 119 | |
| 120 | def _split_generators(self, dl_manager): |
| 121 | urls = _URLS[self.config.name] |
nothing calls this directly
no outgoing calls
no test coverage detected