Downloads · 30 days
0
roadius/peewee-mix-v1
peewee-mix-v1 is a machine learning model from roadius. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This is the first published checkpoint of Peewee, a fast reflex layer for agent workloads. It answers typed questions about a piece of state in a single encoder forward pass, and returns calibrated probabilities rathe…
Downloads · 30 days
0
Access
Public
Updated Sep 24, 2026
Parameters
421M
843 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors843 MB · 100%
From the Hugging Face model README
This is the first published checkpoint of Peewee, a fast reflex layer for agent workloads. It answers typed questions about a piece of state in a single encoder forward pass, and returns calibrated probabilities rather than generated text. There are three question types:
choice: one of a set of options.score: a position on an ordered rubric.noul: whether a condition holds.Use it for tool routing, gating, triage and similar decisions where an LLM call is too slow or too expensive.
convaiinnovations/laya), about 400M parameters.release-v2-redistributable
train, 92,827 items over 4 epochs. The full record is in train_meta.json.usage["truncated"].Install Peewee from GitHub, then load the checkpoint:
pip install "peewee-decide[server] @ git+https://github.com/roadius2/peewee"
import peewee_decide
agent = peewee_decide.load("roadius/peewee-mix-v1")
res = agent.predict(
{"ticket": "I was charged twice for my subscription this month"},
{
"team": {"type": "choice", "instructions": "Which team should handle this?",
"criteria": {"billing": "payments and refunds", "tech": "bugs and outages", "other": None}},
"urgent": {"type": "noul", "instructions": "The customer needs a reply today."},
},
)
print(res["answers"]["team"]["choice"], res["answers"]["team"]["confidence"])
As a service, with dynamic batching:
peewee serve --models roadius/peewee-mix-v1
A GPU with 8 GB is enough for one loaded model: about 5 GB at the default 32 questions per batch with 1,024-token inputs. On an RTX 5090, a case with five questions takes about 10–17 ms. On an Apple M5 Max (MPS), it takes about 130–300 ms.
confidence is the probability of the answer the model reports. That makes a rule like
act above 0.9, escalate below meaningful, but only once the temperatures fit your data.
rl_agent_config.json carries temperatures fitted on a balanced mix
of typed-decisions and Open-Jev held-out data.calibration/ has temperatures for each dataset.peewee calibrate roadius/peewee-mix-v1 --data my_labelled_cases.jsonl --out my_calibration.json
peewee eval roadius/peewee-mix-v1 --data my_test_cases.jsonl --calibration my_calibration.json
agent = peewee_decide.load("roadius/peewee-mix-v1", calibration="my_calibration.json")
The case format is documented in peewee_decide/data.py.
Accuracy is measured against each dataset's reference answers. ECE is the expected calibration
error of confidence against the same answers. Temperatures never change accuracy.
| typed-decisions test | Open-Jev test | Open-Jev OOD | |
|---|---|---|---|
| accuracy | 0.8005 | 0.9403 | 0.8310 |
| ECE, built-in (balanced) temperatures | 0.055 | 0.023 | 0.147 |
| ECE, that dataset's own calibration file | 0.021 | 0.011 | — |
| TypeSafe Jev 1.13.0, accuracy (measured on the same cases) | 0.7385 | 0.8104 | 0.8031 |
| TypeSafe Jev 1.13.0, ECE | 0.045 | 0.022 | 0.049 |
typed-decisions and Open-Jev test come from the same distributions this model was trained on.
Open-Jev OOD is that dataset's out-of-distribution split, which makes it the fair comparison. Methods and raw
reports are in the repository: BENCHMARKS.md and reports/.
Peewee began as a fork of Laya by Convai Innovations (Apache 2.0), and this checkpoint is fine-tuned from their English model. The encoder is ModernBERT-large (Apache 2.0).
The training data is typed-decisions (Apache 2.0) and Open-Jev (CC0-1.0). No outputs of TypeSafe's Jev were used in training or calibration; Jev appears here only as a measured comparison.
Peewee is not affiliated with, endorsed by or sponsored by Convai Innovations, TypeSafe or the Open-Jev project.
License: Apache 2.0.