Downloads · 30 days
75
0% of all-time downloads
lcampillos/roberta-es-clinical-trials-ner
roberta-es-clinical-trials-ner is a token classification model from lcampillos. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as cc-by-nc-4.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
75
0% of all-time downloads
All-time downloads
69.9K
Public
Parameters
124M
993 MB on disk
Likes
12
Public
Click a slice to open those files.
.bin496 MB · 50%
How the weights are stored.
F32124M · 100%
From the Hugging Face model README
This medical named entity recognition model detects 4 types of semantic groups from the Unified Medical Language System (UMLS) (Bodenreider 2004):
The model achieves the following results on the evaluation set:
This model adapts the pre-trained model bsc-bio-ehr-es, presented in Pio Carriño et al. (2022). It is fine-tuned to conduct medical named entity recognition on Spanish texts about clinical trials. The model is fine-tuned on the CT-EBM-SP corpus (Campillos-Llanos et al. 2021).
Disclosure: This model is under development and needs to be improved. It should not be used for medical decision making without human assistance and supervision
This model is intended for a generalist purpose, and may have bias and/or any other undesirable distortions.
Third parties who deploy or provide systems and/or services using any of these models (or using systems based on these models) should note that it is their responsibility to mitigate the risks arising from their use. Third parties, in any event, need to comply with applicable regulations, including regulations concerning the use of artificial intelligence.
The owner or creator of the models (CSIC – Consejo Superior de Investigaciones Científicas) will in no event be liable for any results arising from the use made by third parties of these models.
Descargo de responsabilidad: Esta herramienta se encuentra en desarrollo y no debe ser empleada para la toma de decisiones médicas
La finalidad de este modelo es generalista, y se advierte que puede tener sesgos y/u otro tipo de distorsiones indeseables.
Terceras partes que desplieguen o proporcionen sistemas y/o servicios usando alguno de estos modelos (o utilizando sistemas basados en estos modelos) han tener presente que es su responsabilidad abordar y minimizar los riesgos derivados de su uso. Las terceras partes, en cualquier circunstancia, deben cumplir con la normativa aplicable, incluyendo la normativa que concierne al uso de la inteligencia artificial.
El propietario o creador de los modelos (CSIC – Consejo Superior de Investigaciones Científicas) de ningún modo será responsable de los resultados derivados del uso que las terceras partes hagan de estos modelos.
The data used for fine-tuning is the Clinical Trials for Evidence-Based-Medicine in Spanish corpus.
It is a collection of 1200 texts about clinical trials studies and clinical trials announcements:
If you use this resource, please, cite as follows:
@article{campillosetal-midm2021,
title = {A clinical trials corpus annotated with UMLS© entities to enhance the access to Evidence-Based Medicine},
author = {Campillos-Llanos, Leonardo and Valverde-Mateos, Ana and Capllonch-Carri{\'o}n, Adri{\'a}n and Moreno-Sandoval, Antonio},
journal = {BMC Medical Informatics and Decision Making},
volume={21},
number={1},
pages={1--19},
year={2021},
publisher={BioMed Central}
}
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.0771 | 1.0 | 785 | 0.1274 | 0.8449 | 0.8797 | 0.8619 | 0.9608 |
| 0.0415 | 2.0 | 1570 | 0.1356 | 0.8569 | 0.8856 | 0.8710 | 0.9528 |
| 0.0262 | 3.0 | 2355 | 0.1562 | 0.8619 | 0.8798 | 0.8707 | 0.9526 |
| 0.0186 | 4.0 | 3140 | 0.1582 | 0.8609 | 0.8846 | 0.8726 | 0.9527 |
Results per class (test set)
| Class | Precision | Recall | F1 | Support |
|---|---|---|---|---|
| ANAT | 0.7069 | 0.6518 | 0.6783 | 359 |
| CHEM | 0.9162 | 0.9228 | 0.9195 | 2929 |
| DISO | 0.8805 | 0.8918 | 0.8861 | 3042 |
| PROC | 0.8198 | 0.8720 | 0.8450 | 3954 |
Carbon emissions are estimated with the Machine Learning Impact calculator by Lacoste et al. (2019). The carbon impact is estimated by specifying the hardware, runtime, cloud provider, and compute region.
This model was created with the annotated dataset from the NLPMedTerm project, funded by InterTalentum UAM, Marie Skłodowska-Curie COFUND grant (2019-2021) (H2020 program, contract number 713366) and by the Computational Linguistics Chair from the Knowledge Engineering Institute (IIC-UAM).
We thank the Computational Linguistics Laboratory (LLI) at the Autonomous Universidad of Madrid (Universidad Autónoma de Madrid) for the computational facilities we used to fine-tune the model.
Attribution-NonCommercial 4.0 International (CC BY 4.0)