janrodriguez commited on
Commit
a2e3788
·
verified ·
1 Parent(s): 3146106

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +130 -18
README.md CHANGED
@@ -1,33 +1,139 @@
1
  ---
 
 
 
 
 
 
 
 
2
  license: cc-by-4.0
3
- language:
4
- - es
5
- base_model: PlanTL-GOB-ES/bsc-bio-ehr-es
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  ---
7
 
8
- # Training data
9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  Model trained on the [MedProcNER](https://doi.org/10.5281/zenodo.8224056) corpus.
11
 
12
- # Citation
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  Please cite the following works:
14
 
15
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  @inproceedings{medprocner,
17
  title = {{Overview of MedProcNER task on medical procedure detection and entity linking at BioASQ 2023}},
18
- author = {Lima-López, Salvador and Farré-Maduell, Eulàlia and Gascó, Luis and Nentidis, Anastasios and Krithara, Anastasia and Katsimpras, Georgios and Paliouras, Georgios and Krallinger, Martin},
19
  booktitle = {Working Notes of CLEF 2023 - Conference and Labs of the Evaluation Forum},
20
  year = {2023}
21
  }
22
 
23
- @misc{carmen_physionet,
24
- author = {Farre Maduell, Eulalia and Lima-Lopez, Salvador and Frid, Santiago Andres and Conesa, Artur and Asensio, Elisa and Lopez-Rueda, Antonio and Arino, Helena and Calvo, Elena and Bertran, Maria Jesús and Marcos, Maria Angeles and Nofre Maiz, Montserrat and Tañá Velasco, Laura and Marti, Antonia and Farreres, Ricardo and Pastor, Xavier and Borrat Frigola, Xavier and Krallinger, Martin},
25
- title = {{CARMEN-I: A resource of anonymized electronic health records in Spanish and Catalan for training and testing NLP tools (version 1.0.1)}},
26
- year = {2024},
27
- publisher = {PhysioNet},
28
- url = {https://doi.org/10.13026/x7ed-9r91}
29
- }
30
-
31
  @article{physionet,
32
  author = {Ary L. Goldberger and Luis A. N. Amaral and Leon Glass and Jeffrey M. Hausdorff and Plamen Ch. Ivanov and Roger G. Mark and Joseph E. Mietus and George B. Moody and Chung-Kang Peng and H. Eugene Stanley },
33
  title = {PhysioBank, PhysioToolkit, and PhysioNet },
@@ -41,7 +147,13 @@ Please cite the following works:
41
  }
42
  ```
43
 
44
- # Contacting authors
45
- jan.rodriguez [at] bsc.es
 
 
 
 
 
 
46
 
47
- ## More information on data, usage, limitations, and performance metrics soon
 
1
  ---
2
+ language:
3
+ - es
4
+ tags:
5
+ - biomedical
6
+ - clinical
7
+ - EHR
8
+ - spanish
9
+ - procedures
10
  license: cc-by-4.0
11
+ metrics:
12
+ - precision
13
+ - recall
14
+ - f1
15
+ base_model:
16
+ - PlanTL-GOB-ES/bsc-bio-ehr-es
17
+
18
+ model-index:
19
+ - name: BSC-NLP4BIA/bsc-bio-ehr-es-drugtemist
20
+ results:
21
+
22
+ - task:
23
+ type: token-classification
24
+ dataset:
25
+ name: MedProcNER
26
+ type: MedProcNER
27
+ metrics:
28
+ - name: precision (micro)
29
+ type: precision
30
+ value: 0.757
31
+ - name: recall (micro)
32
+ type: recall
33
+ value: 0.761
34
+ - name: f1 (micro)
35
+ type: f1
36
+ value: 0.759
37
+ - task:
38
+ type: token-classification
39
+ dataset:
40
+ name: CARMEN-I-procedures
41
+ type: CARMEN-I-procedures
42
+ metrics:
43
+ - name: precision (micro)
44
+ type: precision
45
+ value: 0.746
46
+ - name: recall (micro)
47
+ type: recall
48
+ value: 0.711
49
+ - name: f1 (micro)
50
+ type: f1
51
+ value: 0.728
52
+ widget:
53
+ - text: El diagnóstico definitivo de nuestro paciente fue de un Adenocarcinoma de pulmón cT2a cN3 cM1a Estadio IV (por una única lesión pulmonar contralateral) PD-L1 90%, EGFR negativo, ALK negativo y ROS-1 negativo.
54
+ - text: Durante el ingreso se realiza una TC, observándose un nódulo pulmonar en el LII y una masa renal derecha indeterminada. Se realiza punción biopsia del nódulo pulmonar, con hallazgos altamente sospechosos de carcinoma.
55
+ - text: Trombosis paraneoplásica con sospecha de hepatocarcinoma por imagen, sobre hígado cirrótico, en paciente con índice Child-Pugh B.
56
+
57
  ---
58
 
 
59
 
60
+ # bsc-bio-ehr-es-medprocner
61
+
62
+ ## Table of contents
63
+ <details>
64
+ <summary>Click to expand</summary>
65
+
66
+ - [Model description](#model-description)
67
+ - [How to use](#how-to-use)
68
+ - [Limitations and bias](#limitations-and-bias)
69
+ - [Additional information](#additional-information)
70
+ - [Authors](#authors)
71
+ - [Contact information](#contact-information)
72
+ - [Licensing information](#licensing-information)
73
+ - [Funding](#funding)
74
+ - [Citing information](#citing-information)
75
+ - [Disclaimer](#disclaimer)
76
+
77
+ </details>
78
+
79
+ ## Model description
80
  Model trained on the [MedProcNER](https://doi.org/10.5281/zenodo.8224056) corpus.
81
 
82
+ ## How to use
83
+
84
+ ⚠ We recommend pre-tokenizing the input text into words instead of providing it directly to the model, as this is how the model was trained. Otherwise, the results and performance might get affected.
85
+
86
+ A usage example can be found [here](https://github.com/nlp4bia-bsc/hugging-face-pipeline/blob/main/simple_inference.py).
87
+
88
+ ## Limitations and bias
89
+ At the time of submission, no measures have been taken to estimate the bias embedded in the model. However, we are well aware that our models may be biased since the corpora have been collected using crawling techniques on multiple web sources. We intend to conduct research in these areas in the future, and if completed, this model card will be updated.
90
+
91
+
92
+ ## Additional information
93
+
94
+ ### Authors
95
+ NLP4BIA team at the Barcelona Supercomputing Center (nlp4bia@bsc.es).
96
+
97
+ ### Contact information
98
+ jan.rodriguez [at] bsc.es
99
+
100
+ ### Funding
101
+
102
+ This project was partially funded by the Spanish Plan for the Advancement of Language Technology (Plan TL) in collaboration with the Barcelona Supercomputing Center (BSC) and the Hospital Clinic de Barcelona (HCB). On the BSC's side, we acknowledge additional funding by the Spanish National AI4ProfHealth project (PID2020-119266RA-I00 MICIU/AEI/10.13039/501100011033) and EU Horizon projects (AI4HF 101080430 and DataTools4Heart 101057849). On the HCB's side, the project was also supported by the Instituto de Salud Carlos III (ISCIII).
103
+
104
+ ### Citing information
105
+
106
  Please cite the following works:
107
 
108
+ ```bibtex
109
+
110
+ @article{LimaLopez2025,
111
+ author = {Salvador Lima-López and Eulàlia Farré-Maduell and Luis Gasco and Jan Rodríguez-Miret and Santiago Frid and Xavier Pastor and Xavier Borrat and Martin Krallinger},
112
+ title = {A textual dataset of de-identified health records in Spanish and Catalan for medical entity recognition and anonymization},
113
+ journal = {Scientific Data},
114
+ volume = {12},
115
+ pages = {Article 1088},
116
+ year = {2025},
117
+ publisher = {Nature Publishing Group},
118
+ doi = {10.1038/s41597-025-05320-1},
119
+ url = {https://www.nature.com/articles/s41597-025-05320-1}
120
+ }
121
+
122
+ @misc{carmen_physionet,
123
+ author = {Farre Maduell, Eulalia and Lima-Lopez, Salvador and Frid, Santiago Andres and Conesa, Artur and Asensio, Elisa and Lopez-Rueda, Antonio and Arino, Helena and Calvo, Elena and Bertran, Maria Jesús and Marcos, Maria Angeles and Nofre Maiz, Montserrat and Tañá Velasco, Laura and Marti, Antonia and Farreres, Ricardo and Pastor, Xavier and Borrat Frigola, Xavier and Krallinger, Martin},
124
+ title = {{CARMEN-I: A resource of anonymized electronic health records in Spanish and Catalan for training and testing NLP tools (version 1.0.1)}},
125
+ year = {2024},
126
+ publisher = {PhysioNet},
127
+ url = {https://doi.org/10.13026/x7ed-9r91}
128
+ },
129
+
130
  @inproceedings{medprocner,
131
  title = {{Overview of MedProcNER task on medical procedure detection and entity linking at BioASQ 2023}},
132
+ author = {Lima-L\'opez, Salvador and Farr\'e-Maduell, Eul\`alia and Gasc\'o, Luis and Nentidis, Anastasios and Krithara, Anastasia and Katsimpras, Georgios and Paliouras, Georgios and Krallinger, Martin},
133
  booktitle = {Working Notes of CLEF 2023 - Conference and Labs of the Evaluation Forum},
134
  year = {2023}
135
  }
136
 
 
 
 
 
 
 
 
 
137
  @article{physionet,
138
  author = {Ary L. Goldberger and Luis A. N. Amaral and Leon Glass and Jeffrey M. Hausdorff and Plamen Ch. Ivanov and Roger G. Mark and Joseph E. Mietus and George B. Moody and Chung-Kang Peng and H. Eugene Stanley },
139
  title = {PhysioBank, PhysioToolkit, and PhysioNet },
 
147
  }
148
  ```
149
 
150
+ ### Disclaimer
151
+
152
+ The models published in this repository are intended for a generalist purpose and are available to third parties. These models may have bias and/or any other undesirable distortions.
153
+
154
+ When third parties deploy or provide systems and/or services to other parties using any of these models (or using systems based on these models) or become users of the models, they should note that it is their responsibility to mitigate the risks arising from their use and, in any event, to comply with applicable regulations, including regulations regarding the use of artificial intelligence.
155
+
156
+ ---
157
+ Los modelos publicados en este repositorio tienen una finalidad generalista y están a disposición de terceros. Estos modelos pueden tener sesgos y/u otro tipo de distorsiones indeseables.
158
 
159
+ Cuando terceros desplieguen o proporcionen sistemas y/o servicios a otras partes usando alguno de estos modelos (o utilizando sistemas basados en estos modelos) o se conviertan en usuarios de los modelos, deben tener en cuenta que es su responsabilidad mitigar los riesgos derivados de su uso y, en todo caso, cumplir con la normativa aplicable, incluyendo la normativa en materia de uso de inteligencia artificial.