/ Модель

Характеристики

Контекст
514 токенов
Параметры
659 млн
Лицензия
Своя лицензия
Архитектура
xlm-roberta · dense
Базовая модель
RigoBERTa-2.0
Библиотека
transformers
Опубликована
16 янв 2025

RigoBERTa-Clinical

Заполнение пропусковТекст → текст3 профессии

Испаноязычная клиническая XLM-RoBERTa-модель для заполнения пропусков и адаптации к задачам медицинского NLP.

1 434скачиваний за 30 дней12лайковвеса обновлены12 мая 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

RigoBERTa Clinical — испаноязычная клиническая encoder-модель IIC, полученная дополнительным предобучением RigoBERTa 2 на клиническом корпусе ClinText-SP методом masked language modeling. В метаданных связь с FacebookAI/xlm-roberta-large и IIC/RigoBERTa-2.0 обозначена как merge; архитектура — XLM-RoBERTa для masked language modeling, размер — 658,7 млн параметров, контекст — 514 токенов.

Модель предназначена для заполнения пропусков в испанском клиническом тексте и как основа для прикладных задач медицинского NLP: классификации клинических записей, распознавания сущностей и адаптации к специализированным сценариям. В README сообщается о результатах на испанских клинических бенчмарках, включая CANTEMIST, MEDDOCAN и LivingNER1.

Модель специализирована на испанских клинических текстах; её переносимость на другие языки и области может быть ограничена, а обучающие данные могут содержать смещения. Ресурсоёмкость следует оценивать для целевой среды. README указывает лицензию rigoclinical-nc с некоммерческими условиями; метаданные Hugging Face обозначают лицензию как other.

Сценарии применения

  • заполнение пропущенных слов в испанских клинических текстах
  • классификация клинических записей на испанском языке
  • распознавание медицинских сущностей в клинических текстах
  • адаптация encoder-модели к испанским медицинским задачам

Ограничения

Модель ориентирована на испанские клинические тексты и может хуже обобщать на другие языки и предметные области; корпус обучения может содержать смещения. Лицензия rigoclinical-nc ограничивает использование некоммерческими сценариями.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

RigoBERTa Clinical

RigoBERTa Clinical is a state-of-the-art clinical encoder language model for Spanish, developed through domain-adaptive pretraining on the largest publicly available Spanish clinical corpus, ClinText-SP. This model significantly improves performance on multiple clinical NLP benchmarks while offering robust language understanding in the clinical domain.

Model Details

Model Description

RigoBERTa Clinical was built by further pretraining the general-purpose RigoBERTa 2 on a meticulously curated clinical corpus. The pretraining leverages masked language modeling (MLM) to adapt the model’s linguistic knowledge to the Spanish clinical domain.

  • Developed by: IIC
  • Model type: Encoder
  • Language(s) (NLP): Spanish
  • License: rigoclinical-nc (permissive Non Commercial)
  • Finetuned from model: RigoBERTa 2

Model Sources

Intended Use & Limitations

Intended Use

RigoBERTa Clinical is designed for:

  • Clinical text understanding in Spanish.
  • Applications in healthcare NLP tasks such as clinical note classification, entity recognition in clinical texts, and related downstream tasks.
  • Research and development purposes, including benchmarking and further model adaptation.

Limitations & Caveats

  • Domain Specificity: Although highly effective for Spanish clinical texts, the model may not generalize to other domains or languages.
  • Data Biases: ClinText-SP, while the largest corpus available, may contain biases due to source selection and the inherent limitations of public clinical data.
  • Operational Cost: Despite being an encoder-based model with relatively lower computational costs compared to generative LLMs, deployment in resource-constrained settings should be carefully evaluated.

Training Details

Training Data: ClinText-SP

ClinText-SP is the largest open Spanish clinical corpus and includes data from various open sources:

  • Volume: ~26 million tokens, 35,996 samples
  • Sample Details: Average of ~700 tokens per sample; contains both long-form clinical cases and shorter, schematic texts,
  • Sources: Medical journals, clinical shared tasks, radiological reports, and Wikipedia extracts.
  • Availability: ClinText-SP on Hugging Face Datasets

Training Procedure

Preprocessing

  • Tokenizer: Uses the tokenizer from RigoBERTa 2 to ensure consistency with the base model.
  • Handling Long Sequences: Clinical texts exceeding 512 tokens are segmented with a stride of 128 tokens; shorter sequences are padded as necessary.
  • OOV Handling: Out-of-vocabulary words are managed using subword tokenization, maintaining robust handling of clinical terminology.

Training Details

  • Objective: Masked Language Modeling (MLM)
  • Epochs: 2 full epochs (with the best model selected after ~1.8 epochs, based on downstream performance)
  • Hyperparameters Grid:
    • Batch Sizes: 32, 64, 128
    • Learning Rates: Ranges of {5e-6, 1e-5, 2e-5} for batch size 32, {1e-5, 2e-5, 4e-5} for 64, and {1e-5, 4e-5, 8e-5} for 128
  • Best Settings: Batch size = 32, Learning rate = 2e-5, ~2800 training steps (~1.8 epochs)
  • Optimizer: AdamW with weight decay of 0.1
  • Hardware: Trained on a single NVIDIA A100 GPU (80GB memory)

Evaluation

RigoBERTa Clinical was evaluated on several Spanish clinical NLP tasks including Named Entity Recognition (NER) and multilabel classification. Evaluation metrics (F1 score and micro-averaged F1) indicate that the model outperforms previous clinical and general Spanish language models.

Key Results:

  • Achieves top performance on datasets such as cantemist, meddocan, and livingner1, among others.
  • Consistently surpasses the performance of models that were trained solely on clinical data, demonstrating the advantage of leveraging general domain knowledge during domain adaptation.
  • Detailed benchmarking results and comparisons are provided in the associated publication.

For a full breakdown of results (including performance on multilingual baselines and other clinical-specific models), please refer to Table 1 and the Nemenyi plot in the original paper.

Nemenji plot

Citation

If you use RigoBERTa Clinical in your research, please cite the associated paper:

BibTeX:

@article{SUBIES2026114998,
title = {Advancing Spanish clinical language understanding through domain-adaptive pretraining and new open clinical resources},
journal = {Engineering Applications of Artificial Intelligence},
volume = {178},
pages = {114998},
year = {2026},
issn = {0952-1976},
doi = {https://doi.org/10.1016/j.engappai.2026.114998},
url = {https://www.sciencedirect.com/science/article/pii/S0952197626012819},
author = {Guillem García Subies and Álvaro Barbero Jiménez and Paloma Martínez Fernández},
}

APA:

Subies, G. G., Barbero Jiménez, Á., & Martínez Fernández, P. (2026). Advancing Spanish clinical language understanding through domain-adaptive pretraining and new open clinical resources. *Engineering Applications of Artificial Intelligence, 178*, 114998. [https://doi.org/10.1016/j.engappai.2026.114998](https://doi.org/10.1016/j.engappai.2026.114998)

Model Card Authors and Contact

Guillem García Subies: guillem.garcia@iic.uam.es, 100500844@alumnos.uc3m.es

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers · fill-mask

Можно запустить

Подбираем GPU…

Класс архитектуры
XLMRobertaForMaskedLM
Ревизия весов
e52a07c

0 моделей