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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- question-answering
|
| 5 |
+
language:
|
| 6 |
+
- fr
|
| 7 |
+
tags:
|
| 8 |
+
- medical
|
| 9 |
+
- biology
|
| 10 |
+
size_categories:
|
| 11 |
+
- 10K<n<100K
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Dataset Card for FrBMedQA
|
| 15 |
+
|
| 16 |
+
FrBMedQA is the first French biomedical question answering dataset. It contains more than 41k automatically generated passage–question instances derived from French biomedical Wikipedia articles. The dataset was constructed using a cloze-style strategy where biomedical entities are masked and must be predicted using the surrounding context.
|
| 17 |
+
|
| 18 |
+
## Dataset Details
|
| 19 |
+
|
| 20 |
+
### Dataset Description
|
| 21 |
+
|
| 22 |
+
FrBMedQA is a French biomedical question answering (BQA) dataset designed to support research in machine reading comprehension and biomedical NLP for the French language. The dataset contains more than **41,000 passage–question instances**, automatically generated from biomedical articles extracted from French Wikipedia.
|
| 23 |
+
|
| 24 |
+
Each instance consists of:
|
| 25 |
+
- a **context passage**
|
| 26 |
+
- a **question**
|
| 27 |
+
- a list of **candidate biomedical entities**
|
| 28 |
+
- the **correct answer entity**
|
| 29 |
+
|
| 30 |
+
The dataset follows a **cloze-style formulation**, where a biomedical entity in the question is replaced by a placeholder token and the task is to identify the correct entity from the candidate list appearing in the passage.
|
| 31 |
+
|
| 32 |
+
The dataset was created to address the lack of **French biomedical QA datasets**, which limits the development and evaluation of machine learning and deep learning models for biomedical question answering in French. :contentReference[oaicite:1]{index=1}
|
| 33 |
+
|
| 34 |
+
- **Curated by:** Zakaria Kaddari, Toumi Bouchentouf
|
| 35 |
+
- **Funded by:** Moroccan National Center for Scientific and Technical Research (CNRST)
|
| 36 |
+
- **Language(s) (NLP):** French
|
| 37 |
+
- **License:** CC BY 4.0
|
| 38 |
+
|
| 39 |
+
### Dataset Sources
|
| 40 |
+
|
| 41 |
+
- **Repository:** (to be added when published on Hugging Face)
|
| 42 |
+
- **Paper:** FrBMedQA: the first French biomedical question answering dataset (IJ-AI 2022) :contentReference[oaicite:2]{index=2}
|
| 43 |
+
|
| 44 |
+
## Uses
|
| 45 |
+
|
| 46 |
+
### Direct Use
|
| 47 |
+
|
| 48 |
+
The dataset is intended for research in:
|
| 49 |
+
|
| 50 |
+
- biomedical question answering
|
| 51 |
+
- machine reading comprehension
|
| 52 |
+
- biomedical NLP for French
|
| 53 |
+
- evaluation of language models on biomedical reasoning
|
| 54 |
+
- training and benchmarking QA systems on biomedical corpora
|
| 55 |
+
|
| 56 |
+
FrBMedQA can be used to train and evaluate:
|
| 57 |
+
|
| 58 |
+
- neural machine reading comprehension models
|
| 59 |
+
- transformer-based language models
|
| 60 |
+
- statistical baseline models
|
| 61 |
+
- retrieval-based QA systems.
|
| 62 |
+
|
| 63 |
+
### Out-of-Scope Use
|
| 64 |
+
|
| 65 |
+
The dataset should **not be used for medical decision making** or clinical diagnosis. The dataset contains automatically generated question-answer pairs and may include noise or simplified contexts. It is intended for **research purposes only**.
|
| 66 |
+
|
| 67 |
+
The dataset may also not be suitable for:
|
| 68 |
+
|
| 69 |
+
- conversational QA
|
| 70 |
+
- generative QA
|
| 71 |
+
- open-domain QA without context passages
|
| 72 |
+
|
| 73 |
+
since it follows a **cloze-style multiple-choice formulation**.
|
| 74 |
+
|
| 75 |
+
## Dataset Structure
|
| 76 |
+
|
| 77 |
+
Each dataset instance is a tuple composed of:
|
| 78 |
+
|
| 79 |
+
- **context**: passage containing biomedical information
|
| 80 |
+
- **question**: a sentence where a biomedical entity is replaced by a placeholder
|
| 81 |
+
- **candidates**: list of biomedical entities appearing in the passage
|
| 82 |
+
- **answer**: correct biomedical entity
|
| 83 |
+
|
| 84 |
+
Example fields:
|
| 85 |
+
{
|
| 86 |
+
"context": "...",
|
| 87 |
+
"question": "... @placeholder ...",
|
| 88 |
+
"candidates": ["entity1","entity2","entity3"],
|
| 89 |
+
"answer": "entity2"
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
Dataset splits:
|
| 94 |
+
|
| 95 |
+
| Split | Instances |
|
| 96 |
+
|------|------|
|
| 97 |
+
| Train | 32,888 |
|
| 98 |
+
| Validation | 4,111 |
|
| 99 |
+
| Test | 4,110 |
|
| 100 |
+
| Total | 41,109 |
|
| 101 |
+
|
| 102 |
+
Average statistics:
|
| 103 |
+
|
| 104 |
+
- Average context length: ~111 tokens
|
| 105 |
+
- Average question length: ~38 tokens
|
| 106 |
+
- Average candidate entities: ~4.8 :contentReference[oaicite:3]{index=3}
|
| 107 |
+
|
| 108 |
+
## Dataset Creation
|
| 109 |
+
|
| 110 |
+
### Curation Rationale
|
| 111 |
+
|
| 112 |
+
The motivation for creating FrBMedQA was the **lack of large-scale French biomedical question answering datasets**, which limits research progress in French biomedical NLP.
|
| 113 |
+
|
| 114 |
+
While several biomedical QA datasets exist in English, none were available for French at the time of publication. FrBMedQA was introduced to fill this gap and enable training and evaluation of QA models for biomedical texts in French. :contentReference[oaicite:4]{index=4}
|
| 115 |
+
|
| 116 |
+
### Source Data
|
| 117 |
+
|
| 118 |
+
The dataset was constructed from **French Wikipedia biomedical articles**.
|
| 119 |
+
|
| 120 |
+
More than **243,000 biomedical-related Wikipedia articles** were retrieved using filtering strategies based on biomedical infoboxes and biomedical terminology. :contentReference[oaicite:5]{index=5}
|
| 121 |
+
|
| 122 |
+
#### Data Collection and Processing
|
| 123 |
+
|
| 124 |
+
The dataset construction pipeline included:
|
| 125 |
+
|
| 126 |
+
1. Retrieval of biomedical articles from French Wikipedia.
|
| 127 |
+
2. Cleaning of noisy content (references, HTML artifacts).
|
| 128 |
+
3. Splitting articles into paragraphs.
|
| 129 |
+
4. Biomedical entity recognition using the **SIFR annotator**.
|
| 130 |
+
5. Filtering entities belonging to selected UMLS semantic groups.
|
| 131 |
+
6. Replacement of biomedical entities with pseudo-tokens.
|
| 132 |
+
7. Generation of cloze-style question–answer instances.
|
| 133 |
+
|
| 134 |
+
Biomedical entities were replaced by tokens such as:
|
| 135 |
+
@entity0
|
| 136 |
+
@entity1
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
A placeholder token (`@placeholder`) was inserted in the question to create the prediction task. :contentReference[oaicite:6]{index=6}
|
| 140 |
+
|
| 141 |
+
#### Who are the source data producers?
|
| 142 |
+
|
| 143 |
+
The original textual data comes from **contributors to French Wikipedia**, an open collaborative encyclopedia.
|
| 144 |
+
|
| 145 |
+
Biomedical entities were automatically annotated using the **SIFR biomedical NER system**.
|
| 146 |
+
|
| 147 |
+
### Annotations
|
| 148 |
+
|
| 149 |
+
#### Annotation process
|
| 150 |
+
|
| 151 |
+
Biomedical entities were automatically detected using the **SIFR annotator**, a tool designed for semantic annotation of French biomedical texts.
|
| 152 |
+
|
| 153 |
+
Only entities belonging to selected **UMLS semantic groups** were considered, including:
|
| 154 |
+
|
| 155 |
+
- chemicals & drugs
|
| 156 |
+
- anatomy
|
| 157 |
+
- physiology
|
| 158 |
+
- disorders
|
| 159 |
+
- phenomena
|
| 160 |
+
- procedures
|
| 161 |
+
- genes & molecular sequences
|
| 162 |
+
- medical devices. :contentReference[oaicite:7]{index=7}
|
| 163 |
+
|
| 164 |
+
#### Who are the annotators?
|
| 165 |
+
|
| 166 |
+
Annotations were generated automatically using the **SIFR biomedical entity recognition system** rather than manual human annotation.
|
| 167 |
+
|
| 168 |
+
#### Personal and Sensitive Information
|
| 169 |
+
|
| 170 |
+
The dataset does **not contain personal or private information**. All texts originate from publicly available Wikipedia articles.
|
| 171 |
+
|
| 172 |
+
## Bias, Risks, and Limitations
|
| 173 |
+
|
| 174 |
+
Several limitations should be considered:
|
| 175 |
+
|
| 176 |
+
- The dataset is **automatically generated**, which may introduce noise.
|
| 177 |
+
- Questions follow a **cloze-style format**, limiting diversity of question types.
|
| 178 |
+
- The candidate answer list can sometimes be small, allowing simple heuristics to perform well.
|
| 179 |
+
- The dataset is limited to **Wikipedia biomedical articles**, which may not fully represent clinical or scientific biomedical literature. :contentReference[oaicite:8]{index=8}
|
| 180 |
+
|
| 181 |
+
### Recommendations
|
| 182 |
+
|
| 183 |
+
Users should treat the dataset as a **benchmark dataset for research** rather than a source of medical knowledge.
|
| 184 |
+
|
| 185 |
+
Models trained on FrBMedQA should not be used for clinical applications without further validation.
|
| 186 |
+
|
| 187 |
+
## Quick Start
|
| 188 |
+
|
| 189 |
+
```python
|
| 190 |
+
from datasets import load_dataset
|
| 191 |
+
|
| 192 |
+
dataset = load_dataset("ZakariaKaddari/FrBMedQA")
|
| 193 |
+
|
| 194 |
+
print(dataset["train"][0])
|
| 195 |
+
```
|
| 196 |
+
|
| 197 |
+
## Citation
|
| 198 |
+
|
| 199 |
+
**BibTeX**
|
| 200 |
+
|
| 201 |
+
```bibtex
|
| 202 |
+
@article{kaddari2022frbmedqa,
|
| 203 |
+
title={FrBMedQA: the first French biomedical question answering dataset},
|
| 204 |
+
author={Kaddari, Zakaria and Bouchentouf, Toumi},
|
| 205 |
+
journal={IAES International Journal of Artificial Intelligence},
|
| 206 |
+
volume={11},
|
| 207 |
+
number={4},
|
| 208 |
+
pages={1588--1595},
|
| 209 |
+
year={2022},
|
| 210 |
+
doi={10.11591/ijai.v11.i4.pp1588-1595}
|
| 211 |
+
}
|