/ Модель

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

Контекст
8 192 токена
Параметры
307 млн
Лицензия
MIT
Архитектура
modernbert · dense
Базовая модель
mmBERT-base
Библиотека
transformers
Опубликована
22 окт 2026

ror-set-point-set-model-mmbert-base

ЭмбеддингиТекст → embedding4 профессии

Дообученный ModernBERT сопоставляет строки аффилиаций с записями-кандидатами ROR и оценивает вероятность соответствия каждой организации.

100скачиваний за 30 дней0лайковвеса обновлены9 ноя 2026

Бенчмарки

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

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Эмбеддинги» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

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

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

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

Это модель сопоставления строк с названиями организаций и записей реестра Research Organization Registry (ROR), разработанная Adam Buttrick в рамках коллекции ROR set point matching. Она принимает строку с аффилиацией и список кандидатов ROR, совместно анализирует их и присваивает каждому кандидату вероятность того, что строка обозначает эту организацию. Ответом становятся кандидаты с вероятностью не ниже 0,5; пустой результат означает, что организация не найдена.

Архитектура — плотный энкодер ModernBERT на базе jhu-clsp/mmBERT-base, дообученный как set-модель; в метаданных указано 306,9 млн параметров и контекст до 8192 токенов. На практике модель использует до 96 токенов строки, а кандидатов подаёт вместе, что позволяет учитывать их взаимные различия. Модель обучена на данных сопоставления аффилиаций и оценках учителя; для работы ей нужны записи-кандидаты, обычно полученные ретривером и лексическим поиском.

Лицензия — MIT. По описанному тесту на аффилиациях с ранее не встречавшимися учреждениями точность полного совпадения составила 83,6%, precision — 94,6%, recall — 86,9%.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

ror-set-point-set-model-mmbert-base

This model is a set model for ROR set point matching. It reads an affiliation string together with its candidate ROR records, and gives each candidate the probability that the string names it.

ror-set-point-set-model-mmbert-base-openalex-jev-distill is the same as this model, but its training uses the mention mask, which removes some negatives from the loss. This model trains without the mask. On affiliations_unseen_institutions test, exact match is 83.6 for this model and 84.7 with the mask.

Part of the ROR set point matching collection.

This variant learns from Jev's judgments: the teacher_judgments config of ror-set-point-matching-train-validation-test-openalex-jev-distill. Its candidates come from ror-set-point-retriever-e5-base-openalex-jev-distill. The matcher uses ror-set-point-retriever-e5-base and ror-set-point-set-model-mmbert-base-mask, which learn from the judgments of StartLux-Decision v1.1 27B Instant.

What the model does

  1. The retriever ror-set-point-retriever-e5-base-openalex-jev-distill finds the top 32 records for the string.
  2. A lexical index adds its top 10 records that are not already there. This gives about 37.5 candidates. They are in a random order.
  3. This model reads the string and all candidates in one input: [CLS] string [SEP] record 1 [SEP] record 2 [SEP] ....
  4. A linear layer gives a score to each candidate, from the mean of the token states of that candidate.
  5. A fixed calibration changes each score into a probability: p = 1 / (1 + exp(-(a × score + b))).
  6. The answer is every candidate with p ≥ 0.5. An empty answer means that the string names no organisation.

The model reads the candidates together. Thus it can learn rules that compare candidates, for example "label the hospital, but not the university in the hospital's name".

How to use

set_model.py loads and runs the model. It needs only torch, transformers, safetensors and huggingface_hub. Give it the texts of the ROR records from the config ror_records.

from huggingface_hub import hf_hub_download
from datasets import load_dataset
import importlib.util

path = hf_hub_download("adambuttrick/ror-set-point-set-model-mmbert-base", "set_model.py")
spec = importlib.util.spec_from_file_location("set_model", path)
set_model = importlib.util.module_from_spec(spec); spec.loader.exec_module(set_model)

records = load_dataset("adambuttrick/ror-set-point-matching-train-validation-test", "ror_records", split="train")
texts = dict(zip(records["ror_id"], records["text"]))
m = set_model.SetMatcher.from_pretrained("adambuttrick/ror-set-point-set-model-mmbert-base", texts)
m.predict([("Dept. of Physics, University of Tokyo, Japan", candidates)])
# -> [[("https://ror.org/057zh3y96", 0.99...)]]

Use a GPU for speed. The model answered 130 strings each second on one NVIDIA H200.

Training data

All training data comes from the dataset ror-set-point-matching-train-validation-test. The exact rows are in training_data/.

StageConfig and splitStringsCandidatesTargets
1teacher_judgments train167,533The retriever's top 32, then the records that the teacher judged and that are not in it (positives first), to a maximum of 42The teacher's p. 0 for records with no judgment
1synthetic_non_latin train130,882The retriever's top 321 for the labels, 0 for other records
2affiliations_unseen_institutions train16,448The retriever's top 32 and the lexical top 101 for the labels, 0 for other records
  • A label that is not among the candidates replaces a random candidate that is not a label (663 times).
  • These strings are not used: teacher strings that the teacher links to a held-out record (p ≥ 0.5), and every training string that is equal to an evaluation string.
  • The synthetic strings that name a held-out institution are not used (2,871 strings). Thus no row has a held-out institution as a positive (a label, or a teacher p ≥ 0.5).
  • A teacher string that gives a held-out institution a p below 0.5 stays, with that p as its target. 9,606 strings have a target from 0.1 to 0.49 for a held-out institution. The recall of the held-out institutions does not increase with these targets.
  • The retriever trained on these strings. Thus their candidate lists hold the labels more often than the lists of new strings. The replacement of missing labels makes sure that each label is a candidate in training.

Training procedure

  1. Stage 1: one epoch of the stage 1 rows.
  2. Stage 2, five times: start from the stage 1 weights, train on four folds of the labelled rows, and score the fifth fold. This gives an out-of-fold score for each candidate of each labelled string.
  3. Fit the calibration on the out-of-fold scores.
  4. Stage 2 on all labelled rows, from the stage 1 weights. This is the final model.
SettingValue
Base modeljhu-clsp/mmBERT-base, revision c5955035435e, 307M parameters
InputString: up to 96 tokens. Each record: up to 64 tokens, fewer when the input would be longer than 3,072 tokens
LossBinary cross-entropy against the targets, over the real candidates
Stage 11 epoch (18,651 steps) at learning rate 2e-5
Stage 22 epochs at half that learning rate. The final run has 2,056 steps
Folds5, by the sha256 of the fold seed (20261022) and the string id
Batch16 strings
OptimizerAdamW, weight decay 0.01
ScheduleLinear warm-up for 5% of the steps, then linear decay
Precisionbf16 autocast. The weights in this repository are bf16
Gradient clipping1.0
CalibrationPlatt scaling on 615,010 out-of-fold candidates: a = 0.818, b = -0.071
Out-of-fold resultprecision 95.4, recall 94.3, exact match 90.9
Seed1363
Hardware1 × NVIDIA H200, 2.8 hours (9,929 s)

Evaluation

The table gives exact match, precision and recall in percent. Precision and recall are micro averages over ROR ids. The last column is the recall of the links to the 1,255 held-out institutions. The baseline, ror-set-point-pair-scorer-baseline, trained on the same labelled strings. The answers on the test split come from the matcher with ror-set-point-retriever-e5-base-openalex-jev-distill, on one NVIDIA H200. The answers on the validation splits come from the training run.

SplitStringsSystemExact matchPrecisionRecallRecall on held-out institutions
affiliations_unseen_institutions test1,957v3.0.0, local77.095.980.0
Baseline79.293.685.186.3
This model83.694.686.989.6
affiliations_unseen_institutions validation1,914v3.0.0, local62.796.567.7
Baseline75.094.884.884.9
This model73.995.481.778.7
affiliations validation1,947v3.0.0, local80.193.579.6
Baseline85.794.787.4
This model91.096.591.9

The validation split of affiliations_unseen_institutions contains all 272 links to CNRS (https://ror.org/02feahw73). This model finds 33.8% of these links, and the baseline 93.8%. Without the CNRS strings, the recall on held-out institutions is 86.5 for this model and 83.5 for the baseline.

Other test splits

In this table, the baseline trained on the labelled strings of all institutions (affiliations train and openalex_sample train). This model trained on fewer institutions.

SplitStringsSystemExact matchPrecisionRecall
affiliations test1,947v3.0.0, local78.494.379.0
Baseline86.196.188.1
This model90.095.792.6
affiliations_crossref test447v3.0.0, local85.996.788.6
Baseline91.797.993.9
This model92.897.395.5
affiliations_openalex test751v3.0.0, local79.694.981.7
Baseline87.596.490.3
This model90.096.093.0
affiliations_openalex_non_latin test749v3.0.0, local72.691.068.3
Baseline81.494.080.8
This model88.494.189.6
datacite test3,000v3.0.0, local92.497.793.2
Baseline91.995.195.6
This model93.598.094.5
openalex_sample test, sample v120,000v3.0.0, local81.695.383.2
Baseline86.995.690.0
This model89.996.192.1
openalex_sample test, sample v220,000v3.0.0, local82.694.984.2
Baseline88.095.291.5
This model90.495.793.3
  • On affiliations test, this model is right on 150 strings where the baseline is wrong, and wrong on 74 strings where the baseline is right (exact McNemar p = 4 × 10⁻⁷).
  • No model, setting or training-data rule was chosen from the scores on a test split. The affiliations_unseen_institutions test split served as a pass-or-fail check for the retriever and for the set model. openalex_sample test and datacite were scored for information before the final scoring.
  • "v3.0.0, local" is openalex-affiliation-matcher v3.0.0 without the two candidate generators that need OpenAlex services, and without the teacher.
  • Of the 3,000 datacite strings, 2,140 (71%) are equal, after normalisation, to a name, acronym, alias or label of their only gold record. On the other 860 strings, exact match is 88.6 for this model, 86.0 for the baseline and 82.0 for v3.0.0, local.

Limitations

  • The model reads only the first 96 tokens of a string. Long strings that name many organisations lose recall.
  • Organisations that a string names only with an acronym (for example "CNRS" or "INSERM") have lower recall.
  • Strings that name several organisations have lower recall than strings that name one.
  • When a string names a parent organisation and its child, the model sometimes names only the child.
  • For held-out institutions, p from 0.05 to 0.5 is often too low. On the affiliations validation split, 13 of the 23 candidates that are held-out institutions and have p in that range are correct. On the affiliations_unseen_institutions validation split, the difference is larger, but this split is not a measure of calibration. It contains every labeled string that names a held-out institution. Thus these institutions are correct more frequently there than in other strings. For all candidates of the affiliations validation split, a new fit of the calibration gives a = 0.807 and b = 0.108, near the released values.

Files

PathContent
config.json, model.safetensors, tokenizer filesThe encoder
head.safetensorsThe linear layer
set_model_config.jsonInput limits, calibration and threshold
set_model.pyCode that loads and runs the model
training_data/The training folder: records.jsonl.gz (ror_id, text), stage1.jsonl.gz (s, c candidates, y targets, src: teacher or synthetic), stage2.jsonl.gz (k, s, c, y, fold), eval.jsonl.gz (set, k, s, c: the evaluation rows, with no labels) and manifest.json
evaluation/predictions/<set>.jsonlThe answers for each evaluation set: id (the id of the dataset row), ror_ids, and for the test sets p (the probability of each named record)
evaluation/probabilities.jsonl.gzset, k, c, z (scores) and p (probabilities) of each candidate of each row of training_data/eval.jsonl.gz, from the training run
evaluation/oof.jsonl.gz, evaluation/calibration.jsonThe out-of-fold scores and the calibration fit
logs/The training log and summary
evaluation/candidates/<set>.jsonl.gzThe candidates of each test string (id, text, candidates), in the order that the model read them

The predictions cover all six evaluation sets. The answers on the validation sets come from the training run. The answers on the test sets come from the matcher, with the candidates of ror-set-point-retriever-e5-base and the lexical index. The candidates of the test splits are in evaluation/candidates/. The ids of affiliations_test and affiliations_validation are also the ids of the rows in the per-source configs (affiliations_crossref, affiliations_openalex and affiliations_openalex_non_latin).

The evaluation sets have these names in the files:

NameSplit
unseen_validationaffiliations_unseen_institutions validation
unseen_testaffiliations_unseen_institutions test
affiliations_validationaffiliations validation
affiliations_testaffiliations test
datacite_testdatacite test
openalex_sample_testopenalex_sample test

The training log uses the names of the training run.

Licence

The weights come from jhu-clsp/mmBERT-base and use the MIT licence.

Related repositories

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
ModernBertModel
Ревизия весов
288394f

0 моделей