/ Модель

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

Контекст
512 токенов
Параметры
138 млн
Лицензия
gpl
Архитектура
bert · dense
Опубликована
2 мар 2022

nerkor-cars-onpp-hubert

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

BERT-модель для извлечения и классификации более 30 типов именованных и других сущностей в венгерских текстах.

2 762скачиваний за 30 дней4лайкавеса обновлены14 сен 2023

Бенчмарки

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

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

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

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

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

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

Венгерская модель распознавания и классификации именованных сущностей, разработанная на основе SZTAKI-HLT/hubert-base-cc и дообученная на корпусе NerKor+CARS-ONPP. Она размечает текст по более чем 30 типам сущностей: людям, организациям и местам, а также датам, количествам, языкам, национальностям и другим категориям. Отдельные типы охватывают автомобили и другие транспортные средства, СМИ, награды и проекты.

Модель построена на архитектуре BERT, содержит 137,8 млн параметров и принимает последовательности длиной до 512 токенов по метаданным; в README указан предел max_seq_length 448. Она предназначена для NER на венгерском языке, в том числе для извлечения сущностей из новостных текстов. Лицензия — GPL.

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

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

Ограничения

README указывает max_seq_length 448, тогда как метаданные задают длину контекста 512 токенов. Модель ориентирована на венгерский язык и типы сущностей, предусмотренные обучающей разметкой.

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

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

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

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

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

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

Открыть на Hugging Face

Hungarian named entity recognition model with OntoNotes5 + more entity types

  • Pretrained model used: SZTAKI-HLT/hubert-base-cc
  • Finetuned on NerKor+CARS-ONPP Corpus

Limitations

  • max_seq_length = 448

Training data

The underlying corpus, NerKor+CARS-OntoNotes++, was derived from NYTK-NerKor, a Hungarian gold standard named entity annotated corpus containing about 1 million tokens. It includes a small addition of 12k tokens of text (individual sentences) concerning motor vehicles (cars, buses, motorcycles) from the news archive of hvg.hu. While the annotation in NYTK-NerKor followed the CoNLL2002 labelling standard with just four NE categories (PER, LOC, MISC, ORG), this version of the corpus features over 30 entity types, including all entity types used in the [OntoNotes 5.0] English NER annotation. The new annotation elaborates on subtypes of the LOC and MISC entity types, and includes annotation for non-names like times and dates, quantities, languages and nationalities or religious or political groups. The annotation was elaborated with further entity subtypes not present in the Ontonotes 5 annotation (see below).

Tags derived from the OntoNotes 5.0 annotation

Names are annotated according to the following set of types:

PER= PERSON People, including fictional
FAC= FACILITY Buildings, airports, highways, bridges, etc.
ORG= ORGANIZATION Companies, agencies, institutions, etc.
GPEGeopolitical entites: countries, cities, states
LOC= LOCATION Non-GPE locations, mountain ranges, bodies of water
PROD= PRODUCT Vehicles, weapons, foods, etc. (Not services)
EVENTNamed hurricanes, battles, wars, sports events, etc.
WORK_OF_ARTTitles of books, songs, etc.
LAWNamed documents made into laws

The following are also annotated in a style similar to names:

NORPNationalities or religious or political groups
LANGUAGEAny named language
DATEAbsolute or relative dates or periods
TIMETimes smaller than a day
PERCENTPercentage (including "%")
MONEYMonetary values, including unit
QUANTITYMeasurements, as of weight or distance
ORDINAL"first", "second"
CARDINALNumerals that do not fall under another type

Additional tags (not in OntoNotes 5)

Further subtypes of names of type MISC:

AWARDAwards and prizes
CARCars and other motor vehicles
MEDIAMedia outlets, TV channels, news portals
SMEDIASocial media platforms
PROJProjects and initiatives
MISCUnresolved subtypes of MISC entities
MISC-ORGOrganization-like unresolved subtypes of MISC entities

Further non-name entities:

DURTime duration
AGEAge
IDIdentifier

If you use this model, please cite:

@inproceedings{novak-novak-2022-nerkor,
    title = "{N}er{K}or+{C}ars-{O}nto{N}otes++",
    author = "Nov{\'a}k, Attila  and
      Nov{\'a}k, Borb{\'a}la",
    booktitle = "Proceedings of the Thirteenth Language Resources and Evaluation Conference",
    month = jun,
    year = "2022",
    address = "Marseille, France",
    publisher = "European Language Resources Association",
    url = "https://aclanthology.org/2022.lrec-1.203",
    pages = "1907--1916",
    abstract = "In this paper, we present an upgraded version of the Hungarian NYTK-NerKor named entity corpus, which contains about twice as many annotated spans and 7 times as many distinct entity types as the original version. We used an extended version of the OntoNotes 5 annotation scheme including time and numerical expressions. NerKor is the newest and biggest NER corpus for Hungarian containing diverse domains. We applied cross-lingual transfer of NER models trained for other languages based on multilingual contextual language models to preannotate the corpus. We corrected the annotation semi-automatically and manually. Zero-shot preannotation was very effective with about 0.82 F1 score for the best model. We also added a 12000-token subcorpus on cars and other motor vehicles. We trained and release a transformer-based NER tagger for Hungarian using the annotation in the new corpus version, which provides similar performance to an identical model trained on the original version of the corpus.",
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей