/ Модель

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

Контекст
514 токенов
Параметры
454 млн
Лицензия
MIT
Архитектура
roberta · dense
Базовая модель
roberta-large-mnli
Библиотека
transformers
Опубликована
15 окт 2026

roberta-large-mnli-dynamic-labels

Классификация текстаТекст → label7 профессий

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

40скачиваний за 30 дней1лайквеса обновлены15 окт 2026

Бенчмарки

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

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

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

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

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

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

Это англоязычный классификатор текста с динамическими метками: при запуске ему передают текст и произвольный набор категорий, а модель оценивает, насколько каждая категория подходит. Модель разработана автором репозитория Akshay Malik как независимое дообучение FacebookAI/roberta-large-mnli. Она основана на архитектуре RoBERTa и содержит 454,1 млн параметров; веса сохранены в формате safetensors и распространяются по лицензии MIT.

Модель предназначена для классификации без примеров и заранее заданного словаря меток, включая выбор одной категории и многометочную классификацию. Она оценивает пары «текст — гипотеза» через entailment и contradiction; контекст ограничен 514 токенами, а входные пары обрезаются до 512 токенов. В README приведены тесты на классификации тональности и эмоций, а также измерения на S1MB; результаты показывают ограничения качества на этих задачах и существенно уступают приведённым в README специализированным моделям для принятия решений.

Калибровка выполнялась на отдельных наборах данных, поэтому за их пределами оценки вероятностей могут быть менее точными. Для выбора одной метки рекомендуется использовать softmax по log-odds, а для нескольких — порог по вероятности entailment. Обучающая смесь включает 16 публичных наборов с разными лицензиями, в том числе ANLI с ограничением CC BY-NC 4.0, что следует учитывать при коммерческом использовании; лицензия самих весов — MIT.

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

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

Ограничения

Англоязычная обучающая смесь и контекст до 514 токенов ограничивают применение к длинным и другим языкам; за пределами наборов, на которых выполнялась калибровка, вероятности могут быть менее точными. В README приведены низкие результаты на части тестов, а среди обучающих данных есть ANLI с лицензией CC BY-NC 4.0, что требует проверки перед коммерческим использованием.

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

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

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

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

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

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

Открыть на Hugging Face

roberta-large-mnli-dynamic-labels

A dynamic-label zero-shot text classifier: roberta-large-mnli fine-tuned to judge "This text is about ." as entailment vs contradiction across 16 datasets, so the label set is supplied at inference time and nothing fixes a vocabulary. Independent fine-tune; NOT affiliated with or endorsed by Meta, the Jev project, openjev, or the authors of any benchmark or model that appears below as a cited comparison.

How it works

  • Input: the (premise, hypothesis) pair (text, "This text is about ."), encoded the way the MNLI head expects (truncation='longest_first', max 512 tokens).
  • Training target: gold label -> entailment; 2 sampled wrong labels per example -> contradiction (15% of negatives drawn from other datasets' label sets).
  • Readout: renormalized P(entailment) per candidate label.
    • single-label: softmax across the per-label log-odds (quickstart below)
    • multi-label: threshold the raw P(entailment) per label

Training data

16 datasets (caps on positive examples; negatives on top). Profile: full.

datasettaskpositives
SNLIStanford NLI25000
MNLIMultiNLI25000
WANLIWorker-and-AI NLI30000
ANLIAdversarial NLI10000
AGNEWSnews topics6000
DBPEDIAontology types6000
YAHOOQ&A topics6000
IMDBmovie reviews5000
SST2sentiment5000
YELPreview polarity5000
BANKING77banking intents8000
CLINCassistant intents8000
HWU64assistant intents5000
GOEMOTIONSemotions5000
EMOTIONemotions5000
MASSIVEassistant intents5000

Training procedure

  • Base: roberta-large-mnli (355M), full fine-tune, fp32 on Apple MPS
  • 3 epochs, cosine LR schedule at 1e-5, effective batch 64 (batch 8 x 8 accumulation)
  • weight decay 0.01, seed 42, max sequence length 512
  • Wall-clock training time: 7.0 h (step-rate estimate from checkpoint timestamps, 7218 steps)

Training-data licenses

Model weights and this card: MIT. Base model roberta-large-mnli: MIT. The 16 training datasets carry their own licenses (checked on the Hub 2026-10-15):

dataset (Hub repo)license
SNLI (stanfordnlp/snli)CC BY-SA 4.0
MNLI (nyu-mll/multi_nli)CC BY 3.0 / CC BY-SA 3.0 / MIT / other (multi-part)
WANLI (alisawuffles/WANLI)CC BY 4.0
ANLI (facebook/anli)CC BY-NC 4.0 (non-commercial)
AGNEWS (fancyzhx/ag_news)not stated
DBPEDIA (fancyzhx/dbpedia_14)CC BY-SA 3.0
YAHOO (yahoo_answers_topics)not stated
IMDB (stanfordnlp/imdb)other
SST2 (stanfordnlp/sst2)not stated
YELP (Yelp/yelp_review_full)other
BANKING77 (PolyAI/banking77)CC BY 4.0
CLINC (clinc_oos)CC BY 3.0
HWU64 (PolyAI/hwu64)not stated
GOEMOTIONS (google-research-datasets/go_emotions)Apache-2.0
EMOTION (dair-ai/emotion)other
MASSIVE (AmazonScience/massive)CC BY 4.0

Note: ANLI is CC BY-NC 4.0 (non-commercial), and several datasets state no license - review this table before commercial use of the fine-tuned weights. The weights and card are MIT; the upstream dataset terms still govern the data itself.

Evaluation

tweet_eval sentiment (3 labels) + emotion (4 labels) test rows were NOT in the training mixture. 400 rows each, fixed seed. One temperature fitted on ag_news + sst2 + banking77 (in-mixture, calibration only). T=1.0 and the fitted T are both reported.

dataset / readoutaccuracymacro-F1NLLBrierECE
tweet_eval/sentiment (T=1.0)0.4400.4144.3240.9970.473
tweet_eval/sentiment (T=fitted)0.4400.4141.2180.7330.239
tweet_eval/emotion (T=1.0)0.5900.5141.6970.6470.254
tweet_eval/emotion (T=fitted)0.5900.5141.0330.5500.094
overall (T=1.0)0.5150.4803.0110.8220.363
overall (T=fitted)0.5150.4801.1260.6420.110

S1MB - shared benchmark, measured here

hotchpotch/S1MB-english-v1 (106 subsets, 26,269 typed decisions) evaluated with the shipped scorer: premise = rendered state + documents + instructions, candidates = the decision's criteria, prediction = argmax renormalized P(entailment), gold = the target distribution's mode. RAW accuracy (the published leaderboard columns are baseline- adjusted scores, which is why they are kept separate below):

decision typenaccuracy
choice87640.313
noul123570.446
score51480.149
overall262690.343

Subsets whose upstream dataset was in the training mixture (banking77, clinc, dbpedia, go_emotions, hwu64, laya__ag_news, massive, snli): accuracy 0.484 on n=3651 of judgments; the other subsets: accuracy 0.3207 on n=22618. Same distribution, other splits - S1MB itself does not establish training-data non-overlap.

Multi-label readout

go_emotions test rows (200 rows, 28 labels; in-mixture dataset, checking the thresholding readout, not unseen accuracy):

  • sample-F1 at threshold 0.5: 0.1506
  • best threshold 0.2 -> sample-F1 0.1754
  • precision@3: 0.55

Latency

On Apple M2 Pro (mps, 355.4):

sweepmean msp50 msp95 ms
batch=1, 2 labels30.230.131.9
batch=1, 4 labels41.441.143.1
batch=1, 10 labels79.277.781.0
batch=1, 27 labels178.9177.4185.5
batch=1, 4 labels38.638.341.2
batch=8, 4 labels214.3210.2231.2
batch=32, 4 labels840.5840.8850.7

Comparison with open Jev-style decision models

MEASURED rows ran on this machine in this notebook; every other row is published, or computed from published measurements, and carries its source.

Same benchmark, same metric: S1MB raw accuracy

One unit everywhere: raw accuracy (percent) of the argmax prediction on the same hotchpotch/S1MB-english-v1 benchmarks and the same public targets. Our row was measured here with the shipped scorer; the other rows are computed from the published per-benchmark predictions of those models in hotchpotch/s1mb-result (noul rows use the published accuracy field of each file; tie order on their rounded probabilities can shift a noul row by ~0-2pp).

modelparamsChoiceNoulScoreoverall
roberta-large-mnli-dynamic-labels (this model) (MEASURED)355.4M31.3%44.6%14.9%34.3%
Jev 1.13 (TypeSafe AI)-76.8%83.1%63.1%77.1%
OpenJev 27B (openjev)27B75.5%83.4%67.2%77.6%
Open-Jev-27B-v1.1 (ZefanCai)25.6B72.9%82.5%66.5%76.2%
Open-Jev-9B (ZefanCai)7.9B65.6%82.7%62.1%73.0%
Tev1-4B-experimental4.5B65.5%78.8%63.1%71.3%
ModernBERT-large-zeroshot-v2.0396M36.4%49.9%16.2%38.8%
open-jev-deberta-v3-large (kotobalabs)304M39.8%65.8%19.4%48.0%
Qwen3-Reranker-4B4B44.9%71.2%16.9%51.8%
laya421M34.2%65.1%34.3%48.8%
decider-4b (Mapika)4B63.7%81.3%60.0%71.2%
chance-level baseline (uniform for Choice, majority for Noul)-22.9%72.9%--

Source: https://huggingface.co/datasets/hotchpotch/s1mb-result (accessed 2026-10-15).

S1MB leaderboard ranking (their unit: baseline-ADJUSTED scores)

The leaderboard ranks models with baseline-adjusted scores and a Borda count - a DIFFERENT unit from the raw accuracy above, kept only for ranking context. These are not percentages of anything; do not compare them to the table above.

modelparamsBordaTaskAvgNoulChoiceScore
Jev 1.13 (TypeSafe AI)-86.5159.5964.6367.2246.92
bekko-system-one-v0-400m395M76.2150.651.2461.3239.25
Open-Jev-9B (ZefanCai)7.9B72.5452.155.7655.5145.04
Open-Jev-27B-v1.1 (ZefanCai)25.6B72.3556.8851.4866.9152.26
Tev1-4B-experimental4.5B71.6747.0750.7353.3637.11
kev-9b (jaredpalmer)7.9B70.5242.450.2156.3620.64
kev-4b (jaredpalmer)4.2B68.8142.3348.4852.0326.47
JevK54.2B67.4941.1448.9352.8421.65
OpenJev-4B (Alex)4.5B63.1236.4642.7747.4919.11
bekko-system-one-v0-68m68M62.2340.4642.9151.6226.85
Open-Jev-2B (ZefanCai)1.9B50.5634.6438.8339.8225.27
bekko-system-one-v0-17m17M46.5727.5731.4335.5715.7
OpenJev-2B (Alex)2.2B44.3825.2129.7237.88.11
decider-0.8b (Mapika)752M42.6522.5728.9732.366.39
Tev1-0.8B-experimental853M38.5920.4325.9727.158.16
kev-0.8b (jaredpalmer)753M35.218.6823.6127.365.07
von395M32.416.2120.1523.994.48
OpenJev-0.8B (Alex)853M31.416.0218.923.795.36
laya-typed-decisions421M31.2215.020.0618.935.99
laya421M29.3113.3620.1916.313.58
laya-multilingual322M24.149.2814.0113.030.79
minojev1.7B19.997.938.5714.560.67
JevForge-0.8B854M12.141.920.05.750.0

openjev's own suite (different benchmark, CITED)

modelaccuracy on their 10,000-question suite
Jev (hosted API)85.4%
OpenJev (27B)84.0%
the same base model before tuning80.4%
Nimble 9B (open)75.7%

Latency cited there: ~80 ms short-text / ~210 ms web decisions on one H100 (FP8). License: CC BY-NC 4.0 (non-commercial).

JevBench leaderboard (different benchmark; latency and cost, CITED)

modelparamscapabilityp50 latency sUSD / 1000 decisions
Quyet-1.0-Large (chinhnc)31B81.690.1160.0445
wity-1 (Wity)-79.121.5750.0236
Sage 1.3.0 (Levanto Labs)-78.60.1520.0247
deck-31B (krishna765)31B77.590.1270.0475
Jev 1.13.0 (TypeSafe AI)-77.130.2390.0323
torchcast-decision-12b12B71.740.0370.0285
Jev-Omni (akhilaaa3)12B71.290.1550.0292
Winnow-12B (EldanRing)12B71.250.1170.0281
decider-4b v2 (Mapika)4B64.890.0250.0152
lev (Interfaze AI)4B61.70.1020.0188
jev-local (Qwen3.5-9B)9B57.460.3650.0235

Our latency on this Mac is in the latency table above (4 labels, batch 1: 41.4 ms mean); it is not comparable to their server hardware.

Sources: https://huggingface.co/blog/hotchpotch/system-one-mosaic-benchmark; https://huggingface.co/openjev/openjev; https://huggingface.co/datasets/benchmarkheaven/jevbench. Licenses: openjev/openjev is CC BY-NC 4.0 (non-commercial); S1MB subsets carry their original upstream licenses (see its dataset card).

Artificial Analysis Decision Index benchmarks

The AA Decision Index (https://artificialanalysis.ai/articles/artificial-analysis-decision-index, 2026-10-13) is a weighted average of four benchmarks. This model was evaluated on the three public ones with the shipped readout; the fourth (AA-Omniscience-Decision) is a private eval set and cannot be run, and the composite index is NOT computed (the weights are unpublished). Our numbers are MEASURED; the others are CITED from the article.

benchmarkourschancemajoritycited leaders (AA article)
HLE-MultiChoice19.8% (n=500)22.9%-Jev 1.13: 21
When2Call33.5% (n=1000)25.0%-Jev 1.13: 81; Celeris-1 Decision: 84
WildGuardTest56.9% (n=1699)50.0%55.6%Jev 1.13: 94; GLiDE: 95; Decider v1.1 27B: 94
AA-Omniscience-Decisionnot runnable (private)--Jev 1.13: 35 (accuracy); d1 (Liquid AI): 41

WildGuardTest per-label recall: harmful 30.6%, unharmful 77.8%. This run classifies the dataset's own prompt-harm labels; the AA article measures response safety - same public data, different protocol.

Caveats: HLE and WildGuardTest ran on public mirrors (the official repos are Hub-gated), so those two are approximate; When2Call is the same public MCQ split the article uses. Per-benchmark artifacts with full protocols live in eval_aa/.

Quickstart

from transformers import AutoModelForSequenceClassification, AutoTokenizer
import torch

model = AutoModelForSequenceClassification.from_pretrained('<your-org>/roberta-large-mnli-dynamic-labels')
tokenizer = AutoTokenizer.from_pretrained('<your-org>/roberta-large-mnli-dynamic-labels')
id2label = model.config.id2label
ENTAIL_ID = next(k for k, v in id2label.items() if str(v).upper() == 'ENTAILMENT')
CONTRA_ID = next(k for k, v in id2label.items() if str(v).upper() == 'CONTRADICTION')

def build_prompt(text, hypothesis):
    return (
        'Text: ' + text.strip().replace('\n', ' ') + '\n'
        'Hypothesis: ' + str(hypothesis).strip() + '\n'
        'Verdict:'
    )

def label_to_hypothesis(label):
    return 'This text is about ' + str(label).strip().rstrip('.') + '.'
labels = ['sports', 'politics', 'finance']
text = 'The senate passed the budget after a late-night session.'
probs = []
for lab in labels:
    enc = tokenizer(text, label_to_hypothesis(lab), return_tensors='pt',
                    truncation='longest_first', max_length=512)
    with torch.no_grad():
        logits = model(**enc).logits[0]
    p = torch.softmax(torch.stack([logits[ENTAIL_ID], logits[CONTRA_ID]]), dim=0)[0]
    probs.append(float(p))
print('multi-label raw P(entail):', dict(zip(labels, probs)))
import math
z = [math.log(p / (1 - p)) for p in probs]   # per-label log-odds
q = torch.softmax(torch.tensor(z), dim=0)
print('single-label (calibrated):', dict(zip(labels, q.tolist())))

Limitations

  • 512-token ceiling on the (text, hypothesis) pair; longer inputs are truncated.
  • Softmax over the raw P(entailment) values is flat by construction (each P is bounded in [0,1]); use the log-odds softmax for single-label probabilities or raw P plus a threshold for multi-label, as in the quickstart.
  • Calibration was fitted on ag_news / sst2 / banking77; expect worse calibration off-domain.
  • Trained on 16 public datasets with varied licenses (see the table above); ANLI is CC BY-NC 4.0, so review before commercial use. Weights and card: MIT.
  • English-centric training data.
  • Comparison numbers for other models are CITED from published tables (the S1MB leaderboard snapshot, the openjev model card, the JevBench leaderboard dataset) or computed from their published s1mb-result predictions; our S1MB numbers are raw accuracy while the S1MB leaderboard columns are baseline-adjusted scores.
  • The S1MB readout is the shipped NLI hypothesis ("This text is about ."), not the option-letter logit readout the S1MB models use.
  • 8 S1MB subsets derive from datasets in the training mixture (train split there, evaluation split here); see the overlap split in the S1MB section.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
RobertaForSequenceClassification
Ревизия весов
95d7918

0 моделей