bonzi-1.7b-v1-jev
Bonsai 1 1.7B as a typed decision function. No weights here. This is a
recipe and a measurement for running
prism-ml/Bonsai-1.7B-gguf as a
Jev-style System One model: one forward pass in, a calibrated probability per
option out.
Asked "Is the sky blue?", a real row from this model's own run:
{"choice": "true", "probabilities": {"true": 0.638564, "false": 0.361436},
"label_mass": 0.925031, "prompt_tokens": 93, "forward_s": 0.038}
Code: https://github.com/NicolaiLassen/open-bonzi-jev
Where this comes from
- TypeSafe shipped Jev and named the category: models returning typed probabilistic decisions instead of text.
- TheoLeeCJ open-sourced the mechanism as SemIf, originally released as OpenJev, reading option logits straight out of a frozen open model.
- This ports that onto PrismML's Bonsai low-bit models.
score.py is an independent re-implementation of SemIf's "direct" mode
with its own prompt. No SemIf code is used, so these numbers are not
comparable to SemIf's published benchmarks. Not affiliated with TypeSafe,
PrismML, or TheoLeeCJ.
This model
| Weights | Bonsai-1.7B-Q1_0.gguf |
| Quantization | 1-bit (Q1_0) |
| On disk | 0.25 GB |
| Runtime | stock llama.cpp |
| WANLI-256 | 52.0% (chance 33.3%) |
| easy100 | 79% |
| Throughput | 925 decisions/min |
| Median latency | 57 ms |
Median label_mass |
0.941 |
Runs on stock llama.cpp. Bonsai 1's
Q1_0is merged upstream, so ordinary release binaries work, and no fork is required.
Against the rest of the family
Apple M4 Pro, GPU, ctx 4096, warmup excluded. This model ranks #6 of 6 on decision quality.
| Model | On disk | WANLI-256 | decisions/min |
|---|---|---|---|
| Bonsai 1 1.7B | 0.25 GB | 52.0% | 925 |
| Bonsai 1 4B | 0.57 GB | 60.2% | 398 |
| Bonsai 1 8B | 1.16 GB | 64.5% | 230 |
| Bonsai 1 27B | 3.80 GB | 71.1% | 31 |
| Ternary Bonsai 1 8B | 2.18 GB | 65.2% | 200 |
| Bonsai 2 27B | 5.95 GB | 74.6% | 24 |
Usage
git clone https://github.com/NicolaiLassen/open-bonzi-jev
cd open-bonzi-jev
./scripts/get_llama_cpp.sh
python3 scripts/download_model.py Bonsai-1.7B
./openjev/score.sh -q "Is the user angry?" \
--state '{"msg":"this is broken AGAIN"}' \
--model bonzi/models/Bonsai-1.7B
Options default to true,false; pass --options a,b,c for up to 26.
How it works
A lettered multiple-choice prompt is built from the state, question and options. The chat template is applied with thinking disabled, so the assistant turn begins exactly where the answer letter goes. One forward pass runs, and the scorer softmaxes over just the option-letter tokens.
Limitations
label_massis not confidence in correctness. It reports how much probability mass landed on the option letters, meaning you got an answer, not a right one. Bonsai 1 8B answers "does a spider have two legs?" withtrueat 0.998 confidence andlabel_mass0.9997.- Probabilities are conditional on the options you supplied, and are not calibrated for your workload. Validate on your own data before branching on a threshold.
- WANLI-256 is 256 rows. Treat the difference between neighbouring models as indicative, not decisive.
- Text only. The 27B packs include a vision tower that is never used here.
Licence
MIT for the code. Bonsai weights are Apache 2.0 from PrismML and are not redistributed. The downloader fetches them from source.
Model tree for NicolaiMTLassen/bonzi-1.7b-v1-jev
Base model
prism-ml/Bonsai-1.7B-unpackedEvaluation results
- Accuracy on WANLI-256 (seeded label-balanced subset)self-reported0.519
- Accuracy on easy100self-reported0.790