ragerri commited on
Commit
767ec38
1 Parent(s): b3138a6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +283 -0
README.md CHANGED
@@ -1,3 +1,286 @@
1
  ---
2
  license: apache-2.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
  ---
4
+
5
+ ---
6
+ license: cc-by-4.0
7
+ language:
8
+ - es
9
+ tags:
10
+ - casimedicos
11
+ - explainability
12
+ - medical exams
13
+ - medical question answering
14
+ - extractive question answering
15
+ - squad
16
+ - multilinguality
17
+ - LLMs
18
+ - LLM
19
+ pretty_name: mdeberta-expl-extraction-multi
20
+ task_categories:
21
+ - question-answering
22
+ size_categories:
23
+ - 1K<n<10K
24
+ ---
25
+
26
+ <p align="center">
27
+ <br>
28
+ <img src="http://www.ixa.eus/sites/default/files/anitdote.png" style="height: 200px;">
29
+ <br>
30
+
31
+ # mdeberta-v3-base finetuned for Explanatory Argument Extraction
32
+
33
+ We finetuned mdeberta-v3-base on a **novel extractive task** which consists of **identifying the explanation of the correct answer written by
34
+ medical doctors in medical exams**.
35
+
36
+ The training data is based on [Antidote CasiMedicos](https://huggingface.co/datasets/HiTZ/casimedicos-squad) for EN,ES,FR,IT languages.
37
+
38
+ The data source consists of Resident Medical Intern or Médico Interno Residente (MIR) exams, originally
39
+ created by [CasiMedicos](https://www.casimedicos.com), a Spanish community of medical professionals who collaboratively, voluntarily,
40
+ and free of charge, publishes written explanations about the possible answers included in the MIR exams. The aim is to generate a resource that
41
+ helps future medical doctors to study towards the MIR examinations. The commented MIR exams, including the explanations, are published in the [CasiMedicos
42
+ Project MIR 2.0 website](https://www.casimedicos.com/mir-2-0/).
43
+
44
+ We have extracted, clean, structure and annotated the available data so that each document in **casimedicos-squad** includes the clinical case, the correct answer,
45
+ the multiple-choice questions and the commented exam written by native Spanish medical doctors. The comments have been annotated with the span in the text that
46
+ corresponds to the explanation of the correct answer (see example below).
47
+
48
+ <table style="width:33%">
49
+ <tr>
50
+ <th>casimedicos-squad splits</th>
51
+ <tr>
52
+ <td>train</td>
53
+ <td>404</td>
54
+ </tr>
55
+ <tr>
56
+ <td>validation</td>
57
+ <td>56</td>
58
+ </tr>
59
+ <tr>
60
+ <td>test</td>
61
+ <td>119</td>
62
+ </tr>
63
+ </table>
64
+
65
+
66
+
67
+
68
+ ## Example
69
+
70
+ <p align="center">
71
+ <img src="https://github.com/ixa-ehu/antidote-casimedicos/blob/main/casimedicos-exp.png?raw=true" style="height: 650px;">
72
+ </p>
73
+
74
+ The example above shows a document in CasiMedicos containing the textual content, including Clinical Case (C), Question (Q), Possible Answers (P),
75
+ and Explanation (E). Furthermore, for **casimedicos-squad** we annotated the span in the explanation (E) that corresponds to the correct answer (A).
76
+
77
+ The process of manually annotating the corpus consisted of specifying where the explanations of the correct answers begin and end.
78
+ In order to obtain grammatically complete correct answer explanations, annotating full sentences or subordinate clauses was preferred over
79
+ shorter spans.
80
+
81
+ ## Data Explanation
82
+
83
+ The dataset is structured as a list of documents ("paragraphs") where each of them include:
84
+
85
+ - **context**: the explanation (E) in the document
86
+ - **qas**: list of possible answers and questions. This element contains:
87
+ - **answers**: an answer which corresponds to the explanation of the correct answer (A)
88
+ - **question**: the clinical case (C) and question (Q)
89
+ - **id**: unique identifier for the document
90
+
91
+ ## Citation
92
+
93
+
94
+ If you use this data please **cite the following paper**:
95
+
96
+ ```bibtex
97
+ @misc{goenaga2023explanatory,
98
+ title={Explanatory Argument Extraction of Correct Answers in Resident Medical Exams},
99
+ author={Iakes Goenaga and Aitziber Atutxa and Koldo Gojenola and Maite Oronoz and Rodrigo Agerri},
100
+ year={2023},
101
+ eprint={2312.00567},
102
+ archivePrefix={arXiv}
103
+ }
104
+ ```
105
+
106
+ **Contact**: [Iakes Goenaga](http://www.hitz.eus/es/node/65) and [Rodrigo Agerri](https://ragerri.github.io/)
107
+ HiTZ Center - Ixa, University of the Basque Country UPV/EHU
108
+
109
+
110
+
111
+
112
+ ### Model Description
113
+
114
+
115
+ - 📖 **Paper**:[Explanatory Argument Extraction of Correct Answers in Resident Medical Exams](https://arxiv.org/abs/2312.00567)
116
+ - 💻 **Github Repo** (Data and Code): [https://github.com/ixa-ehu/antidote-casimedicos](https://github.com/ixa-ehu/antidote-casimedicos)
117
+ - 🌐 **Project Website**: [https://univ-cotedazur.eu/antidote](https://univ-cotedazur.eu/antidote)
118
+ - **Funding**: CHIST-ERA XAI 2019 call. Antidote (PCI2020-120717-2) funded by MCIN/AEI /10.13039/501100011033 and by European Union NextGenerationEU/PRTR
119
+ - **Language(s) (NLP):** EN,ES,FR,IT
120
+ - **License:** Apache License 2
121
+ - **Finetuned from model:** microsoft/mdeberta-v3-base
122
+
123
+ ## Uses
124
+
125
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
126
+
127
+ ### Direct Use
128
+
129
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
130
+
131
+ [More Information Needed]
132
+
133
+ ### Downstream Use [optional]
134
+
135
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
136
+
137
+ [More Information Needed]
138
+
139
+ ### Out-of-Scope Use
140
+
141
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
142
+
143
+ [More Information Needed]
144
+
145
+ ## Bias, Risks, and Limitations
146
+
147
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
148
+
149
+ [More Information Needed]
150
+
151
+ ### Recommendations
152
+
153
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
154
+
155
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
156
+
157
+ ## How to Get Started with the Model
158
+
159
+ Use the code below to get started with the model.
160
+
161
+ [More Information Needed]
162
+
163
+ ## Training Details
164
+
165
+ ### Training Data
166
+
167
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
168
+
169
+ [More Information Needed]
170
+
171
+ ### Training Procedure
172
+
173
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
174
+
175
+ #### Preprocessing [optional]
176
+
177
+ [More Information Needed]
178
+
179
+
180
+ #### Training Hyperparameters
181
+
182
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
183
+
184
+ #### Speeds, Sizes, Times [optional]
185
+
186
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
187
+
188
+ [More Information Needed]
189
+
190
+ ## Evaluation
191
+
192
+ <!-- This section describes the evaluation protocols and provides the results. -->
193
+
194
+ ### Testing Data, Factors & Metrics
195
+
196
+ #### Testing Data
197
+
198
+ <!-- This should link to a Dataset Card if possible. -->
199
+
200
+ [More Information Needed]
201
+
202
+ #### Factors
203
+
204
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
205
+
206
+ [More Information Needed]
207
+
208
+ #### Metrics
209
+
210
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
211
+
212
+ [More Information Needed]
213
+
214
+ ### Results
215
+
216
+ [More Information Needed]
217
+
218
+ #### Summary
219
+
220
+
221
+
222
+ ## Model Examination [optional]
223
+
224
+ <!-- Relevant interpretability work for the model goes here -->
225
+
226
+ [More Information Needed]
227
+
228
+ ## Environmental Impact
229
+
230
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
231
+
232
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
233
+
234
+ - **Hardware Type:** [More Information Needed]
235
+ - **Hours used:** [More Information Needed]
236
+ - **Cloud Provider:** [More Information Needed]
237
+ - **Compute Region:** [More Information Needed]
238
+ - **Carbon Emitted:** [More Information Needed]
239
+
240
+ ## Technical Specifications [optional]
241
+
242
+ ### Model Architecture and Objective
243
+
244
+ [More Information Needed]
245
+
246
+ ### Compute Infrastructure
247
+
248
+ [More Information Needed]
249
+
250
+ #### Hardware
251
+
252
+ [More Information Needed]
253
+
254
+ #### Software
255
+
256
+ [More Information Needed]
257
+
258
+ ## Citation [optional]
259
+
260
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
261
+
262
+ **BibTeX:**
263
+
264
+ [More Information Needed]
265
+
266
+ **APA:**
267
+
268
+ [More Information Needed]
269
+
270
+ ## Glossary [optional]
271
+
272
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
273
+
274
+ [More Information Needed]
275
+
276
+ ## More Information [optional]
277
+
278
+ [More Information Needed]
279
+
280
+ ## Model Card Authors [optional]
281
+
282
+ [More Information Needed]
283
+
284
+ ## Model Card Contact
285
+
286
+ [More Information Needed]