/ Модель

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

Контекст
2 048 токенов
Параметры
303 млн
Лицензия
Gemma
Архитектура
gemma3_text · dense
Базовая модель
embeddinggemma-300m
Библиотека
transformers
Опубликована
22 окт 2026

ror-set-point-set-model-embeddinggemma-300m

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

Модель сопоставляет текстовые строки аффилиаций с предложенными записями организаций ROR и оценивает вероятность соответствия каждой записи.

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Модель построена на плотной текстовой архитектуре Gemma 3, содержит 302,8 млн параметров и имеет контекст 2048 токенов. В описанном сценарии она использует первые 96 токенов строки аффилиации и записи кандидатов, после чего применяет линейный слой и калибровку оценок. Обучение использовало размеченные и синтетические данные об аффилиациях и кандидатах ROR.

На тесте аффилиаций из документации модель показала exact match 81,5% и микроточность 94,4%; на другом тестовом наборе указаны exact match 90,7% и микроточность 96,6%. Эти результаты относятся к конкретным наборам данных и конфигурациям поиска кандидатов. Ограничения включают снижение полноты для длинных строк, названий организаций только по аббревиатуре и строк, упоминающих несколько организаций; при упоминании родительской и дочерней организации может быть выбрана только дочерняя. Лицензия — Gemma.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

ror-set-point-set-model-embeddinggemma-300m

This model is a variant of the set model for ROR set point matching, on EmbeddingGemma. It reads an affiliation string together with its candidate ROR records, and gives each candidate the probability that the string names it. This variant uses a different base model than ror-set-point-set-model-mmbert-base.

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-embeddinggemma-300m", "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-embeddinggemma-300m", 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 140 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 train133,753The 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 (692 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 rows were built without --strict. Their candidates come from a retriever trained on the same data. At run time, the model reads the candidates of ror-set-point-retriever-e5-base-openalex-jev-distill.
  • 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 modelgoogle/embeddinggemma-300m, revision 57c266a740f5, 303M parameters
InputString: up to 96 tokens. Each record: up to 48 tokens, fewer when the input would be longer than 2,048 tokens
LossBinary cross-entropy against the targets, over the real candidates
Stage 11 epoch (18,831 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,460 out-of-fold candidates: a = 0.763, b = -0.074
Out-of-fold resultprecision 95.2, recall 94.2, exact match 90.8
Seed1363
Hardware1 × NVIDIA H200, 4.2 hours (15,219 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 model81.594.484.886.9
affiliations_unseen_institutions validation1,914v3.0.0, local62.796.567.7
Baseline75.094.884.884.9
This model76.496.183.181.6
affiliations validation1,947v3.0.0, local80.193.579.6
Baseline85.794.787.4
This model91.296.492.8

The validation split of affiliations_unseen_institutions contains all 272 links to CNRS (https://ror.org/02feahw73).

The rows of this model contain the synthetic strings that name a held-out institution. Thus its values on affiliations_unseen_institutions, and its recall on held-out institutions, are not a measure of new institutions.

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.796.692.0
affiliations_crossref test447v3.0.0, local85.996.788.6
Baseline91.797.993.9
This model92.697.994.5
affiliations_openalex test751v3.0.0, local79.694.981.7
Baseline87.596.490.3
This model89.996.992.0
affiliations_openalex_non_latin test749v3.0.0, local72.691.068.3
Baseline81.494.080.8
This model90.395.290.0
datacite test3,000v3.0.0, local92.497.793.2
Baseline91.995.195.6
This model93.098.393.8
openalex_sample test, sample v120,000v3.0.0, local81.695.383.2
Baseline86.995.690.0
This model89.696.291.6
openalex_sample test, sample v220,000v3.0.0, local82.694.984.2
Baseline88.095.291.5
This model90.095.892.7
  • On affiliations test, this model is right on 159 strings where the baseline is wrong, and wrong on 71 strings where the baseline is right (exact McNemar p = 6 × 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.

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.

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
conversion_check.jsonA check that this format gives the same answers as the training code

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 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 google/embeddinggemma-300m and use the Gemma terms of use.

Related repositories

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей