janrodriguez commited on
Commit
d696956
·
verified ·
1 Parent(s): e9644ea

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +139 -3
README.md CHANGED
@@ -1,3 +1,139 @@
1
- ---
2
- license: cc-by-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - es
4
+ tags:
5
+ - biomedical
6
+ - clinical
7
+ - EHR
8
+ - spanish
9
+ - location
10
+ - geopolitical
11
+ - facility
12
+ - geographical
13
+ - transport
14
+ - community
15
+ - language
16
+ - clinical department
17
+ license: apache-2.0
18
+ metrics:
19
+ - precision
20
+ - recall
21
+ - f1
22
+ base_model:
23
+ - PlanTL-GOB-ES/bsc-bio-ehr-es
24
+ model-index:
25
+ - name: BSC-NLP4BIA/prof-ner-es
26
+ results:
27
+ - task:
28
+ type: token-classification
29
+ dataset:
30
+ name: MEDDOPLACE (subtrack 1)
31
+ type: MEDDOPLACE
32
+ metrics:
33
+ - name: precision (micro)
34
+ type: precision
35
+ value: 0.865
36
+ - name: recall (micro)
37
+ type: recall
38
+ value: 0.859
39
+ - name: f1 (micro)
40
+ type: f1
41
+ value: 0.862
42
+ widget:
43
+ - text: >-
44
+ El diagnóstico definitivo de nuestro paciente fue de un Adenocarcinoma de
45
+ pulmón cT2a cN3 cM1a Estadio IV (por una única lesión pulmonar
46
+ contralateral) PD-L1 90%, EGFR negativo, ALK negativo y ROS-1 negativo.
47
+ - text: >-
48
+ Durante el ingreso se realiza una TC, observándose un nódulo pulmonar en el
49
+ LII y una masa renal derecha indeterminada. Se realiza punción biopsia del
50
+ nódulo pulmonar, con hallazgos altamente sospechosos de carcinoma.
51
+ - text: >-
52
+ Trombosis paraneoplásica con sospecha de hepatocarcinoma por imagen, sobre
53
+ hígado cirrótico, en paciente con índice Child-Pugh B.
54
+ ---
55
+
56
+
57
+ # LocationTagger
58
+
59
+ ## Table of contents
60
+ <details>
61
+ <summary>Click to expand</summary>
62
+
63
+ - [Model description](#model-description)
64
+ - [How to use](#how-to-use)
65
+ - [Limitations and bias](#limitations-and-bias)
66
+ - [Training](#training)
67
+ - [Evaluation](#evaluation)
68
+ - [Additional information](#additional-information)
69
+ - [Authors](#authors)
70
+ - [Contact information](#contact-information)
71
+ - [Licensing information](#licensing-information)
72
+ - [Funding](#funding)
73
+ - [Citing information](#citing-information)
74
+ - [Disclaimer](#disclaimer)
75
+
76
+ </details>
77
+
78
+ ## Model description
79
+ A fine-tuned version of the [bsc-bio-ehr-es](https://huggingface.co/PlanTL-GOB-ES/bsc-bio-ehr-es) model on the [MEDDOPLACE](https://doi.org/10.5281/zenodo.7707566) corpus (subtrack 1) for named geopolitical entities (GPE_NOM), generic geopolitical entities (GPE_GEN), named geographical entities (GEO_NOM), generic geographical entities (GEO_GEN), named facility entities (FAC_NOM), generic facility entities (FAC_GEN), community (COMUNIDAD), language (IDIOMA), transportation (TRANSPORTE), and clinical departments and services (DEPARTAMENTO).
80
+
81
+ For further information, check the [official website](https://temu.bsc.es/meddoplace/).
82
+
83
+ ## How to use
84
+
85
+ ⚠ 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.
86
+
87
+ A usage example can be found [here](https://github.com/nlp4bia-bsc/hugging-face-pipeline/blob/main/simple_inference.ipynb).
88
+
89
+ ## Limitations and bias
90
+ 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.
91
+
92
+ ## Evaluation
93
+
94
+ Strict (same class, exact boundary) and overlapping (same class, some overlap) metrics for the MEDDOPLACE Subtrack 1 test set.
95
+
96
+ | | precision | recall | f_score | ov_precision | ov_recall | ov_f_score |
97
+ | ------------ | --------- | ------ | ------- | ------------ | --------- | ---------- |
98
+ | COMUNIDAD | 0.895 | 0.747 | 0.814 | 0.895 | 0.747 | 0.814 |
99
+ | DEPARTAMENTO | 0.898 | 0.897 | 0.897 | 0.935 | 0.934 | 0.935 |
100
+ | FAC_GEN | 0.876 | 0.866 | 0.871 | 0.911 | 0.900 | 0.905 |
101
+ | FAC_NOM | 0.552 | 0.681 | 0.610 | 0.724 | 0.894 | 0.800 |
102
+ | GEO_GEN | 0.745 | 0.859 | 0.798 | 0.776 | 0.894 | 0.831 |
103
+ | GEO_NOM | 0.400 | 0.400 | 0.400 | 0.500 | 0.500 | 0.500 |
104
+ | GPE_GEN | 0.851 | 0.866 | 0.858 | 0.930 | 0.946 | 0.938 |
105
+ | GPE_NOM | 0.902 | 0.868 | 0.885 | 0.936 | 0.900 | 0.917 |
106
+ | IDIOMA | 0.739 | 0.739 | 0.739 | 0.913 | 0.913 | 0.913 |
107
+ | TRANSPORTE | 0.878 | 0.825 | 0.851 | 0.926 | 0.870 | 0.897 |
108
+ | ------------ | --------- | ------ | ------- | ------------ | --------- | ---------- |
109
+ | micro avg | 0.865 | 0.859 | 0.862 | 0.909 | 0.903 | 0.906 |
110
+
111
+ ## Additional information
112
+
113
+ ### Authors
114
+ NLP4BIA team at the Barcelona Supercomputing Center ([email protected]).
115
+
116
+ ### Contact information
117
+ jan.rodriguez [at] bsc.es
118
+
119
+ ### Licensing information
120
+ [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)
121
+
122
+ ### Funding
123
+ TBD
124
+
125
+ ### Citing information
126
+
127
+ Please cite the following works:
128
+
129
+
130
+ ### Disclaimer
131
+
132
+ 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.
133
+
134
+ 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.
135
+
136
+ ---
137
+ 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.
138
+
139
+ 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.