Open local decision model on Qwen3-4B with LoRA adapters that answers choice, score, and noul questions with probabilities, calibrated confidence, and conformal sets, offline with no per-call cost.
Brier: decisões tipadas e calibradas (choice/score/noul), locais e independentes. Qwen3-4B + LoRA em MLX; API /v1/decide, compatível com /v1/systemone.
Forks
0
Last pushed
Updated Oct 2026
Repo stats from the GitHub API, cached Oct 2026.
About this project
Modelo aberto de decisão tipada e calibrada. Roda localmente e não depende de nenhum serviço externo. O Brier recebe um conteúdo (state) e uma ou mais perguntas com respostas pré-definidas. Para cada pergunta, devolve a opção escolhida e a probabilidade de cada opção. Ele não gera texto: responde sempre dentro das opções que você definiu, e diz o quanto tem certeza.
Takes state plus typed questions in one pass with block attention, reading option tokens directly so answers stay in type.
Returns choice with probabilities, score as a weighted average between levels, and noul as yes-probability, plus uncertainty and set fields.
Trained on synthetic Portuguese cases plus public sets with majority-vote labels, tuned for calibration with conformal, dropout, and permutation layers.
Runs on Windows, Linux, and macOS via PyTorch or MLX with the base downloading on first run; tests run without a model and CI covers all three systems.
Watch out
CPU runs but is slow for a 4B model, so real use prefers GPU; stochastic samples multiply latency. Copy reviewed against the repository README on 2026-10-04, not from running it.
Questions about this entry
Short answers drawn from the linked project or page.
It returns the full distribution with confidence and a conformal set that holds the right answer with high guarantee, saying when a case is ambiguous so you can automate single-option sets and send the rest to a person.
No: it runs locally offline on CPU, NVIDIA GPU, or Apple Silicon with no external service and no per-call cost, needing free RAM for the quantized base and more under PyTorch.
Create a virtualenv, install requirements for PyTorch or MLX, then run the server script with an execution directory; MLX needs modest free RAM while PyTorch needs more, with a smaller model option for weak machines.
Training targets calibration directly with soft targets and a scale penalty, and the repo documents data generation, majority-vote relabeling, and train scripts that require Apple Silicon plus an OpenAI-compatible key for synthesis.
Use v3 by default, especially for text from third parties, since it is the most resistant to instruction injection; use v2 when the text is trusted and accuracy matters most, and rapido when speed matters more than accuracy.
Three: choice over up to 26 options, score over 2 to 10 ordered levels, and noul for yes or no; confidence runs from 0 for a uniform distribution to 1 for outright certainty.
v3's malicious instruction changed the answer in 16.7% of 1000 cases against Jev's 21.4%, a significant difference; in a blind test of 57 unseen phrases it held 17.5% against 20.5%, smaller and not significant.
Jev-style /v1/systemone API over any OpenAI-compatible backend, reading single-token label logprobs with a restricted softmax instead of generating JSON.
CLI and Python library that runs declarative YAML judgment tasks - classify, route, score, verify - natively on Jev Choice/Score/Noul, on any OpenAI-compatible backend, or on local keyword rules, with confidence gates, fallbacks and per-decision cost records.
Harness that sits Jev for the 66-subject Traditional Chinese TMMLU+ suite, asking every item as one four-way A/B/C/D choice with calibration reporting.
The request shape barely changes across surfaces; the surrounding contract does. When to call the API directly and when a gateway, a Worker binding, or a router entry earns its extra hop.
Taking a decision checkpoint out of Python: what the GGUF and browser WebGPU exports preserve, what they change, and the parity evidence the model cards publish.