Text Classification
Transformers
PyTorch
Safetensors
Spanish
roberta
biomedical
clinical
spanish
bsc-bio-ehr-es
Eval Results (legacy)
text-embeddings-inference
Instructions to use IIC/bsc-bio-ehr-es-caresC with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IIC/bsc-bio-ehr-es-caresC with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="IIC/bsc-bio-ehr-es-caresC")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("IIC/bsc-bio-ehr-es-caresC") model = AutoModelForSequenceClassification.from_pretrained("IIC/bsc-bio-ehr-es-caresC") - Notebooks
- Google Colab
- Kaggle
metadata
language: es
tags:
- biomedical
- clinical
- spanish
- bsc-bio-ehr-es
license: apache-2.0
datasets:
- chizhikchi/CARES
metrics:
- f1
model-index:
- name: IIC/bsc-bio-ehr-es-caresC
results:
- task:
type: multi-label-classification
dataset:
name: Cares Chapters
type: chizhikchi/CARES
split: test
metrics:
- name: f1
type: f1
value: 0.862
pipeline_tag: text-classification
bsc-bio-ehr-es-caresC
This model is a finetuned version of bsc-bio-ehr-es for the Cares Chapters dataset used in a benchmark in the paper A comparative analysis of Spanish Clinical encoder-based models on NER and classification tasks. The model has a F1 of 0.862
Please refer to the original publication for more information.
Parameters used
| parameter | Value |
|---|---|
| batch size | 16 |
| learning rate | 3e-05 |
| classifier dropout | 0.1 |
| warmup ratio | 0 |
| warmup steps | 0 |
| weight decay | 0 |
| optimizer | AdamW |
| epochs | 10 |
| early stopping patience | 3 |
BibTeX entry and citation info
@article{10.1093/jamia/ocae054,
author = {García Subies, Guillem and Barbero Jiménez, Álvaro and Martínez Fernández, Paloma},
title = {A comparative analysis of Spanish Clinical encoder-based models on NER and classification tasks},
journal = {Journal of the American Medical Informatics Association},
volume = {31},
number = {9},
pages = {2137-2146},
year = {2024},
month = {03},
issn = {1527-974X},
doi = {10.1093/jamia/ocae054},
url = {https://doi.org/10.1093/jamia/ocae054},
}