/ Модель

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

Контекст
514 токенов
Параметры
659 млн
Лицензия
CC BY-SA 4.0
Архитектура
xlm-roberta · dense
Базовая модель
TeslaXLM
Библиотека
sentence-transformers
Опубликована
27 сен 2026

serbian-wsd-distilled-teslaxlm

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

Биэнкодер на основе TeslaXLM для ранжирования кандидатов значений сербских слов по контексту предложения.

14скачиваний за 30 дней0лайковвеса обновлены28 сен 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Serbian WSD Distilled TeslaXLM — биэнкодер Sentence Transformers на основе XLM-RoBERTa, адаптированный Saša Petalinkar для ранжирования кандидатов значений сербских слов по контексту. Модель кодирует контекст предложения и предоставленные извне определения, после чего сравнивает их косинусным сходством. Она содержит 658,7 млн параметров, выдаёт эмбеддинги размерности 1024 и поддерживает последовательности длиной до 514 токенов по метаданным; в сохранённой конфигурации README указано ограничение 512 токенов.

Модель предназначена для исследовательских экспериментов по снятию лексической неоднозначности сербского языка. Она не обнаруживает целевые слова и не генерирует кандидатов, определения или объяснения: эти компоненты и нормализация идентификаторов значений должны предоставляться отдельно. В диссертации сообщается точность top-1 51,3% на 1 921 цели; README также предупреждает, что косинусные оценки не являются калиброванными вероятностями.

README отмечает, что тестовый запуск на CPU дал почти одинаковые оценки для двух кандидатов в одном примере, что требует осторожности при оценке способности модели различать кандидатов. Качество для общего поиска, других языков и других сербских областей не установлено. Лицензия — CC BY-SA 4.0.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Serbian WSD Distilled TeslaXLM

This is a Sentence Transformers bi-encoder adapted by Saša Petalinkar from te-sla/TeslaXLM for Serbian word-sense candidate ranking. Given a sentence context and externally supplied candidate definitions, it ranks the candidates by cosine similarity. Its experiment preset is tesla.

This model accompanies Saša Z. Petalinkar’s unpublished doctoral dissertation manuscript, submitted for evaluation at the University of Belgrade in 2026. The methodology and reported results are described in Sections 3.4 and 5.8. See Thesis and citation for the full reference.

Model and intended use

PropertyValue
ArchitectureTransformer encoder with mean pooling
Output dimensions1024
Saved maximum sequence length512 tokens
Training objectiveCosineSimilarityLoss with mean squared error
Selected epoch4
Stored weight dtypefloat32
Application prefixNone

No final Normalize module; the evaluation encoding flag is normalize_embeddings=False. Ranking still uses cosine similarity.

The intended use is research on Serbian candidate-sense ranking. Target detection, candidate generation, definitions, and sense-ID normalization are external to these weights. The model does not generate definitions or explanations. Cosine scores are ranking scores, not calibrated probabilities. General retrieval, other languages, other Serbian domains, and script-specific performance have not been established by the retained evaluation.

Related models and software

All three distilled WSD rankers are public on the Tanor account. The experiment preset names remain unchanged in the companion code. Sizes below refer to model.safetensors only (decimal MB).

Experiment presetPublic modelWeight fileLicense
mlingTanor/serbian-wsd-distilled-e5-large2239.61 MBMIT
simpleTanor/serbian-wsd-distilled-minilm90.86 MBApache-2.0
teslaTanor/serbian-wsd-distilled-teslaxlm2239.61 MBCC BY-SA 4.0

The WSD weights rank candidate definitions; the 24 sentiment classifiers are separate resources. Obtain the sense inventory and sentiment lexicons separately under their own terms.

Usage

The example pins a revision containing the released weights and runtime configuration.

Install the recorded Sentence Transformers and Transformers versions:

pip install sentence-transformers==5.5.0 transformers==5.8.1

This example uses two of the six records for the Serbian lemma list in the retained LexiSense-SR inventory. ENG30-06255777-n and ENG30-13152742-n are the real sense IDs for the paper and plant senses, respectively. The context is synthetic and the short Serbian definitions below are illustrative paraphrases, not verbatim inventory entries. Only the context and definitions are encoded by the model; the selected sense ID is returned, as in the original implementation. The ENG30 prefix is part of the inventory identifier, not the language of the definition. This shortened example does not perform candidate generation.

from sentence_transformers import SentenceTransformer, util

model = SentenceTransformer(
    "Tanor/serbian-wsd-distilled-teslaxlm",
    revision="c3bba6a4d15b35a8984b3e5bfe60dd2f933d2b04",
)
context = "Na stolu je ležao **list** papira."
candidates = [
    ("ENG30-06255777-n", "tanak komad papira"),
    ("ENG30-13152742-n", "deo biljke koji raste na stablu ili grani"),
]
prefix = ""
texts = [prefix + context] + [prefix + definition for _, definition in candidates]
embeddings = model.encode(
    texts,
    convert_to_tensor=True,
    normalize_embeddings=False,
)
scores = util.cos_sim(embeddings[0], embeddings[1:])[0]
best = int(scores.argmax().item())
print(candidates[best][0])

The experiment adds no query or passage prefix to either input. For normal inference, use sentence-relative character offsets to surround the intended target with **...**. Return the only candidate directly for a one-candidate item; for ambiguous items, all candidate definitions are required by the recorded evaluation protocol.

Training and checkpoint selection

Training uses hard silver sense assignments from the LexiSense annotation pipeline. A context-definition pair has label 1 for the assigned sense and label 0 for other listed candidates. Candidates lacking definitions are skipped. Despite the experiment's “distillation” name, the implemented objective is hard-label cosine regression, without teacher logits, soft-label matching, temperature scaling, or KL divergence.

The retained training-pair file contains 38,829 pairs: 10,385 positive and 28,444 negative, covering 1,604 distinct sentence strings and five source-file values. All designated gold sentence texts were excluded by exact matching. A publication audit found zero exact overlaps with the 420 distinct sentence strings in the four retained gold files. This does not establish absence of near-duplicates or other leakage. The inspected training-file hash is recorded in the packaged provenance; see the archive inspection note below.

Recorded settingValue
Batch size16
Selected epoch / epochs run4 / 6
Maximum epochs / patience10 / 2
Warmup steps0
Run seed / selected epoch seed20260515 / 20260518
Selected development top-1378/918 (41.18%), covered-only
Development universe918 covered / 922 total

Selection maximizes development covered-only top-1 accuracy; final evaluation follows selection. Consecutive epochs are separate one-epoch training calls that load the preceding model weights and recreate the optimizer and scheduler. A saved epochs: 1 field describes the last call, not the entire training history.

Generated trainer metadata records learning rate 5e-5, linear scheduling, adamw_torch_fused, weight decay 0, and no fp16/bf16. It also records trainer seed 42, separately from the orchestration seeds above; full deterministic reproducibility is not claimed. Development target counts differ across the three released presets, so their saved development scores are not a controlled comparison on identical examples.

Recorded software: Python 3.11.9, Sentence Transformers 5.5.0, Transformers 5.8.1, PyTorch 2.11.0+cu128, Accelerate 1.13.0, Datasets 4.8.5, and Tokenizers 0.22.2.

Results reported in the dissertation

The dissertation (Section 5.8, Table 5-16) reports 986/1,921 correct (51.3% strict top-1) for the tesla trained experiment. The retained experiment summary records 1,894 covered targets and 52.06% covered-only accuracy. The final universe comprises 1,734 single-word targets and 187 multiword expressions. Strict accuracy counts the 27 uncovered targets as wrong; the retained report attributes them to missing candidate definitions.

These figures are the results reported in the dissertation and agree with the retained experiment summary. The selected epochs and development scores in the saved training records agree with the experiment handoff. The full evaluation was not rerun for this Hub release; the release check below verifies model loading and a small inference example.

The workbook evaluator adds the gold sense when it is absent from the supplied candidate set. Accordingly, these results measure ranking with a gold-augmented candidate inventory, not end-to-end candidate recall. One-candidate cases are answered deterministically without the encoder. These protocol choices matter when comparing other systems.

The dissertation reports no statistically significant improvement for TeslaXLM over the raw baseline; its strict accuracy decreased from 53.4% to 51.3%.

Publication runtime check

A local CPU smoke test on 2026-09-27 loaded these exact weights and executed the Python example above. It produced finite embeddings of the expected dimensions. Both candidate cosine scores were approximately 1.0, with an almost zero ranking margin. This observation warrants particular caution about discrimination; one example does not establish the extent or cause of this behavior. See runtime_verification.json for the observed scores. This is a three-text technical check, not an accuracy evaluation or a replication of the historical results.

Archive inspection note

In the retained silver_pairs.jsonl, 38,727 of 38,829 pairs place the target markers at the end of the sentence rather than around the target span; 102 pairs contain a nonempty **...** span. The original checkpoint cards show the same format in their training examples, and their training configurations refer to this pair file. The exact count describes the retained file inspected during release preparation. The effect of this marking format on model performance was not separately measured.

The retained Round 2 evaluation summary does not record weight-file checksums. The checksums in this release identify the uploaded files; the research results above are attributed to the dissertation and its experiment records.

Provenance, attribution, and license

The weights were adapted by Saša Petalinkar. Credit for the base model and its original authors belongs to the contributors identified in the upstream model card. This adaptation is distributed under Creative Commons Attribution-ShareAlike 4.0; see the included license files and preserve upstream attribution. The ShareAlike terms apply to redistribution of this adaptation.

Companion implementation and reported settings, v0.1.0 document the workflow. That repository is the public software companion to the dissertation experiments.

See provenance.json and recorded_training_summary.json for packaged metadata. The released model.safetensors SHA-256 is:

9ee4d9cd61b6b1b8e0de68bb64f88c84bcaf90d2ad4c70956025bd0a7134aa34

The checksum identifies the released weight file. Training corpora and external definition inventories are not included in this model repository.

Thesis and citation

Saša Z. Petalinkar (2026). Machine Learning and Large Language Models in the Development of Semantic Networks and Their Application in Automatic Text Understanding. Unpublished doctoral dissertation manuscript, submitted for evaluation at the University of Belgrade. Written in Serbian.

Original title: Машинско учење и велики језички модели у развоју семантичких мрежа и њиховој примени на аутоматско разумевање текста.

  • Section 3.4, „Разрешење значења речи – дестилација“: distillation method and experimental setup.
  • Section 5.8, „Резултати дестилације модела за разрешење значења речи“, Table 5-16: reported results for the simple, tesla, and multilingual-e5-large rankers. The last is called mling in the experiment code. Table 5-17 reports the paired significance tests.
  • Section 5.6, Table 5-10: mapping of the dissertation's model names to the pretrained checkpoints.

The manuscript does not currently have a public URL or DOI. The public software companion contains the implementation, reported settings, and result summaries.

@unpublished{petalinkar2026semanticnetworks,
  author = {Petalinkar, Saša Z.},
  title = {Машинско учење и велики језички модели у развоју семантичких мрежа и њиховој примени на аутоматско разумевање текста},
  year = {2026},
  note = {Unpublished doctoral dissertation manuscript, submitted for evaluation at the University of Belgrade. Sections 3.4 and 5.8; Table 5-16},
  language = {Serbian}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей