Update README.md
Browse files
README.md
CHANGED
@@ -34,21 +34,15 @@ widget:
|
|
34 |
- [Licensing Information](#licensing-information)
|
35 |
- [Funding](#funding)
|
36 |
- [Citation Information](#citation-information)
|
37 |
-
- [Contributions](#contributions)
|
38 |
- [Disclaimer](#disclaimer)
|
39 |
|
40 |
</details>
|
41 |
|
42 |
## Model description
|
43 |
-
|
44 |
-
Biomedical pretrained language model for Spanish.This model is a [RoBERTa-based](https://github.com/pytorch/fairseq/tree/master/examples/roberta) model trained on a **biomedical-clinical** corpus in Spanish collected from several sources.
|
45 |
-
|
46 |
|
47 |
## Intended uses & limitations
|
48 |
-
|
49 |
-
The model is ready-to-use only for masked language modelling to perform the Fill Mask task (try the inference API or read the next section)
|
50 |
-
|
51 |
-
However, the is intended to be fine-tuned on downstream tasks such as Named Entity Recognition or Text Classification.
|
52 |
|
53 |
## How to use
|
54 |
|
@@ -102,11 +96,9 @@ unmasker("El único antecedente personal a reseñar era la <mask> arterial.")
|
|
102 |
```
|
103 |
|
104 |
## Limitations and bias
|
105 |
-
|
106 |
-
[N/A]
|
107 |
|
108 |
## Training
|
109 |
-
|
110 |
The training corpus has been tokenized using a byte version of [Byte-Pair Encoding (BPE)](https://github.com/openai/gpt-2)
|
111 |
used in the original [RoBERTA](https://github.com/pytorch/fairseq/tree/master/examples/roberta) model with a vocabulary size of 52,000 tokens. The pretraining consists of a masked language model training at the subword level following the approach employed for the RoBERTa base model with the same hyperparameters as in the original work. The training lasted a total of 48 hours with 16 NVIDIA V100 GPUs of 16GB DDRAM, using Adam optimizer with a peak learning rate of 0.0005 and an effective batch size of 2,048 sentences.
|
112 |
|
@@ -137,8 +129,7 @@ Eventually, the clinical corpus is concatenated to the cleaned biomedical corpus
|
|
137 |
| PubMed | 1,858,966 | Open-access articles from the PubMed repository crawled in 2017. |
|
138 |
|
139 |
|
140 |
-
## Evaluation
|
141 |
-
|
142 |
The model has been evaluated on the Named Entity Recognition (NER) using the following datasets:
|
143 |
|
144 |
- [PharmaCoNER](https://zenodo.org/record/4270158): is a track on chemical and drug mention recognition from Spanish medical texts (for more info see: https://temu.bsc.es/pharmaconer/).
|
@@ -160,23 +151,18 @@ The evaluation results are compared against the [mBERT](https://huggingface.co/b
|
|
160 |
## Additional information
|
161 |
|
162 |
### Author
|
163 |
-
|
164 |
Text Mining Unit (TeMU) at the Barcelona Supercomputing Center (bsc-temu@bsc.es)
|
165 |
|
166 |
### Contact Information
|
167 |
-
|
168 |
For further information, send an email to <plantl-gob-es@bsc.es>
|
169 |
|
170 |
### Copyright
|
171 |
-
|
172 |
Copyright by the Spanish State Secretariat for Digitalization and Artificial Intelligence (SEDIA) (2022)
|
173 |
|
174 |
### Licensing information
|
175 |
-
|
176 |
[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)
|
177 |
|
178 |
### Funding
|
179 |
-
|
180 |
This work was funded by the Spanish State Secretariat for Digitalization and Artificial Intelligence (SEDIA) within the framework of the Plan-TL.
|
181 |
|
182 |
### Citation Information
|
@@ -210,11 +196,6 @@ If you use our Medical Crawler corpus, please cite the preprint:
|
|
210 |
|
211 |
```
|
212 |
|
213 |
-
### Contributions
|
214 |
-
|
215 |
-
[N/A]
|
216 |
-
|
217 |
-
|
218 |
### Disclaimer
|
219 |
|
220 |
<details>
|
|
|
34 |
- [Licensing Information](#licensing-information)
|
35 |
- [Funding](#funding)
|
36 |
- [Citation Information](#citation-information)
|
|
|
37 |
- [Disclaimer](#disclaimer)
|
38 |
|
39 |
</details>
|
40 |
|
41 |
## Model description
|
42 |
+
Biomedical pretrained language model for Spanish. This model is a [RoBERTa-based](https://github.com/pytorch/fairseq/tree/master/examples/roberta) model trained on a **biomedical-clinical** corpus in Spanish collected from several sources.
|
|
|
|
|
43 |
|
44 |
## Intended uses & limitations
|
45 |
+
The model is ready-to-use only for masked language modelling to perform the Fill Mask task (try the inference API or read the next section). However, it is intended to be fine-tuned on downstream tasks such as Named Entity Recognition or Text Classification.
|
|
|
|
|
|
|
46 |
|
47 |
## How to use
|
48 |
|
|
|
96 |
```
|
97 |
|
98 |
## Limitations and bias
|
99 |
+
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.
|
|
|
100 |
|
101 |
## Training
|
|
|
102 |
The training corpus has been tokenized using a byte version of [Byte-Pair Encoding (BPE)](https://github.com/openai/gpt-2)
|
103 |
used in the original [RoBERTA](https://github.com/pytorch/fairseq/tree/master/examples/roberta) model with a vocabulary size of 52,000 tokens. The pretraining consists of a masked language model training at the subword level following the approach employed for the RoBERTa base model with the same hyperparameters as in the original work. The training lasted a total of 48 hours with 16 NVIDIA V100 GPUs of 16GB DDRAM, using Adam optimizer with a peak learning rate of 0.0005 and an effective batch size of 2,048 sentences.
|
104 |
|
|
|
129 |
| PubMed | 1,858,966 | Open-access articles from the PubMed repository crawled in 2017. |
|
130 |
|
131 |
|
132 |
+
## Evaluation
|
|
|
133 |
The model has been evaluated on the Named Entity Recognition (NER) using the following datasets:
|
134 |
|
135 |
- [PharmaCoNER](https://zenodo.org/record/4270158): is a track on chemical and drug mention recognition from Spanish medical texts (for more info see: https://temu.bsc.es/pharmaconer/).
|
|
|
151 |
## Additional information
|
152 |
|
153 |
### Author
|
|
|
154 |
Text Mining Unit (TeMU) at the Barcelona Supercomputing Center (bsc-temu@bsc.es)
|
155 |
|
156 |
### Contact Information
|
|
|
157 |
For further information, send an email to <plantl-gob-es@bsc.es>
|
158 |
|
159 |
### Copyright
|
|
|
160 |
Copyright by the Spanish State Secretariat for Digitalization and Artificial Intelligence (SEDIA) (2022)
|
161 |
|
162 |
### Licensing information
|
|
|
163 |
[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)
|
164 |
|
165 |
### Funding
|
|
|
166 |
This work was funded by the Spanish State Secretariat for Digitalization and Artificial Intelligence (SEDIA) within the framework of the Plan-TL.
|
167 |
|
168 |
### Citation Information
|
|
|
196 |
|
197 |
```
|
198 |
|
|
|
|
|
|
|
|
|
|
|
199 |
### Disclaimer
|
200 |
|
201 |
<details>
|