/ Модель

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

Размер весов
51,6 ГБ
Лицензия
Apache 2.0
Архитектура
gemma4 · dense
Базовая модель
gemma-4-26B-A4B-it
Библиотека
transformers
Опубликована
21 сен 2026

shisa-de-1

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

Shisa DE-1 — дообученная на Gemma 4 модель для классификации и типизированного выбора ответов из заданных вариантов по состоянию и вопросам.

1 870скачиваний за 30 дней6лайковвеса обновлены12 окт 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Shisa DE-1 — модель принятия решений от Shisa AI, дообученная на Google Gemma 4 26B A4B IT. Это причинная языковая модель без отдельной классификационной головы: она получает состояние и список именованных вопросов с вариантами, а затем выбирает ответ по логитам букв вариантов на границе ответа. Для каждого вопроса можно получить типизированный выбор или вероятностную оценку; модель рассчитана на классификацию и структурированные решения, а не на свободный диалог.

Модель использует архитектуру Gemma 4 и сохраняет нетронутый обучением энкодер изображений базовой модели. Карточка описывает обучение на распределении следующих токенов для букв вариантов и сообщает рост точности на обучающей выборке с 0,888 до 0,968 за три эпохи. Для корректного применения требуется клиент shisa-de или сервер, поддерживающий чтение logprobs на границе ответа; произвольный совместимый с OpenAI чат-сервер не подходит. Лицензия — Apache 2.0.

Качество зависит от набора решений и формы сервинга: на одном измерении базовая Gemma 4 превосходила чекпойнт, а на другом результаты совпадали. Порядок вариантов может менять ответ. Арифметику и подсчёт рекомендуется выполнять кодом; качество свободной генерации, чата и вызова инструментов не подтверждено. Для текстового выбора поддерживается до 26 вариантов напрямую; клиент версии 0.2.0 поддерживает до 676 через разбиение на группы, но качество проверялось максимум на 151 варианте. Обработка изображений и упорядоченные оценки в этом режиме переполнения не поддерживаются.

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

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

Ограничения

Порядок вариантов влияет на ответы; арифметику и подсчёт следует передавать коду. Качество свободной генерации, чата и вызова инструментов не подтверждено; на некоторых наборах решений базовая Gemma 4 показывает лучшие результаты.

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

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

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

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

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

Открыть на Hugging Face

An improved Shisa DE-2 has now been released!

Shisa DE-1

Shisa DE-1 (Decision Engine) is a general-purpose "decision model". It takes one state and a list of named questions and returns one typed answer per question. Instead of an answer text, each answer is read from the next-token distribution at the answer boundary, and restricted to the option letters.

This model was trained from google/gemma-4-26B-A4B-it with softmax cross-entropy over the restricted option-letter distribution at the answer boundary. The loss is the deployment readout: the next-token logits are restricted to the K option letter rows and the cross-entropy targets the correct letter.

The vision encoder is present in the weights and was untouched by training.

Train accuracy rose 0.888 → 0.936 → 0.968 across the three epochs.

Model details

FieldValue
Model idshisa-ai/shisa-de-1
Developed byShisa AI
Model typeCausal language model; no task head is added to the graph
Base modelgoogle/gemma-4-26B-A4B-it
ArchitectureGemma 4 mixture of experts: 30 layers, 128 experts with 8 active plus 1 shared, 2,816 hidden size, 262,144-token vocabulary, 256K context
Parameters25.2B total and 3.8B active per the base model card
Precisionbfloat16
Size on disk51,612,009,332 bytes (48.1 GiB) in 2 safetensors shards, 1,013 tensors
LicenseApache-2.0

Serving

Python client

The easiest way to use DE-1 is the shisa-de client, which implements the readout contract below and returns typed answers and probabilities instead of generated prose.

pip install -U 'shisa-de>=0.2.0'
export SHISA_API_KEY="your-platform-api-key"  # for the hosted endpoint

You can use this library with our Shisa AI platform or a local server implementing /v1/completions with logprobs and prompt_logprobs, such as vLLM. An arbitrary OpenAI-compatible chat endpoint is not sufficient for this readout.

from shisa_de import Choice, DecisionModel, Noul

with DecisionModel() as de:
    result = de.decide(
        "From: billing@acme-support.example\nSubject: Your invoice is overdue\n\n"
        "We could not charge your card. Reply with your full card number, expiry, and CVV "
        "so we can release the pending refund.",
        {
            "asks_for": Choice("What is this message trying to obtain?", {
                "payment_card_details": "payment card details",
                "support_callback": "a support callback",
                "nothing": "nothing; it is a routine notice",
            }),
            "phishing": Noul("Is this message phishing?"),
        },
    )
    print(result["asks_for"])                        # payment_card_details
    print(result["phishing"])                        # ~0.99: probability of yes
    print(result.answers["asks_for"].probabilities)  # calibrated, sums to 1

Choice answers with an option key, Noul with the probability of yes, and Score with the probability-weighted position on an ordered scale. classify is the shorter form for label sets: de.classify(text, {"intent": ["spam", "ham"]}) returns a dict-like result with the chosen label at result["intent"]. Questions in one call run concurrently, and result.usage reports request and token counts. Direct text probabilities are temperature-scaled by default; pass calibrated=False for the raw ones. Overflow scores use the separate, uncalibrated semantics described below.

Point the same client at a local server you started with vllm serve (see Launch): DecisionModel.from_endpoint("http://127.0.0.1:8000/v1", api_key="").

From the shell, shisa-de doctor checks the endpoint, the model id, and the tokenizer's answer boundary, and shisa-de ask --state '<text>' --labels spam,ham makes one decision. Source and full documentation: github.com/shisa-ai/shisa-de.

Choices with more than 26 options

Availability: overflow is included in shisa-de 0.2.0, with readout contract de1-letter-slots-v3. Upgrade with pip install -U 'shisa-de>=0.2.0'. The v0.2.0 source and contract include the tested implementation and replay fixtures. Version 0.1.2 retains the 26-option single-choice limit.

The selected rule splits text choices into balanced consecutive chunks of at most 26 options, keeps each chunk's winner, then asks a fresh choice among those finalists in original order. Ordinary choices with at most 26 options keep their direct readout. The implementation supports 27–676 text options without recursion; live quality testing covered at most 151. Image and ordered-score overflow remain unsupported. overflow="error" retains strict rejection, and max_logprobs=40 can reduce fallback requests on servers that allow it; the SDK default remains 20.

Overflow scores are conditional on surviving the first stage. The full-key map gives eliminated options zero and finalists their final-round softmax. These are not calibrated global probabilities: overflow returns calibrated=False, confidence=None, and strategy/score-semantics metadata. Explicit calibrated=True is rejected for overflow. Option order can change the answer. See the held-out comparison below for measured quality and cost.

On the quality harness's kev-decision-v1 suite (2026-10-02, vLLM 0.30.0 TP1), the rule raises coverage from 504 to 776 of 776 choice questions: this checkpoint scores 0.7423 overall and 0.6507 on the 272 Banking77 questions, against 0.7552 and 0.6618 for the frozen Gemma 4 base. The frozen base leads that suite at this serving shape, while under the 2026-09-23 TP2 stack the two were level (0.7778 each over the 504 answerable questions). Re-running the frozen base under both stacks moves 20 of its 504 narrow questions (4.0%) and this checkpoint 25 (5.0%), so suite deltas of a point or two are inside the serving-shape band.

Readout contract

The direct readout handles up to 26 options in one prompt, with additional requests for missing letter logprobs. Overflow repeats this per-prompt contract across chunks and finalists as described above. Render the state and the question with the option list, then read logprobs at the answer position with max_tokens=1. Restrict the letter logits to the K valid option letters (A upward) and take the argmax for a choice answer or the softmax over those rows for a noul probability. The model emits no answer string, and its unrestricted next-token distribution is not part of the contract.

Example. The initial request for a direct-readout question. Render the prompt with the model's chat template, then read the first generated token's logprobs:

curl http://localhost:8000/v1/completions \
  -H 'Content-Type: application/json' \
  -d '{"model": "shisa-de-1", "prompt": "<rendered prompt>", "max_tokens": 1, "temperature": 0, "logprobs": 20}'

The measured scaffold sends a system instruction and a JSON payload in the user message, then appends the model's generation prompt:

<bos><|turn>system
Apply the supplied criterion to the supplied evidence. Choose exactly one listed option. Respond with only its uppercase letter, with no explanation or reasoning.<turn|>
<|turn>user
{"evidence": "From: billing@acme-support.example\nSubject: Your invoice is overdue\n\nWe could not charge your card. Reply with your full card number, expiry, and CVV so we can release the pending refund.", "criterion": "What is this message trying to obtain?", "options": [{"letter": "A", "description": "payment card details"}, {"letter": "B", "description": "a support callback"}, {"letter": "C", "description": "nothing; it is a routine notice"}]}<turn|>
<|turn>model
<|channel>thought
<channel|>

That prompt is 161 tokens. The response (truncated) for its three options is:

{
  "choices": [{"text": "A", "logprobs": {"top_logprobs": [
    {"A": -0.0056, "B": -6.1306, "D": -7.3806, "C": -7.5056, "-": -7.5056, "1": -9.3806}
  ]}}],
  "usage": {"prompt_tokens": 161, "completion_tokens": 1, "total_tokens": 162}
}

Restrict the candidate rows to the option letters and normalize:

Letterlogprobprobability
A-0.00560.9973
B-6.13060.0022
C-7.50560.0006

The answer is A at 0.9973. Tokens outside the option list are discarded even when they outrank a valid option, as D does here. choices[0].text is the sampled token, shown for debugging only; the contract reads the distribution, not the sample.

A noul question uses the option pair Yes/No, and the normalized probability of the Yes row is the reported noul value. Each option letter must be a single token, and prompt + letter must tokenize as the prompt tokens plus exactly that letter's token. If a letter is missing from top_logprobs, repeat the request with prompt_logprobs: 0 and the letter appended to the prompt, and read the last entry.

Launch

This model can be served via mainline vLLM:

vllm serve shisa-ai/shisa-de-1

On 2 x NVIDIA H20-3e (TP2), fraud-detect suite (59 cases, 295 questions, all splits):

MetricValue
Throughput plateau596-684 req/s from c=64 to c=512
Peak683.9 req/s at c=64
Throughput at c=256668.8 req/s, p50 147 ms, p95 224 ms
Memory per GPU129,429 MiB

Single-sweep latency at a median 201 input tokens per case:

Concurrencyreq/sp50p95p99
182.612 ms14 ms15 ms
4161.725 ms28 ms30 ms
16405.238 ms51 ms54 ms
64683.985 ms104 ms270 ms
256668.8147 ms224 ms265 ms
512659.5135 ms169 ms196 ms

Training

Data

The base Gemma 4 model is already quite strong, but we trained on 3,632 training examples for specific use cases, including compaction, fraud detection, anti-slop, and safety guardrails.

Training used softmax cross-entropy restricted to the option-letter rows at the answer boundary, so the training objective is the serving readout. A dot-product head over frozen hidden states was also trained and scored lower on the sealed compaction test: 0.837 AUROC at its best epoch against 0.8902 for this model.

Evaluation

The quality harness ran 29 suites against this checkpoint, plus option-order-reversed variants of 13 of them.

While even much smaller classifier models can perform admirably at many decision-making tasks, our testing showed that larger LLMs provide better generalization and can still run within real-time performance windows.

Latencies should be taken as broad guidance. While all models were measured on the same-sized runs, some smaller models were run at TP1, while DeepSeek-V4.1-Flash requires TP4, and Jev is a hosted solution and run remotely and includes network latency to our data center.

ModelParamsfraud-detectja-routingantislopguardrailsag_newsp50 ms
Shisa DE-126B-A4B / 4B act0.9990.9760.9970.9170.89520
Gemma 4 (base)26B-A4B / 4B act0.9850.9760.9730.8330.89559
DeepSeek-V4.1-Flash552B-P8B-D16B0.9951.0001.0000.7500.905161
Qwen3.8-Flash-Next125B-A6B0.9830.9760.9700.5830.91061
Nimble-9B9B0.9500.9270.9190.5830.915153
kev-4B4B0.8570.7500.8710.5000.92553
GLiFormer-large576M0.7770.6670.7340.5000.76532
BGE-M3 zero-shot568M0.6700.8330.6820.5000.9209
Laya421M0.6070.6100.6470.4170.96016
GLiNER2.5-base194M0.7320.7500.8040.5000.70537
ModernCE-base150M0.5960.3170.6760.4170.9059
Jev (hosted)undisclosed0.9821.0000.9700.5830.900223

More-than-26-option held-out comparison

On 2026-10-02, a paired comparison selected top-one finalist reranking on 100 development questions, froze that rule, and evaluated it on 500 different questions, 100 per benchmark. All measurements used hosted shisa-ai/shisa-de-1, fingerprint vllm-0.26.0-tp2-ae644bcc, with top-k 40. Each prompt retained the de1-letter-slots-v2 readout; the composite protocol is implemented by the SDK's v3 contract.

BenchmarkHeld-out rowsCapped refusalPeak-selected chunksFinalist rerank
API-Bank1000%91%92%
BANKING771000%68%79%
CLINC150+OOS1000%72%75%
ChessBench, accepted moves1000%13%15%
POP9091000%15%15%
Benchmark-balanced mean5000%51.8%55.2%

The capped zero is the refusal policy's outcome. Other entries are measured sample row accuracies, not full-benchmark macro-F1, POP909 song-macro scores, or an overall Decision Index rescore. The measured complete-run Decision Index remains 37.79 under its original local serving and capped readout.

Finalist reranking won on 41 paired rows and lost on 24 versus peak chunks: +3.4 percentage points, with a descriptive 95% bootstrap interval of +0.2 to +6.8 points (2,000 resamples within benchmark, POP909 grouped by song). Two POP909 song IDs appear in both development and held-out samples; rows are disjoint. Costs were 5.028 versus 4.028 HTTP requests per question, including letter fallbacks. These were unbatched HTTP calls, not isolated latency tests.

On 100 further questions, finalist accuracy was 55% in native order and 56% after a fixed permutation, but 26% of chosen answers changed. This rule is not order-invariant, and the experiment does not establish a universally best protocol or calibrated confidence.

Reproducibility: the paired records, development selection, held-out bootstrap analysis, order checks and audit are in the research-jev-universal-classifiers research checkout at commit ef18e24, under evals/results/decision-index-overflow-compare/; the report is evals/reports/DE1-OVERFLOW.md. Those research commits are not yet published; the SDK implementation and five recorded replay cases are public in v0.2.0. A follow-up SDK check replayed five recorded component distributions exactly and matched all five choices on fresh hosted calls; the SDK suite passed 128 offline and 8 opt-in live tests.

Vision suites

The vision tower was left untouched, but on glance's four image-classification suites DE-1 still modestly outperforms the Gemma 4 base (8/12 metrics improved, no regressions). We ran the Qwen3-VL-4B on the matched item set for reference (the vendored Qwen3-VL-4B results were on a different item set, so are not directly comparable).

SuiteMethodMetricShisa DE-1Gemma 4 baseQwen3-VL-4B
popestatementaccuracy0.8600.8500.870
AUROC0.9600.9230.951
gqa_yesnostatementaccuracy0.6900.6650.735
AUROC0.7850.7760.807
pets37independent, 37 optionsaccuracy0.9200.9000.920
macro-F10.9110.8910.870
pets37letter, 26 optionsaccuracy0.9100.890—
macro-F10.8700.846—
caltech101independent, 101 optionsaccuracy0.9000.9000.940
macro-F10.9580.9580.977
caltech101letter, 26 optionsaccuracy0.9600.960—
macro-F10.9780.978—

The letter rows are dashes for Qwen3-VL-4B, where the letter readout errored on every item.

All suites measured on this checkpoint

Metric per suite is the suite's primary metric, and all three models ran the same questions.

SuiteMetricShisa DE-1JevGemma 4 base
fraud-detectAUROC0.99940.98230.9853
compactionAUROC0.85870.92280.8754
guardrailsacc0.91670.58330.8333
antislopAUROC0.99680.97040.9725
ja-routingacc0.97561.00000.9756
ja-registerAUROC0.99700.98200.9995
ja-leakageAUROC0.90400.89630.8956
ja-indirectAUROC0.68710.84400.8955
ja-nuanceAUROC0.94340.92080.9455
classifier-benchmarkacc1.00001.00001.0000
openjev-authored144acc0.94440.97220.9514
simplejev-noul-probeAUROC1.00001.00001.0000
jdb-probe-countingacc0.65330.86670.7333
jdb-probe-fresh_mathacc0.53330.71670.6917
jdb-probe-two_hopacc0.98001.00000.9733
jdb-probe-date_compareAUROC0.99211.00000.9925
jdb-probe-double_negationAUROC1.00001.00001.0000
jdb-probe-number_compareAUROC0.99981.00000.9995
kev-decision-v1 *acc0.74230.79510.7552
kev-transfer-v1 †acc0.78230.81030.7899
jeff8-ag_newsacc0.89500.90000.8950
jeff8-emotionacc0.43500.46500.4400
jeff8-boolqAUROC0.95020.95120.9402
jeff8-ironyAUROC0.95240.95630.9699
jeff8-sms_spamAUROC0.98710.99480.9891
jeff8-sst2AUROC0.99310.99470.9942
jeff8-amazonMAE0.4150.4450.470
jeff8-sst5MAE0.5150.4900.460
contract-smokeall types0.92311.00000.9231

* kev-decision-v1 was re-measured on 2026-10-02 with the overflow readout from shisa-de 0.2.0: 272 of its 776 choice questions are Banking77 intent questions with 77 options, which exceed the 26 single-token letter slots this readout restricts to, and they are now answered by chunking plus a finalist round instead of being recorded unsupported. All three models now cover 776/776 questions in this row. Overflow distributions are conditional on finalist selection and are not calibrated; choice accuracy is unaffected.

† kev-transfer-v1 uses the post-fix runs: 0.7823 for this checkpoint, 0.7899 for the frozen base and 0.8103 for hosted Jev, against 0.4914 and 0.5075 before the 2026-09-23 renderer fix that had suppressed option keys carrying no description.

Choice accuracy and option-order sensitivity

Reversal rewrites each choice question's option order and leaves gold keyed by option id, so a position-invariant model scores identically. Deltas are reversed minus original. The original column is also this model's choice accuracy on those suites. These rows are the 2026-10-02 re-measurement of the published checkpoint on vLLM 0.30.0 at TP1 with the overflow readout, so kev-decision-v1 covers all 776 of its choice questions and kev-transfer-v1 carries the post-fix renderer; the previous version of this table came from the 2026-09-23 TP2 run.

SuiteOriginalReversedDelta
classifier-benchmark1.0001.000+0.000
fraud-detect0.9920.949-0.042
guardrails0.9170.917+0.000
ja-routing0.9760.927-0.049
jdb-probe-counting0.6400.527-0.113
jdb-probe-fresh_math0.6170.525-0.092
jdb-probe-two_hop1.0001.000+0.000
jeff8-ag_news0.9000.855-0.045
jeff8-emotion0.4350.450+0.015
kev-decision-v10.7420.749+0.006
kev-transfer-v10.7820.781-0.001
openjev-authored1440.9650.958-0.007
simplejev-noul-probe1.0001.000+0.000

Mean absolute shift 0.029. The 11-option counting probe is the worst case, and the chosen-count distribution moves with the presentation: on identical cases and gold, the model picks count 3 on 20 cases ascending and 31 descending. The readout is not scoring the option text alone.

Calibration

A post-hoc temperature is fitted on this checkpoint's dev-split rows by NLL grid search, separately per answer kind because noul and choice calibrate differently: T_noul = 1.69 and T_choice = 1.90 (T_global = 1.84). On the test split (n=7,446), noul ECE moves from 0.054 to 0.042 and choice ECE from 0.138 to 0.046. Accuracy is unchanged, because tempering does not move the argmax. Leave-one-suite-out fits span 1.76 to 1.89, so one temperature transfers across suites. Refit on your own rows before treating the noul probabilities as confidence.

Limitations

  1. Held-out decision families remain behind. kev-transfer-v1 scores 0.782 against hosted Jev's 0.810 on the post-fix renderer; the earlier 0.491 figure was the 2026-09-23 rendering defect, which had suppressed option keys carrying no description, not a readout limit. A prompt-scaffold A/B moved nothing.
  2. Arithmetic and counting stay in code. jdb-probe-counting 0.640 and jdb-probe-fresh_math 0.617 on these weights, and the failure class appears at every model size tested.
  3. Option order changes answers. Reversal costs 11 points on the 11-option counting probe and 5 points on jeff8-ag_news.
  4. No generation quality is claimed. Only the restricted-letter readout was trained and measured. Open-ended generation, chat, and tool use are unsupported by the evidence here, and the vision numbers cover only the four glance suites above.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Gemma4ForConditionalGeneration
Ревизия весов
255830e

0 моделей