janrodriguez commited on
Commit
59ca778
·
verified ·
1 Parent(s): 130f85e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +133 -3
README.md CHANGED
@@ -1,3 +1,133 @@
1
- ---
2
- license: cc-by-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - es
4
+ tags:
5
+ - NER
6
+ - named entity recognition
7
+ - biomedical
8
+ - clinical
9
+ - EHR
10
+ - spanish
11
+ - location
12
+ - birth place
13
+ - residence
14
+ - movement
15
+ - medical care
16
+ license: apache-2.0
17
+ metrics:
18
+ - precision
19
+ - recall
20
+ - f1
21
+ base_model:
22
+ - PlanTL-GOB-ES/bsc-bio-ehr-es
23
+ model-index:
24
+ - name: BSC-NLP4BIA/location-tagger
25
+ results:
26
+ - task:
27
+ type: token-classification
28
+ dataset:
29
+ name: MEDDOPLACE (subtrack 3)
30
+ type: MEDDOPLACE
31
+ metrics:
32
+ - name: precision (micro)
33
+ type: precision
34
+ value: 0.742
35
+ - name: recall (micro)
36
+ type: recall
37
+ value: 0.733
38
+ - name: f1 (micro)
39
+ type: f1
40
+ value: 0.738
41
+ widget:
42
+ - text: >-
43
+ El diagnóstico definitivo de nuestro paciente fue de un Adenocarcinoma de
44
+ pulmón cT2a cN3 cM1a Estadio IV (por una única lesión pulmonar
45
+ contralateral) PD-L1 90%, EGFR negativo, ALK negativo y ROS-1 negativo.
46
+ - text: >-
47
+ Durante el ingreso se realiza una TC, observándose un nódulo pulmonar en el
48
+ LII y una masa renal derecha indeterminada. Se realiza punción biopsia del
49
+ nódulo pulmonar, con hallazgos altamente sospechosos de carcinoma.
50
+ - text: >-
51
+ Trombosis paraneoplásica con sospecha de hepatocarcinoma por imagen, sobre
52
+ hígado cirrótico, en paciente con índice Child-Pugh B.
53
+ pipeline_tag: token-classification
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 3) for subcategorization of location entities. The labels detected are: brith place (LUGAR_NATAL), residence (RESIDENCIA), movement (MOVIMIENTO), medical care (ATENCION), and other (OTHER).
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
+ | ATENCION | 0.728 | 0.738 | 0.733 | 0.797 | 0.809 | 0.803 |
99
+ | LUGAR_NATAL | 0.672 | 0.743 | 0.706 | 0.728 | 0.805 | 0.765 |
100
+ | MOVIMIENTO | 0.775 | 0.713 | 0.743 | 0.804 | 0.740 | 0.771 |
101
+ | RESIDENCIA | 0.761 | 0.816 | 0.787 | 0.791 | 0.848 | 0.819 |
102
+ | OTHER | 0.751 | 0.694 | 0.721 | 0.808 | 0.747 | 0.776 |
103
+ | **Micro avg.** | **0.742** | **0.733** | **0.738** | **0.795** | **0.785** | **0.790** |
104
+
105
+ ## Additional information
106
+
107
+ ### Authors
108
+ NLP4BIA team at the Barcelona Supercomputing Center ([email protected]).
109
+
110
+ ### Contact information
111
+ jan.rodriguez [at] bsc.es
112
+
113
+ ### Licensing information
114
+ [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)
115
+
116
+ ### Funding
117
+ TBD
118
+
119
+ ### Citing information
120
+
121
+ Please cite the following works:
122
+
123
+
124
+ ### Disclaimer
125
+
126
+ 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.
127
+
128
+ 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.
129
+
130
+ ---
131
+ 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.
132
+
133
+ 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.