/ Модель

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

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

vera-core

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

vera-core — неавторегрессионная модель Scar AI для классификации состояний и выбора ответа из заданных вариантов с калиброванными вероятностями.

55скачиваний за 30 дней0лайковвеса обновлены23 окт 2026

Бенчмарки

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

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

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

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

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

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

vera-core — плотная неавторегрессионная модель принятия решений, разработанная Scar AI на основе текстового бэкбона Qwen3.5-2B с добавленной специализированной головой решений. Модель обрабатывает состояние в виде текста, письма, заявки или JSON вместе с вопросами и вариантами ответа и за один проход выдаёт типизированные ответы с калиброванными вероятностями. Контекст — до 8 192 токенов; генерации текста нет.

Модель предназначена для маршрутизации и приоритизации обращений, классификации намерений и тем, выбора инструмента или функции, проверок политик и соответствия правилам, оценки срочности и риска, проверки утверждений, а также сравнения ответов. Версия около 2 млрд параметров показала 77,9% общей точности и ECE 0,098 на JevBench; README также приводит результат 81,4% на отложенной выборке решений. Контроль вероятностей можно использовать для автоматического решения или передачи случая человеку либо более медленной модели.

Контрольная точка полностью дообучена на данных для принятия решений и рассчитана на дальнейшую настройку под метки и формулировки конкретной области. Она не предназначена для браузерных агентов и управления компьютером без дообучения на соответствующих трассах. Для инференса требуется GPU; стандартные режимы vLLM и SGLang напрямую не поддерживаются. Лицензия — Apache-2.0.

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

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

Ограничения

Контрольная точка не настроена для браузерных агентов и управления компьютером без дообучения на трассах таких агентов. Для инференса требуется GPU; напрямую запускать модель через vLLM или SGLang нельзя.

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

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

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

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

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

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

Открыть на Hugging Face

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

vera-core

vera-core 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).

Base model

vera-core is derived from Qwen3.5-2B (Apache-2.0). We take its text backbone, add a purpose-built decision head that scores the options of a question in one forward pass (the model reads the question, the option menu and the state, and no text is generated), and fully fine-tune the whole stack on decision data.

vera-core 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-core is the larger sibling of vera-spark. See vera-core and vera-spark.

Use cases

vera-core 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.
  • 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 (this repo)~2B10093.158.677.90.098
vera-spark~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-core: 0.098 overall (all 231 items pooled, 10 bins). Brier: 0.007 / 0.089 / 0.589. Median latency per question on a GPU (MI300X, batch of one): 41-44 ms.

Per-family results (correct / total):

splitfamilyscorefamilyscore
easyextraction12/12intent12/12
easyfact12/12tool_selection12/12
originalextraction12/12ordinal12/12
originalintent12/12routing12/12
originalpolicy10/12adequacy9/12
hardadversarial6/6routing_hard5/5
hardmulti_hop12/18judge_hard10/17
hardtrap5/8probability5/10
hardtradeoff4/6long_policy8/19
hardambiguous4/7temporal_numeric6/15

Held-out decisions (3.6k items, decontaminated): 81.4.

Limitations

  • The released checkpoint is not tuned for browser or computer-use agents. For those, fine-tune it on traces from your own agent first.

vera-core and vera-spark

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

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

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

Quickstart

vera-core uses the same vera package (vera-s1) as vera-spark:

pip install vera-s1

Python 3.10 or newer. The weights (3.8 GB) are downloaded once, on first use, and cached. A GPU is recommended: on CPU a request takes several seconds. For the fastest GPU path, use pip install "vera-s1[fast]".

import vera

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

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: bf16 (default) and fp32

main holds the weights in bf16 (3.8 GB). The full-precision fp32 weights (7.6 GB) are on the fp32 branch:

agent = vera.load("scar-ai/vera-core", revision="fp32")                                        # vera package
model = AutoModel.from_pretrained("scar-ai/vera-core", revision="fp32", trust_remote_code=True)  # transformers

For vera-serve, download the branch first and point --model at the folder:

hf download scar-ai/vera-core --revision fp32 --include "model.pt" --include "*.json" --include "*.jinja" --local-dir vera-core-fp32
vera-serve --model ./vera-core-fp32 --port 8200

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-core --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-core", 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.
vLLMSupported via engines/ adapterSee Run with vLLM or SGLang.
SGLangSupported via engines/ adapterSee Run with vLLM or SGLang.
Ollama (and llama.cpp / GGUF)Not supportedThere is no GGUF architecture for the decision head, and Ollama serves text generation only.

An OpenAI-style chat or completions client will not work with vera-core on any engine: the model scores options, it does not generate text.

Run with vLLM or SGLang

vllm serve / sglang.launch_server on this repo do not work directly. Use the adapter in engines/: the engine runs the backbone and the vera head runs on top. A GPU is required.

pip install vera-s1
pip install vllm            # or: pip install "sglang[all]"
hf download scar-ai/vera-core --include "engines/*" --local-dir .
python engines/export_backbone.py --model scar-ai/vera-core --out ./vera-core-backbone
import sys; sys.path.insert(0, "engines")
from vera_engine import from_vllm   # or from_sglang (call it inside `if __name__ == "__main__":`)

agent = from_vllm("scar-ai/vera-core", "./vera-core-backbone")
print(agent.predict("I was charged twice. Please fix this ASAP.",
                    {"billing": {"type": "noul", "instructions": "Is this ticket about billing?"}})["answers"])

Tested on an MI300X with vLLM 0.29.0 and SGLang 0.5.21: same answers as the vera package.

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
dist/vera_s1-0.1.2-py3-none-any.whlthe vera-s1 Python package, also on PyPI (source: vera-spark/package)
engines/export_backbone.py, engines/vera_engine.pyvLLM / SGLang adapter (see Run with vLLM or SGLang)
arch.jsonarchitecture flags for the loader
tokenizer.json, tokenizer_config.json, chat_template.jinjatokenizer and prompt template

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

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

GPU в ailist

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

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

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

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

0 моделей