bison-1-GGUF / README.md
Interchained's picture
Create README.md
60da0a3 verified
|
Raw History Blame Contribute Delete
8.5 kB
---
base_model: baselabs/bison-1
license: mit
language:
- en
tags:
- gguf
- decision-model
- llama.cpp
- hearth
- interchained
---
# bison-1 — GGUF
**bison-1** is a 31B parameter *decision model* by Base Labs at Baseten, post-trained from Google's Gemma-4-31B IT. It does not chat. You give it a state (text, optionally with images) and a set of questions, and it returns a calibrated probability for every option, answering all questions from one shared-prefix prefill, without generating text.
On the Artificial Analysis Decision Index v2.1 it ranks **#1 of 19 decision models** (score 76) and is the **best-calibrated model on the index** (Brier score 0.14).
This repository is Interchained LLC's GGUF conversion of the official weights, produced with Hearth on our aiassistsecure/llama.cpp fork. Read the story section before you download: this model comes with an honest caveat about what "running it locally" means today, and we would rather tell it straight than let you find out the way we did.
## Files
| File | Size | Notes |
| --- | --- | --- |
| bison-1-auto.gguf | 60 GB | Full-precision conversion master (834 tensors) |
| bison-1-q8_0.gguf | 32 GB | |
| bison-1-q6_k.gguf | 25 GB | |
| bison-1-q5_k_m.gguf | 22 GB | |
| bison-1-q4_k_m.gguf | 19 GB | The quant used for the verification below |
| bison-1-q4_0.gguf | 18 GB | |
| bison-1-q3_k_m.gguf | 15 GB | |
| bison-1-q2_k.gguf | 12 GB | |
| bison-1-tq1_0.gguf | 7.6 GB | |
| mmproj-bison-1-f16.gguf | 1.2 GB | Vision projector, for image states |
## The story: how we got it "functioning," partly
### The conversion
The base conversion and the full quant ladder converted cleanly through Hearth. The vision projector did not. bison-1 ships an untied `lm_head.weight` at the top level of the checkpoint, and the converter's projector filter only dropped tensors with `language_model.` in the name, so the language head leaked into the vision export and crashed the name mapper. We patched the Gemma vision exporter to skip `lm_head.*` and the mmproj built clean at 1.2 GB. Converter bug, not a weights problem.
### The haiku
Our standard smoke test is a haiku with a syllable count and a two-sentence explanation. It verifies a chat model end to end. bison-1 answered with a stream of fragments: `B1L de de de la de la la de...`
That was the wrong instrument, and it taught us the first lesson: **this is not a text model.** If you prompt it like a chatbot, the text head idles and loops. Nothing about that output tells you whether the conversion is good or bad.
### The protocol
bison-1 speaks Baseten's System One protocol. One request carries a `state` and any number of named `questions`. Each question has a type:
- `noul`: yes or no. The answer is `noul`, the probability of yes.
- `choice`: one of named options, each with a description. The answer is the winning `choice` plus a `probabilities` map.
- `score`: an ordered list of levels. The answer is a `score` that can land between levels, plus per-level probabilities.
The model's own `readout.json` says how the answers leave the network: `"readout": "slot_lm"`, 256 slots, head_dim 256. The answers live in a slot readout, not in generated text.
### Catching the readout in the logits
llama-cli only prints decoded text, and this model does not return text. The probabilities exist only in the forward-pass logits, which a CLI run discards after picking each token. So we ran llama-server and pulled `top_logprobs` for the model card's own example: a double-charge refund request with three questions (refund / team / urgency).
What the distributions showed:
- **The first generated position is structured.** The token `1` held about 45% of the probability mass and `S` held about 37%. Two candidates holding 82% between them is a decision forming, not a damaged model wandering.
- **There is a readout alphabet.** The top candidates sit in a tight, dedicated token block, IDs 236744 to 236863: single characters, digits, capital letters, a few symbols. That is not the normal text vocabulary competing. That is the slot surface appearing in the logits, where `readout.json` said it would be.
- **It decays after about two positions.** Past the readout window the mass slides into ordinary text tokens, the `de la` loop from the haiku run. A chat client free-runs past the window. The real runtime stops and reads the slots.
Verdict: the conversion is faithful and the readout fires in the GGUF. We verified that the only way the protocol allows: in the probabilities, not in the text.
### Where it stops
Here is the part most conversion pages would leave out. The weights are genuinely open: Baseten's modifications are MIT licensed, and the Gemma base is Apache 2.0. But the upstream repo ships no decoder, no codebook, and no serving code for bison-1. Mapping slot outputs onto named answers (this probability is "refund: yes", that one is "team: billing") is done by Baseten's serving layer. Their sibling model elephant-1 ships a setup script that installs a pinned decision runtime; bison-1 shipped without one. The config also carries `baseten_modeling_overrides`, including block-bidirectional attention on the full-attention layers, which stock runtimes do not implement.
So: open weights, hosted product. As of this writing, the fully supported way to get named answers out of bison-1 is Baseten's API. What this GGUF gives you today is the real model, running locally, with its readout observable in the logits, ready for the day a slot_lm decoder lands in open runtimes, and useful right now to anyone building one.
## How to run it
Load it with llama-server (from our aiassistsecure/llama.cpp fork build):
```
llama-server -m bison-1-q4_k_m.gguf --jinja --port 8080
```
Then examine answer positions with logprobs, using the upstream card's example:
```
curl -s http://127.0.0.1:8080/v1/chat/completions -H "Content-Type: application/json" -d '{"messages":[{"role":"user","content":"{\"state\": \"I was charged twice this month, please refund one of them.\", \"questions\": {\"refund\": {\"type\": \"noul\", \"instructions\": \"Is the customer asking for a refund?\"}, \"team\": {\"type\": \"choice\", \"instructions\": \"Which team should handle this?\", \"criteria\": {\"billing\": \"Charges, refunds, invoices\", \"technical\": \"App or site faults\", \"fraud\": \"Suspected unauthorised use\"}}, \"urgency\": {\"type\": \"score\", \"instructions\": \"How urgent is this?\", \"criteria\": [\"Can wait\", \"Today\", \"Blocking the customer now\"]}}}"}],"max_tokens":8,"temperature":0,"logprobs":true,"top_logprobs":20}'
```
Do not judge this model by llama-cli text output. The text is not the answer surface, on any quant, including the full-precision master.
## Good to know
- Max sequence length 131,072 tokens. Over-length requests are refused upstream, not truncated.
- Vision states use the included mmproj (built with a patched converter, see the story). The projector has not been image-tested yet, and the same decoder caveat applies to image decisions.
- Prompts should go through the model's chat template (the `--jinja` flag above). Raw completion is not the protocol.
- Quantization note: the readout behavior above was observed on Q4_K_M. Probability calibration is the product of this model; if calibration fidelity matters to your work, prefer the higher quants or the master.
## Licenses and attribution
- Original model: **bison-1** by Base Labs at Baseten. Baseten's modifications are released under the MIT License.
- Base model: **Gemma 4 31B IT** by Google LLC, licensed under the Apache License 2.0. Use of this model is subject to both licenses. Gemma is a trademark of Google LLC. This model is not affiliated with or endorsed by Google or Baseten.
- GGUF conversion: Interchained LLC, via Hearth and the aiassistsecure/llama.cpp fork. Runtime: llama.cpp (ggml-org).
## More from Interchained
Interchained LLC builds and ships working AI infrastructure: NEDB, a database engine that preserves record history; AiAssistSecure (PIN), AI inference running on independent machines; Sentinel Intelligence and Gaia, governed agent systems with a verifiable journal; and a shelf of published model conversions.
- Portfolio and investor brief: [interchained.tech](https://interchained.tech)
- Platform: [aiassistsecure.com](https://aiassistsecure.com)
- Models: [huggingface.co/Interchained](https://huggingface.co/Interchained)
- Code: [github.com/aiassistsecure](https://github.com/aiassistsecure)