/ Модель

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

Контекст
8 192 токена
Лицензия
Apache 2.0
Архитектура
vera · dense
Библиотека
pytorch
Опубликована
3 окт 2026

vera-spark

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

Компактная модель scar-ai для классификации состояний и выбора типизированных ответов с оценками вероятности.

377скачиваний за 30 дней1лайквеса обновлены4 ноя 2026

Бенчмарки

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

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

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

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

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

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

vera-spark — компактная модель принятия решений System 1 от scar-ai. Это плотная невербальная авторегрессия с архитектурой VeraForDecision: модель принимает состояние в виде текста, письма, заявки или JSON и типизированные вопросы, а за один проход выдаёт ответы выбранного типа с калиброванными вероятностями. Контекст составляет 8 192 токена; модель содержит около 630 млн параметров и опубликована в формате bf16, также доступны веса Safetensors.

Модель предназначена для маршрутизации и приоритизации обращений, классификации намерений, выбора инструмента или следующего действия агента, проверки правил, оценки срочности и риска, проверки утверждений и сравнения ответов. В README указана поддержка английского языка. В отличие от генеративных моделей, vera-spark не генерирует текст; её качество ниже, чем у более крупной vera-core, особенно на сложных решениях. Лицензия — Apache-2.0.

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

  • Маршрутизация писем и заявок в нужную очередь
  • Определение намерения и темы сообщения
  • Выбор инструмента или API для агента
  • Определение следующего действия агента
  • Проверка соответствия обращения политике
  • Оценка срочности или риска с вероятностями
  • Сравнение и ранжирование вариантов ответа

Ограничения

Модель не генерирует текст и предназначена для выдачи ответов заданного типа. По результатам JevBench она уступает vera-core, особенно на сложных задачах; для предметной области README рекомендует дообучение.

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

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

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

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

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

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

Открыть на Hugging Face

Discontinued: vera-spark is no longer maintained. Use scar-ai/vera-core-2 instead.

vera-spark

vera-spark is a non-autoregressive System 1 decision model. Give it a state (text, email, ticket, or JSON) and typed questions; it returns typed answers with calibrated probabilities in a single forward pass, over an 8K (8,192-token) context. It never generates text, so there is nothing to parse and nothing to hallucinate. It speaks the same wire format as Jev (POST /v1/systemone).

vera-spark is a generalist base: fine-tune it for your use case

Fine-tuning on your own decisions will yield better results.

The released checkpoint works zero-shot across many kinds of decisions, but it is built to be a starting point. Fine-tune it on decisions from your own domain and it will fit your labels, your wording and your calibration far better than the generalist base.

vera-spark is the compact sibling of vera-core. See vera-spark and vera-core.

Demo: JevPilot driving on vera-spark

The car is driven by JevPilot decisions served from vera-spark.

Use cases

vera-spark is a fast decision layer for anything that can be phrased as "given this state, pick from these options". Fine-tune it on your own labels for:

  • Routing and triage: send a ticket, email or request to the right team, queue or priority.
  • Intent and topic classification: map messages to your own intent set, with calibrated confidence for escalation.
  • Tool and function selection: choose which tool or API an agent should call next.
  • Agent control: pick the next action for a browser, driving or workflow agent in a few milliseconds.
  • Policy and compliance checks: decide whether a case follows a rule or breaks it.
  • Scoring and severity: rate on an ordinal scale (urgency, sentiment, risk) with a full probability distribution.
  • Fact and claim verification: check a statement against a document.
  • Judging and ranking: compare candidate responses and pick the better one.
  • Confidence-gated workflows: act automatically when confident, hand off to a slower model or a human when not.

Benchmarks

JevBench (accuracy %, higher is better; ECE lower is better)

modelparamseasyoriginalhardoverallECE (overall)
vera-core~2B10093.158.677.90.098
vera-spark (this repo)~630M10083.346.068.80.141
Jev (reference)–1009974.1––
Laya (public leaderboard, not our run)421M947334––
Julia-1 (our run)144M75.047.235.147.2–
reflex-s1 (our run, fast profile)23M/83M81.245.839.650.2–

ECE for vera-spark: 0.141 overall. Brier: 0.024 / 0.263 / 0.692. Median latency per question: 29-34 ms (MI300X, batch of one).

Hard-tier breakdown (correct / total):

familyscorefamilyscore
routing_hard5/5temporal_numeric8/15
adversarial5/6tradeoff4/6
trap6/8judge_hard6/17
ambiguous4/7long_policy6/19
multi_hop5/18probability2/10

Internal selection set

setvera-spark
selection composite75.3
held-out decisions (3.6k items, decontaminated)75.1
judging (preference / RewardBench-style)63.3
Open-Jev out-of-distribution83.6
rule-following dev86.9
code-verified rewritten cases69.2
long documents (1.5-3k words)72.7
typed decisions (zero-shot)52.8

vera-spark and vera-core

The two models share the same System One interface, wire format and decision format, so you can swap one for the other.

  • vera-spark (this repo): the compact model (~630M parameters). Pick it when you want the smallest footprint.
  • vera-core: the larger model, built on Qwen3.5-2B (~2B parameters). Pick it when accuracy matters most, especially on hard, multi-step decisions.

Both are generalist bases meant to be fine-tuned for your use case.

Quickstart

pip install vera-s1

Python 3.10 or newer. The weights are downloaded once, on first use, and cached. It runs on a CUDA GPU or on CPU; the device is picked automatically.

import vera

agent = vera.load("scar-ai/vera-spark")

state = "Hi, we were billed twice for March. Please refund the duplicate today or we will cancel our plan."
questions = {
    "department": {"type": "choice", "instructions": "Which department should handle this?",
                   "criteria": {"billing": "invoices, payments, refunds",
                                "technical": "bugs, outages, system errors",
                                "other": "everything else"}},
    "urgency": {"type": "score", "instructions": "How urgent is this?",
                "criteria": ["not urgent", "soon", "blocking"]},
    "churn_risk": {"type": "noul", "instructions": "Does the user threaten to cancel or leave?"},
}

result = agent.predict(state, questions)
print(result["answers"]["department"]["choice"])       # billing
print(result["answers"]["department"]["probabilities"])
print(result["answers"]["churn_risk"]["noul"])         # probability the answer is yes

All questions in a call are answered together. The state can be plain text or any JSON-serialisable object. Question types: choice (2 to 255 options), score (2 to 10 ordered levels, returns an expected score and the full distribution) and noul (yes/no probability).

Weights

main holds the weights in bf16 (1.3 GB).

Self-hosting: Jev-compatible HTTP server

vera-serve exposes the model on the same POST /v1/systemone request and response shape as Jev, so existing clients work by changing their base URL:

vera-serve --model scar-ai/vera-spark --port 8200
curl -s localhost:8200/v1/systemone -H 'Content-Type: application/json' -d '{
  "state": {"document": "I was charged twice. Please fix this ASAP."},
  "questions": {"billing": {"type": "noul", "instructions": "Is this ticket about billing?"}}
}'

It binds 127.0.0.1 by default (use --host 0.0.0.0 to expose it) and has no authentication, so put it behind your own gateway if you expose it. Concurrent requests are batched.

Use with transformers

The checkpoint also loads through transformers with AutoModel (custom code, so trust_remote_code=True). Tested with transformers 5.18.0 (vera-core needs a transformers release that includes Qwen3.5); outputs match the vera package exactly (max probability difference 0.0 on a three-question test).

from transformers import AutoModel

model = AutoModel.from_pretrained("scar-ai/vera-spark", trust_remote_code=True)   # add .to("cuda") if you have a GPU
state = "Hi, we were billed twice for March. Please refund the duplicate today."
questions = {"department": {"type": "choice", "instructions": "Which department should handle this?",
                            "criteria": {"billing": "invoices, payments, refunds", "other": "everything else"}}}
print(model.predict(state, questions)["answers"]["department"])    # same shape as POST /v1/systemone

For tensor-level use, model.encode_batch(state, questions) builds the inputs and model(**batch).logits returns the calibrated option scores (softmax(logits, -1) gives probabilities). The model is non-autoregressive and has no generate().

Inference engine and decision API status

vera answers decisions through the Jev-compatible POST /v1/systemone API, not through text generation. That decides which engines can serve it.

engine / APIstatusnotes
vera-serve (POST /v1/systemone, /api/v1/decide)SupportedThe reference decision API server; batches concurrent requests.
vera.load(...).predict(...) (Python)SupportedSame result shape as the HTTP API.
transformers (AutoModel, trust_remote_code=True)SupportedSee above. predict() mirrors the decision API.
vLLMNot supportedvera-spark's backbone has upcycled mixture-of-experts layers and a head that reads several backbone layers, which vLLM cannot run. Not tested.
SGLangNot supportedSame reason as vLLM. Not tested.
Ollama (and llama.cpp / GGUF)Not supportedThere is no GGUF architecture for the decision head, and Ollama serves text generation only.

To serve vera-spark, use vera-serve or transformers. If you need vLLM or SGLang, use vera-core: it runs on both through an adapter (tested), with the same decision API.

Files

filedescription
model.ptweights (state dict, bf16), used by the vera package
config.json, model.safetensors*transformers-format config and weights (bf16) (AutoModel, trust_remote_code=True)
configuration_vera.py, modeling_vera.py, vera_model.py, vera_schema.pycustom code for the transformers loader
arch.jsonarchitecture flags for the loader
tokenizer.json, tokenizer_config.jsontokenizer
package/source of the vera-s1 Python package
dist/vera_s1-0.1.2-py3-none-any.whlthe installable package, also on PyPI
demo.mp4JevPilot driving on vera-spark

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

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

GPU в ailist

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

Нельзя запустить

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
VeraForDecision
Ревизия весов
9814f17

0 моделей