system HF staff commited on
Commit
286d22a
1 Parent(s): 220b89f

Update files from the datasets library (from 1.8.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.8.0

Files changed (3) hide show
  1. README.md +6 -7
  2. covid_qa_deepset.py +6 -0
  3. dataset_infos.json +1 -1
README.md CHANGED
@@ -118,9 +118,9 @@ annotated afterwards.
118
 
119
  #### Annotation process
120
 
121
- While annotators were volunteers, they were required to have at least a Master’s degree in biomedical sciences.
122
- The annotation team was led by a medical doctor (G.A.R.) who vetted the volunteer’s credentials and
123
- manually verified each question/answer pair produced. We used an existing, web-based annotation tool that had been
124
  created by deepset and is available at their Neural Search framework [haystack](https://github.com/deepset-ai/haystack).
125
 
126
  #### Who are the annotators?
@@ -146,16 +146,15 @@ These QA systems can help them find answers and patterns in research papers by l
146
 
147
  ## Additional Information
148
 
149
- The listed authors in the homepage are maintaining/supporting the dataset.
150
 
151
  ### Dataset Curators
152
 
153
  [More Information Needed]
154
 
155
- The Proto_qa dataset is licensed under
156
- the [Apache License 2.0](https://github.com/deepset-ai/COVID-QA/blob/master/LICENSE)
157
 
158
- [More Information Needed]
159
 
160
  ### Citation Information
161
 
 
118
 
119
  #### Annotation process
120
 
121
+ While annotators were volunteers, they were required to have at least a Master’s degree in biomedical sciences.
122
+ The annotation team was led by a medical doctor (G.A.R.) who vetted the volunteer’s credentials and
123
+ manually verified each question/answer pair produced. We used an existing, web-based annotation tool that had been
124
  created by deepset and is available at their Neural Search framework [haystack](https://github.com/deepset-ai/haystack).
125
 
126
  #### Who are the annotators?
 
146
 
147
  ## Additional Information
148
 
149
+ The listed authors in the homepage are maintaining/supporting the dataset.
150
 
151
  ### Dataset Curators
152
 
153
  [More Information Needed]
154
 
155
+ ### Licensing Information
 
156
 
157
+ The Proto_qa dataset is licensed under the [Apache License 2.0](https://github.com/deepset-ai/COVID-QA/blob/master/LICENSE)
158
 
159
  ### Citation Information
160
 
covid_qa_deepset.py CHANGED
@@ -18,6 +18,7 @@
18
  import json
19
 
20
  import datasets
 
21
 
22
 
23
  logger = datasets.logging.get_logger(__name__)
@@ -76,6 +77,11 @@ class CovidQADeepset(datasets.GeneratorBasedBuilder):
76
  homepage=_HOMEPAGE,
77
  license=_LICENSE,
78
  citation=_CITATION,
 
 
 
 
 
79
  )
80
 
81
  def _split_generators(self, dl_manager):
 
18
  import json
19
 
20
  import datasets
21
+ from datasets.tasks import QuestionAnsweringExtractive
22
 
23
 
24
  logger = datasets.logging.get_logger(__name__)
 
77
  homepage=_HOMEPAGE,
78
  license=_LICENSE,
79
  citation=_CITATION,
80
+ task_templates=[
81
+ QuestionAnsweringExtractive(
82
+ question_column="question", context_column="context", answers_column="answers"
83
+ )
84
+ ],
85
  )
86
 
87
  def _split_generators(self, dl_manager):
dataset_infos.json CHANGED
@@ -1 +1 @@
1
- {"covid_qa_deepset": {"description": "COVID-QA is a Question Answering dataset consisting of 2,019 question/answer pairs annotated by volunteer biomedical experts on scientific articles related to COVID-19.\n", "citation": "@inproceedings{moller2020covid,\n title={COVID-QA: A Question Answering Dataset for COVID-19},\n author={M{\"o}ller, Timo and Reina, Anthony and Jayakumar, Raghavan and Pietsch, Malte},\n booktitle={Proceedings of the 1st Workshop on NLP for COVID-19 at ACL 2020},\n year={2020}\n}\n", "homepage": "https://github.com/deepset-ai/COVID-QA", "license": "Apache License 2.0", "features": {"document_id": {"dtype": "int32", "id": null, "_type": "Value"}, "context": {"dtype": "string", "id": null, "_type": "Value"}, "question": {"dtype": "string", "id": null, "_type": "Value"}, "is_impossible": {"dtype": "bool", "id": null, "_type": "Value"}, "id": {"dtype": "int32", "id": null, "_type": "Value"}, "answers": {"feature": {"text": {"dtype": "string", "id": null, "_type": "Value"}, "answer_start": {"dtype": "int32", "id": null, "_type": "Value"}}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "covid_qa_deepset", "config_name": "covid_qa_deepset", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 65151262, "num_examples": 2019, "dataset_name": "covid_qa_deepset"}}, "download_checksums": {"https://raw.githubusercontent.com/deepset-ai/COVID-QA/master/data/question-answering/COVID-QA.json": {"num_bytes": 4418117, "checksum": "291abf17f4bc2bd343838fd8ef5debb6278bbbb61b262db1f1bd58048fff76b9"}}, "download_size": 4418117, "post_processing_size": null, "dataset_size": 65151262, "size_in_bytes": 69569379}}
 
1
+ {"covid_qa_deepset": {"description": "COVID-QA is a Question Answering dataset consisting of 2,019 question/answer pairs annotated by volunteer biomedical experts on scientific articles related to COVID-19.\n", "citation": "@inproceedings{moller2020covid,\n title={COVID-QA: A Question Answering Dataset for COVID-19},\n author={M{\"o}ller, Timo and Reina, Anthony and Jayakumar, Raghavan and Pietsch, Malte},\n booktitle={Proceedings of the 1st Workshop on NLP for COVID-19 at ACL 2020},\n year={2020}\n}\n", "homepage": "https://github.com/deepset-ai/COVID-QA", "license": "Apache License 2.0", "features": {"document_id": {"dtype": "int32", "id": null, "_type": "Value"}, "context": {"dtype": "string", "id": null, "_type": "Value"}, "question": {"dtype": "string", "id": null, "_type": "Value"}, "is_impossible": {"dtype": "bool", "id": null, "_type": "Value"}, "id": {"dtype": "int32", "id": null, "_type": "Value"}, "answers": {"feature": {"text": {"dtype": "string", "id": null, "_type": "Value"}, "answer_start": {"dtype": "int32", "id": null, "_type": "Value"}}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "task_templates": [{"task": "question-answering-extractive", "question_column": "question", "context_column": "context", "answers_column": "answers"}], "builder_name": "covid_qa_deepset", "config_name": "covid_qa_deepset", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 65151262, "num_examples": 2019, "dataset_name": "covid_qa_deepset"}}, "download_checksums": {"https://raw.githubusercontent.com/deepset-ai/COVID-QA/master/data/question-answering/COVID-QA.json": {"num_bytes": 4418117, "checksum": "291abf17f4bc2bd343838fd8ef5debb6278bbbb61b262db1f1bd58048fff76b9"}}, "download_size": 4418117, "post_processing_size": null, "dataset_size": 65151262, "size_in_bytes": 69569379}}