/ Модель

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

Контекст
514 токенов
Параметры
659 млн
Лицензия
CC BY-NC 4.0
Архитектура
xlm-roberta · dense
Опубликована
15 янв 2024

xlm-roberta-large-spanish-trials-attributes

Разметка токеновТекст → label3 профессии

Модель на базе XLM-RoBERTa извлекает из медицинских текстов на испанском языке атрибуты событий: участника и временную характеристику.

217скачиваний за 30 дней0лайковвеса обновлены1 окт 2024

Бенчмарки

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

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

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

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

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

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

Это модель распознавания именованных сущностей на основе XLM-RoBERTa Large, разработанная для медицинских текстов на испанском языке. Она дообучена на корпусе CT-EBM-SP и выявляет атрибуты клинических событий: кто является переживающим событие (пациент, член семьи или другое лицо) и когда оно произошло (в будущем или в прошлом). Модель содержит около 658,7 млн параметров, работает с текстом и имеет контекст до 514 токенов.

Модель предназначена для извлечения атрибутов из текстов клинических исследований и объявлений о клинических испытаниях. В тестировании средний F1 составил 0,878, точность — 0,894, полнота — 0,863. Разработчики указывают, что модель находится в разработке и не должна использоваться для медицинских решений без контроля специалиста. Лицензия CC BY-NC 4.0 разрешает использование с указанием авторства, но некоммерчески.

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

  • определение, относится ли медицинское событие к пациенту или его родственнику
  • извлечение упоминаний будущих медицинских событий
  • определение упоминаний перенесённых заболеваний и событий
  • анализ атрибутов в аннотациях клинических исследований
  • разметка объявлений о клинических испытаниях на испанском языке

Ограничения

Модель находится в разработке; её нельзя использовать для принятия медицинских решений без помощи и контроля человека. В README отмечены возможные смещения и нежелательные искажения.

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

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

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

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

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

Открыть на Hugging Face

xlm-roberta-large-spanish-trials-cases-attributes

This named entity recognition model detects the following types of medical attributes:

  • Experiencer:

    • Patient: e.g. paciente
    • Family_member: e.g. padre
    • Other: e.g. cirujano
  • Event temporality:

    • Future: e.g. cirugía pendiente
    • History_of: e.g. antecedentes de migraña

The model achieves the following results on the test set (results are averaged over 5 evaluation rounds):

  • Precision: 0.894 (±0.013)
  • Recall: 0.863 (±0.010)
  • F1: 0.878 (±0.005)
  • Accuracy: 0.988 (±0.001)

Model description

This model adapts the pre-trained model xlm-roberta-large-spanish-clinical, presented in Lange et al. (2022). It is fine-tuned to conduct medical named entity recognition on texts about in Spanish. The model is fine-tuned on the CT-EBM-ES corpus (Campillos-Llanos et al. 2021).

If you use this model, please, cite as follows:

@article{campillosetal2024,
        title = {{Hybrid tool for semantic annotation and concept extraction of medical texts in Spanish}},
        author = {Campillos-Llanos, Leonardo and Valverde-Mateos, Ana and Capllonch-Carri{\'o}n, Adri{\'a}n},
        journal = {BMC Bioinformatics},
        year={2024},
        publisher={BioMed Central}
}

Intended uses & limitations

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 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 de ningún modo será responsable de los resultados derivados del uso que las terceras partes hagan de estos modelos.

Training and evaluation data

The model is fine-tuned on the Clinical Trials for Evidence-Based-Medicine in Spanish (CT-EBM-SP) corpus vs 2. The CT-EBM-SP corpus is a collection of 1200 texts about clinical trials studies and clinical trials announcements:

  • 500 abstracts from journals published under a Creative Commons license, e.g. available in PubMed or the Scientific Electronic Library Online (SciELO)
  • 700 clinical trials announcements published in the European Clinical Trials Register and Repositorio Español de Estudios Clínicos

If you use the CT-EBM-ES 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}
}

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 2e-05
  • train_batch_size: 8
  • eval_batch_size: 8
  • seed: we used different seeds for 5 evaluation rounds, and uploaded the model with the best results
  • optimizer: Adam
  • num_epochs: average 16.4 (±4.83); trained with early stopping if no improvement after 5 epochs (early stopping patience: 5)

Training results (test set; average and standard deviation of 5 rounds with different seeds)

PrecisionRecallF1Accuracy
0.894 (±0.013)0.863 (±0.010)0.878 (±0.005)0.988 (±0.001)

Framework versions

  • Transformers 4.17.0
  • Pytorch 1.10.2+cu113
  • Datasets 1.18.4
  • Tokenizers 0.11.6

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

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

GPU в ailist

Универсальный рантайм · token-classification

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

Подбираем GPU…

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

0 моделей