/ Модель

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

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

roberta-es-clinical-trials-ner

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

Модель на основе RoBERTa выделяет четыре категории медицинских сущностей в испанских текстах о клинических исследованиях.

74скачиваний за 30 дней12лайковвеса обновлены20 мар 2023

Бенчмарки

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

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

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

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

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

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

lcampillos/roberta-es-clinical-trials-ner — модель распознавания именованных сущностей на основе RoBERTa, разработанная CSIC (Consejo Superior de Investigaciones Científicas). Она дообучена на испанских текстах о клинических исследованиях и выделяет четыре группы медицинских сущностей UMLS: анатомические объекты, химические и фармакологические вещества, патологические состояния, а также диагностические и терапевтические процедуры и лабораторные анализы.

Модель содержит 151,8 млн параметров, принимает текст с контекстом до 514 токенов и возвращает метки для токенов. Для оценки на тестовом наборе указаны F1 0,8647, точность 0,8495 и полнота 0,8806. Обучение проводилось на испанском корпусе CT-EBM-SP из 1200 текстов: аннотаций научных публикаций и объявлений о клинических исследованиях.

Модель предназначена для извлечения медицинских сущностей из текстов о клинических исследованиях, например для подготовки данных к поиску и анализу. Она находится в разработке и может содержать смещения; её результаты требуют проверки специалистом и не подходят для принятия медицинских решений без человеческого контроля. Лицензия — CC BY-NC 4.0.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

roberta-es-clinical-trials-ner

This medical named entity recognition model detects 4 types of semantic groups from the Unified Medical Language System (UMLS) (Bodenreider 2004):

  • ANAT: body parts and anatomy (e.g. garganta, 'throat')
  • CHEM: chemical entities and pharmacological substances (e.g. aspirina,'aspirin')
  • DISO: pathologic conditions (e.g. dolor, 'pain')
  • PROC: diagnostic and therapeutic procedures, laboratory analyses and medical research activities (e.g. cirugía, 'surgery')

The model achieves the following results on the evaluation set:

  • Loss: 0.1580
  • Precision: 0.8495
  • Recall: 0.8806
  • F1: 0.8647
  • Accuracy: 0.9583

Model description

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).

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 (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.

Training and evaluation data

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:

  • 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 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}
}

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 2e-05
  • train_batch_size: 16
  • eval_batch_size: 16
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 4

Training results

Training LossEpochStepValidation LossPrecisionRecallF1Accuracy
0.07711.07850.12740.84490.87970.86190.9608
0.04152.015700.13560.85690.88560.87100.9528
0.02623.023550.15620.86190.87980.87070.9526
0.01864.031400.15820.86090.88460.87260.9527

Results per class (test set)

ClassPrecisionRecallF1Support
ANAT0.70690.65180.6783359
CHEM0.91620.92280.91952929
DISO0.88050.89180.88613042
PROC0.81980.87200.84503954

Framework versions

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

Environmental Impact

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.

  • Hardware Type: 1 GPU 24 GB RTX 3090
  • Time used: 4' (0.07 hours)
  • Compute Region: Spain, Europe
  • Carbon Emitted (Power consumption x Time x Carbon produced based on location of power grid): 0.01 kg eq. CO2 (Carbon offset: 0)

Funding

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.

License

Attribution-NonCommercial 4.0 International (CC BY 4.0)

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей