Text Classification
Transformers
PyTorch
Safetensors
Spanish
roberta
biomedical
clinical
spanish
roberta-large-bne
Eval Results (legacy)
text-embeddings-inference
Instructions to use IIC/roberta-large-bne-caresA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IIC/roberta-large-bne-caresA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="IIC/roberta-large-bne-caresA")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("IIC/roberta-large-bne-caresA") model = AutoModelForSequenceClassification.from_pretrained("IIC/roberta-large-bne-caresA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from IIC/roberta-large-bne-caresA: direct link, hf CLI and curl.
- Browser
- Download file 1.82 kB
-
https://huggingface.co/IIC/roberta-large-bne-caresA/resolve/main/README.md
- Command line
-
hf download hf://IIC/roberta-large-bne-caresA/README.md
-
curl -L -o README.md https://huggingface.co/IIC/roberta-large-bne-caresA/resolve/main/README.md
1.82 kB
| language: es | |
| tags: | |
| - biomedical | |
| - clinical | |
| - spanish | |
| - roberta-large-bne | |
| license: apache-2.0 | |
| datasets: | |
| - "chizhikchi/CARES" | |
| metrics: | |
| - f1 | |
| model-index: | |
| - name: IIC/roberta-large-bne-caresA | |
| results: | |
| - task: | |
| type: multi-label-classification | |
| dataset: | |
| name: Cares Area | |
| type: chizhikchi/CARES | |
| split: test | |
| metrics: | |
| - name: f1 | |
| type: f1 | |
| value: 0.992 | |
| pipeline_tag: text-classification | |
| # roberta-large-bne-caresA | |
| This model is a finetuned version of roberta-large-bne for the Cares Area 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.992 | |
| Please refer to the [original publication](https://doi.org/10.1093/jamia/ocae054) for more information. | |
| ## Parameters used | |
| | parameter | Value | | |
| |-------------------------|:-----:| | |
| | batch size | 32 | | |
| | learning rate | 4e-05 | | |
| | classifier dropout | 0.2 | | |
| | warmup ratio | 0 | | |
| | warmup steps | 0 | | |
| | weight decay | 0 | | |
| | optimizer | AdamW | | |
| | epochs | 10 | | |
| | early stopping patience | 3 | | |
| ## BibTeX entry and citation info | |
| ```bibtext | |
| @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}, | |
| } | |
| ``` | |