janrodriguez commited on
Commit
3db2c35
·
verified ·
1 Parent(s): 9dbb996

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +114 -17
README.md CHANGED
@@ -1,18 +1,117 @@
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 human mentions of [CARMEN-I](https://zenodo.org/records/10171540).
11
 
12
- # Citation
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  Please cite the following works:
14
 
15
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  @article{livingner,
17
  title = {{Mention detection, normalization \& classification of species, pathogens, humans and food in clinical documents: Overview of LivingNER shared task and resources}},
18
  author = {Miranda-Escalada, Antonio and Farr{\'e}-Maduell, Eul{`a}lia and Lima-L{\'o}pez, Salvador and Estrada, Darryl and Gasc{\'o}, Luis and Krallinger, Martin},
@@ -20,14 +119,6 @@ Please cite the following works:
20
  year = {2022}
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 +132,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
+ - humans
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: CARMEN-I-humans
26
+ type: CARMEN-I-humans
27
+ metrics:
28
+ - name: precision (micro)
29
+ type: precision
30
+ value: 0.878
31
+ - name: recall (micro)
32
+ type: recall
33
+ value: 0.918
34
+ - name: f1 (micro)
35
+ type: f1
36
+ value: 0.897
37
+ widget:
38
+ - 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.
39
+ - 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.
40
+ - text: Trombosis paraneoplásica con sospecha de hepatocarcinoma por imagen, sobre hígado cirrótico, en paciente con índice Child-Pugh B.
41
+
42
  ---
43
 
 
44
 
45
+ # bsc-bio-ehr-es-carmen-humano
46
+
47
+ ## Table of contents
48
+ <details>
49
+ <summary>Click to expand</summary>
50
+
51
+ - [Model description](#model-description)
52
+ - [How to use](#how-to-use)
53
+ - [Limitations and bias](#limitations-and-bias)
54
+ - [Additional information](#additional-information)
55
+ - [Authors](#authors)
56
+ - [Contact information](#contact-information)
57
+ - [Licensing information](#licensing-information)
58
+ - [Funding](#funding)
59
+ - [Citing information](#citing-information)
60
+ - [Disclaimer](#disclaimer)
61
+
62
+ </details>
63
+
64
+ ## Model description
65
  Model trained on the human mentions of [CARMEN-I](https://zenodo.org/records/10171540).
66
 
67
+ ## How to use
68
+
69
+ ⚠ 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.
70
+
71
+ A usage example can be found [here](https://github.com/nlp4bia-bsc/hugging-face-pipeline/blob/main/simple_inference.py).
72
+
73
+ ## Limitations and bias
74
+ 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.
75
+
76
+
77
+ ## Additional information
78
+
79
+ ### Authors
80
+ NLP4BIA team at the Barcelona Supercomputing Center (nlp4bia@bsc.es).
81
+
82
+ ### Contact information
83
+ jan.rodriguez [at] bsc.es
84
+
85
+ ### Funding
86
+
87
+ 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).
88
+
89
+ ### Citing information
90
+
91
  Please cite the following works:
92
 
93
+ ```bibtex
94
+
95
+ @article{LimaLopez2025,
96
+ 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},
97
+ title = {A textual dataset of de-identified health records in Spanish and Catalan for medical entity recognition and anonymization},
98
+ journal = {Scientific Data},
99
+ volume = {12},
100
+ pages = {Article 1088},
101
+ year = {2025},
102
+ publisher = {Nature Publishing Group},
103
+ doi = {10.1038/s41597-025-05320-1},
104
+ url = {https://www.nature.com/articles/s41597-025-05320-1}
105
+ }
106
+
107
+ @misc{carmen_physionet,
108
+ 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},
109
+ title = {{CARMEN-I: A resource of anonymized electronic health records in Spanish and Catalan for training and testing NLP tools (version 1.0.1)}},
110
+ year = {2024},
111
+ publisher = {PhysioNet},
112
+ url = {https://doi.org/10.13026/x7ed-9r91}
113
+ },
114
+
115
  @article{livingner,
116
  title = {{Mention detection, normalization \& classification of species, pathogens, humans and food in clinical documents: Overview of LivingNER shared task and resources}},
117
  author = {Miranda-Escalada, Antonio and Farr{\'e}-Maduell, Eul{`a}lia and Lima-L{\'o}pez, Salvador and Estrada, Darryl and Gasc{\'o}, Luis and Krallinger, Martin},
 
119
  year = {2022}
120
  }
121
 
 
 
 
 
 
 
 
 
122
  @article{physionet,
123
  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 },
124
  title = {PhysioBank, PhysioToolkit, and PhysioNet },
 
132
  }
133
  ```
134
 
135
+ ### Disclaimer
136
+
137
+ 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.
138
+
139
+ 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.
140
+
141
+ ---
142
+ 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.
143
 
144
+ 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.