/ Модель

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

Контекст
514 токенов
Параметры
305 млн
Лицензия
Apache 2.0
Архитектура
xlm-roberta · dense
Базовая модель
affilgood-affilxlm
Библиотека
transformers
Опубликована
31 окт 2024

affilgood-ner-multilingual-v2

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

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

176скачиваний за 30 дней0лайковвеса обновлены16 апр 2025

Бенчмарки

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

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

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

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

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

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

Многоязычная модель распознавания именованных сущностей в строках аффилиаций научных статей и проектов. Её разработали SIRIS Lab, LaSTUS Lab и Институт информатики Польской академии наук; модель дообучена для классификации токенов на основе SIRIS-Lab/affilgood-affilxlm, построенной на XLM-RoBERTa-base. Она выделяет названия организаций и подразделений, города, страны, адреса, почтовые индексы и регионы, а также подорганизации, например самостоятельные лаборатории внутри более крупных учреждений.

Модель предназначена для структурирования неформатированных аффилиаций и последующей геолокации учреждений, связывания с реестрами, анализа организационных иерархий и построения графов знаний. В карточке описана обучающая выборка из 6 595 размеченных строк на разных языках и оценка на отложенной части набора: общий F1 со строгим совпадением границ и типов сущностей составляет 0,921. Модель основана на XLM-RoBERTa, содержит около 305 млн параметров и имеет контекст длиной 514 токенов.

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

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

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

Ограничения

Обучение и оценка описаны для строк аффилиаций научных публикаций; качество на произвольном тексте не установлено. Смещения и токсичность модели отдельно не оценивались.

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

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

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

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

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

Открыть на Hugging Face

AffilGood-NER-multilingual (version 2)

Overview

  • Model type: Language Model
  • Architecture: XLM-RoBERTa-base
  • Language: Multilingual
  • License: Apache 2.0
  • Task: Named Entity Recognition
  • Data: AffilGood-NER
  • Additional Resources:

Model description

The multilingual version of affilgood-NER-multilingual is a Named Entity Recognition (NER) model for identifying named entities in raw affiliation strings from scientific papers and projects, fine-tuned from the AffilXLM model, a XLM-RoBERTa base model futher pre-trained for MLM task on a medium-size corpus of raw affiliation stirngs collected from OpenAlex.

The extended dataset includes 6,595 annotated multilingual affiliation strings, and has now been extended with more samples and an additional entity category: SUBORG (used for autonomous labs and independent institutes under a larger research organization), complementing existing categories like SUB, ORG, CITY, COUNTRY, ADDRESS, POSTALCODE, and REGION. See [annotation guidelines] for more details.

NER applied to affiliation strings supports:

  • Geolocation of institutions
  • Entity linking with organizational registries
  • Mapping of institutional hierarchies
  • Construction of knowledge graphs of organizations

Intended Usage

This model is intended to be used for multilingual raw affiliation strings, because this model is pre-trained on XLM-RoBERTa, NER and large further pre-training corpora are both multilingual.

How to use

from transformers import pipeline
affilgood_ner_pipeline("ner", model=model, tokenizer=tokenizer, aggregation_strategy="simple")
sentence = "CSIC, Global ecology Unit CREAF-CSIC-UAB, Bellaterra 08193, Catalonia, Spain."
output = affilgood_ner_pipeline(sentence)
print(output)

Limitations and bias

No measures have been taken to estimate the bias and toxicity embedded in the model.

The NER dataset contains 6,595 raw affiliation strings obtained from OpenAlex. It includes multilingual samples from all available countries and geographies to ensure comprehensive coverage and diversity. To enable our model to recognize various affiliation string formats, the dataset includes a wide range of structures, different ways of grouping main and subsidiary institutions and various methods of separating organization names. We also included ill-formed affiliations and those containing errors resulting from automatic extraction from PDF files.

Training

We used the AffilGood-NER dataset for training and evaluation.

We fine-tuned the adapted and base models for token classification with the IOB annotation schema. We trained the models for 25 epochs, using 80% of the dataset for training, 10% for validation and 10% for testing.

Hyperparameters used for training are described here:

  • Learning Rate: 2e-5
  • Learning Rate Decay: Linear
  • Weight Decay: 0.01
  • Warmup Portion: 0.06
  • Batch Size: 128
  • Number of Steps: 25k steps
  • Adam ε: 1e-6
  • Adam β1: 0.9
  • Adam β2: 0.999

The best performing epoch (considering macro-averaged F1 with strict matching criteria) was used to select the model.

Evaluation

The model's performance was evaluated on a 10% of the dataset.

CategoryAffilXLM (this model)
ALL.921
-----------
ORG0.899
SUB.916
SUBORG.626
CITY.948
COUNTRY.990
REGION.926
POSTAL.977
ADDRESS.778

All the numbers reported above represent F1-score with strict match, when both the boundaries and types of the entities match.

Additional information

Authors

  • SIRIS Lab, Research Division of SIRIS Academic, Barcelona, Spain
  • LaSTUS Lab, TALN Group, Universitat Pompeu Fabra, Barcelona, Spain
  • Institute of Computer Science, Polish Academy of Sciences, Warsaw, Poland

Contact

For further information, send an email to either nicolau.duransilva@sirisacademic.com or info@sirisacademic.com.

License

This work is distributed under a Apache License, Version 2.0.

Funding

This work was partially funded and supporter by:

  • Industrial Doctorates Plan of the Department of Research and Universities of the Generalitat de Catalunya, by Departament de Recerca i Universitats de la Generalitat de Catalunya (ajuts SGR-Cat 2021),
  • Maria de Maeztu Units of Excellence Programme CEX2021-001195-M, funded by MCIN/AEI /10.13039/501100011033
  • EU HORIZON SciLake (Grant Agreement 101058573)

Citation

@inproceedings{duran-silva-etal-2024-affilgood,
    title = "{A}ffil{G}ood: Building reliable institution name disambiguation tools to improve scientific literature analysis",
    author = "Duran-Silva, Nicolau  and
      Accuosto, Pablo  and
      Przyby{\l}a, Piotr  and
      Saggion, Horacio",
    editor = "Ghosal, Tirthankar  and
      Singh, Amanpreet  and
      Waard, Anita  and
      Mayr, Philipp  and
      Naik, Aakanksha  and
      Weller, Orion  and
      Lee, Yoonjoo  and
      Shen, Shannon  and
      Qin, Yanxia",
    booktitle = "Proceedings of the Fourth Workshop on Scholarly Document Processing (SDP 2024)",
    month = aug,
    year = "2024",
    address = "Bangkok, Thailand",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.sdp-1.13",
    pages = "135--144",
}

Disclaimer

The model published in this repository is intended for a generalist purpose and is made available to third parties under a Apache v2.0 License.

Please keep in mind that the model may have bias and/or any other undesirable distortions. When third parties deploy or provide systems and/or services to other parties using this model (or a system based on it) or become users of the model itself, they should note that it is under their responsibility to mitigate the risks arising from its use and, in any event, to comply with applicable regulations, including regulations regarding the use of Artificial Intelligence.

In no event shall the owners and creators of the model be liable for any results arising from the use made by third parties.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей