/ Модель

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

Контекст
512 токенов
Параметры
306 млн
Лицензия
CC BY-NC 4.0
Архитектура
deberta-v2 · dense
Опубликована
13 янв 2024

mdeberta-v3-base-es-trials-temp-ents

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

Модель находит возраст и временные выражения в испанских текстах о клинических испытаниях.

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

Бенчмарки

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

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

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

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

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

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

Эта модель распознаёт именованные сущности во фрагментах испанского текста о клинических испытаниях. Она выделяет возраст и временные выражения по схеме TimeML: даты, длительность, частоту и время суток. Модель основана на многоязычной mdeberta-v3-base и дообучена на корпусе CT-EBM-ES версии 2, содержащем 1200 текстов о клинических исследованиях. Архитектура DeBERTa v2 для классификации токенов насчитывает 306 млн параметров; контекст ограничен 512 токенами.

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

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

mdeberta-v3-base-es-trials-temp-ents

This named entity recognition model detects temporal expressions (TIMEX) according to the TimeML scheme (Pustejovsky et al. 2005), in addition to Age entities:

  • Age: e.g. 18 años
  • Date: e.g. 2022, 26 de noviembre
  • Duration: e.g. 3 horas
  • Frequency: e.g. semanal
  • Time: e.g. noche

The model achieves the following results on the test set (when trained with the training and development set; results are averaged over 5 evaluation rounds):

  • Precision: 0.909 (±0.009)
  • Recall: 0.918 (±0.006)
  • F1: 0.913 (±0.005)
  • Accuracy: 0.996 (±0.001)

Model description

This model adapts the mdeberta-v3-base model, which is a multilingual version of the model presented in He et al. (2021), pre-trained on 2.5T of data from the CommonCrawl corpus for 100 languages. We fine-tuned mdeberta-v3-base to conduct medical named entity recognition on Spanish texts about clinical trials using the CT-EBM-ES corpus (Campillos-Llanos et al. 2021) vs 2.

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 data used for fine-tuning are the Clinical Trials for Evidence-Based-Medicine in Spanish corpus vs 2. 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 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: 16
  • eval_batch_size: 16
  • seed: we used different seeds for 5 evaluation rounds, and uploaded the model with the best results
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: average 9.80 epochs (±2.28); 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.909 (±0.009)0.918 (±0.006)0.913 (±0.005)0.996 (±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…

Класс архитектуры
DebertaV2ForTokenClassification
Ревизия весов
2d27664

0 моделей