/ Модель

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

Контекст
512 токенов
Параметры
212 млн
Лицензия
Apache 2.0
Архитектура
deberta-v2 · dense
Опубликована
14 дек 2023

DEBERTA_CIEL

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

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

108скачиваний за 30 дней3лайкавеса обновлены28 мая 2024

Бенчмарки

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

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

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

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

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

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

DEBERTA_CIEL — модель распознавания именованных сущностей, разработанная подразделением Language Technologies Unit центра Barcelona Supercomputing Center в рамках проекта Aina. Это дообученная версия DeBERTa-v3-large с архитектурой DeBERTa v2 для классификации токенов; в репозитории указано 211,6 млн параметров и контекст длиной до 512 токенов. Модель обучена на каталонском наборе CEIL, содержащем почти 59 тысяч документов с девятью основными типами и 52 подтипами сущностей.

Модель предназначена для обнаружения и классификации сущностей в коротких текстах на каталонском, испанском и английском языках. Её можно применять для извлечения людей, организаций, географических названий, культурных произведений и других сущностей из текстов. Формальная оценка качества для всех заявленных языков не проводилась; смещения модели отдельно не исследовались, а веб-источники обучающих данных могут вносить нежелательные искажения. Лицензия — Apache 2.0.

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

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

Ограничения

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

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

DeBERTav2 finetuned for Named Entity Recognition.

Table of Contents

Model description

The DEBERTA_CIEL is a Multilingual Named Entity Recognition (NER) model fine-tuned from the [deberta-v3-large] model, a DeBERTa base model pre-trained on English language data collected from publicly available corpora and crawlers.

It has been trained with CEIL, Catalan Entity Identification and Linking, a Catalan-language dataset that contains 9 main types and 52 subtypes on all kinds of short texts, with almost 59K documents.

The model is able to detect and classify entities in at least 3 languages: Spanish, Catalan and English, although no formal evaluation has been carried out yet.

Intended uses and limitations

How to use

from transformers import pipeline

pipe = pipeline("ner", model="projecte-aina/DEBERTA_CIEL")
example = "George Smith Patton fué un general del Ejército de los Estados Unidos en Europa durante la Segunda Guerra Mundial. "

ner_entity_results = pipe(example, aggregation_strategy="simple")
print(ner_entity_results)

[{'entity_group': 'person-other', 'score': 0.55470794, 'word': 'George Smith Patton', 'start': 0, 'end': 19}, {'entity_group': 'organization-other', 'score': 0.8435558, 'word': 'Ejército de los Estados Unidos', 'start': 38, 'end': 69}, {'entity_group': 'location-other', 'score': 0.8351533, 'word': 'Europa', 'start': 72, 'end': 79}, {'entity_group': 'event-attack/terrorism/militaryconflict', 'score': 0.8960169, 'word': 'Segunda Guerra Mundial', 'start': 90, 'end': 113}]

Limitations and bias

At the time of submission, no measures have been taken to estimate the bias embedded in the model. However, we are well aware that our models may be biased since the corpora have been collected using crawling techniques on multiple web sources. We intend to conduct research in these areas in the future, and if completed, this model card will be updated.

Training

We used the NERC dataset in Catalan called Catalan Entity Identification and Linking for training and evaluation.

Evaluation

Accuracy was calculated using the development set, and reflects the non-balanced nature of the dataset.

Major types

Typenum. Instances in dev set
CW *4551
GPE19751
Other2824
building2188
event3000
location3408
organization17285
person21689
product1038

*: Cultural Work

Subtypes

Typenum. Instances in dev set
CW-broadcastprogram765
CW-film549
CW-music1027
CW-other555
CW-painting205
CW-writtenart1450
GPE19751
Other2824
building-airport176
building-governmentfacility72
building-hospital113
building-hotel32
building-other1585
building-restaurant48
building-shops34
building-sportsfacility127
event-attack/terrorism/militaryconflict411
event-disaster23
event-other1069
event-political444
event-protest29
event-sportsevent1024
location-bodiesofwater673
location-island140
location-mountain515
location-other1602
location-park93
location-road/railway/highway/transit385
organization-education2097
organization-government2939
organization-media1963
organization-onlinebusiness197
organization-other4733
organization-politicalparty2272
organization-privatecompany1809
organization-religious210
organization-sportsteam1065
person-actor/director1480
person-artist/author5812
person-athlete1306
person-group699
person-influencer17
person-other8444
person-politician3259
person-scholar/scientist672
product-E-device102
product-clothing27
product-consumer_good20
product-food324
product-other69
product-software382
product-vehicle114

Additional information

Author

Language Technologies Unit (LangTech) at the Barcelona Supercomputing Center (langtech@bsc.es)

Contact information

For further information, send an email to langtech@bsc.es

Copyright

Copyright (c) 2023 Language Technologies Unit (LangTech) at Barcelona Supercomputing Center

Licensing Information

Apache License, Version 2.0

Funding

This work/research has been promoted and financed by the Government of Catalonia through the Aina project.

Citation information

Disclaimer

The models published in this repository are intended for a generalist purpose and are available to third parties. These models may have bias and/or any other undesirable distortions.

When third parties, deploy or provide systems and/or services to other parties using any of these models (or using systems based on these models) or become users of the models, they should note that it is their responsibility to mitigate the risks arising from their use and, in any event, to comply with applicable regulations, including regulations regarding the use of Artificial Intelligence.

In no event shall the owner and creator of the models (BSC – Barcelona Supercomputing Center) be liable for any results arising from the use made by third parties of these models.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей