Text Classification
Transformers
Safetensors
gemma4
image-text-to-text
decision-model
decision-index
system-one
Eval Results (legacy)
Instructions to use MachinePulseAI/karpo-decision-31B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MachinePulseAI/karpo-decision-31B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="MachinePulseAI/karpo-decision-31B")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("MachinePulseAI/karpo-decision-31B") model = AutoModelForMultimodalLM.from_pretrained("MachinePulseAI/karpo-decision-31B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model card: Decision Index Full 73.86, rank #1 (tied); leaderboard screenshot
Browse files- .gitattributes +1 -0
- README.md +87 -26
- assets/decision-index-full-2026-11-11.jpg +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
assets/decision-index-full-2026-11-11.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -7,10 +7,24 @@ pipeline_tag: text-classification
|
|
| 7 |
tags:
|
| 8 |
- decision-model
|
| 9 |
- decision-index
|
|
|
|
| 10 |
- gemma4
|
| 11 |
model-index:
|
| 12 |
- name: karpo-decision-31B
|
| 13 |
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
- task:
|
| 15 |
type: text-classification
|
| 16 |
name: typed decision (choice / noul / score)
|
|
@@ -20,11 +34,22 @@ model-index:
|
|
| 20 |
metrics:
|
| 21 |
- type: decision_index
|
| 22 |
value: 75.05
|
| 23 |
-
name: Decision Index 0.3, public index (chance-corrected,
|
|
|
|
|
|
|
|
|
|
| 24 |
---
|
| 25 |
|
| 26 |
# karpo-decision-31B
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
A decision model: given a state (a web page, a document, a conversation: any text or JSON) and typed questions about
|
| 29 |
it, it returns a probability for every option of every question in one forward pass, without generating text.
|
| 30 |
Fine-tuned from [google/gemma-4-31B-it](https://huggingface.co/google/gemma-4-31B-it), with a linear readout over the
|
|
@@ -33,17 +58,64 @@ options.
|
|
| 33 |
- **Parameters:** 31.3B in bf16, plus a 255 × 5,376 readout in fp32
|
| 34 |
- **Questions:** `choice` (up to 255 options), `noul` (true or false), `score` (a level on a scale)
|
| 35 |
- **Context:** 32,768 tokens per sequence; a longer request is split by questions, each part with the full state
|
|
|
|
| 36 |
- **Licence:** Apache-2.0
|
| 37 |
|
| 38 |
-
##
|
| 39 |
|
| 40 |
-
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
## Use
|
| 44 |
|
| 45 |
-
Inference code: [github.com/machinepulse-ai/karpo-decision](https://github.com/machinepulse-ai/karpo-decision).
|
| 46 |
-
the weights take 62.5 GB, long requests more.
|
|
|
|
| 47 |
|
| 48 |
```bash
|
| 49 |
pip install "karpo-decision @ git+https://github.com/machinepulse-ai/karpo-decision"
|
|
@@ -72,39 +144,28 @@ print(response["answers"])
|
|
| 72 |
HTTP server (`POST /v1/systemone`, `GET /healthz`):
|
| 73 |
|
| 74 |
```bash
|
| 75 |
-
|
|
|
|
| 76 |
```
|
| 77 |
|
| 78 |
-
[Decision Index](https://github.com/apolinario/decision-index) kit:
|
| 79 |
|
| 80 |
```bash
|
|
|
|
| 81 |
python -m decision_index run --engine karpo_decision.serve.engine:DecisionIndexEngine \
|
| 82 |
-
--option checkpoint="$
|
| 83 |
```
|
| 84 |
|
| 85 |
-
##
|
| 86 |
-
|
| 87 |
-
Decision Index 0.3 public suite, self-reported: 140,178 scored requests, 11 unsupported (a question over 32,768 tokens
|
| 88 |
-
with its state). Results: [runs/karpo-decision-31B](https://huggingface.co/datasets/MachinePulseAI/karpo-decision-31B-decision-index/tree/main/runs/karpo-decision-31B).
|
| 89 |
-
|
| 90 |
-
| | score |
|
| 91 |
-
|---|---|
|
| 92 |
-
| **Public index** (chance-corrected) | **75.05** |
|
| 93 |
-
| Raw index | 80.90 |
|
| 94 |
-
| Breadth | 74.69 |
|
| 95 |
-
| Knowledge & Reasoning | 65.46 |
|
| 96 |
-
| Language Understanding | 76.78 |
|
| 97 |
-
| Retrieval & Classification | 76.42 |
|
| 98 |
-
| Tools & Automation | 88.39 |
|
| 99 |
-
| Arts & Human Taste | 68.21 |
|
| 100 |
|
| 101 |
-
|
|
|
|
| 102 |
|
| 103 |
## Limitations
|
| 104 |
|
| 105 |
- Text only: the vision weights are in the checkpoint but unused.
|
| 106 |
- Not a chat or text-generation model; generation was not evaluated.
|
| 107 |
-
-
|
| 108 |
- A question that does not fit in 32,768 tokens with its state is refused, never truncated.
|
| 109 |
- It always picks one of the given options.
|
| 110 |
|
|
|
|
| 7 |
tags:
|
| 8 |
- decision-model
|
| 9 |
- decision-index
|
| 10 |
+
- system-one
|
| 11 |
- gemma4
|
| 12 |
model-index:
|
| 13 |
- name: karpo-decision-31B
|
| 14 |
results:
|
| 15 |
+
- task:
|
| 16 |
+
type: text-classification
|
| 17 |
+
name: typed decision (choice / noul / score)
|
| 18 |
+
dataset:
|
| 19 |
+
type: mixed
|
| 20 |
+
name: Decision Index 0.4.1, private tests (60% same skills, 40% new domains)
|
| 21 |
+
metrics:
|
| 22 |
+
- type: decision_index_full
|
| 23 |
+
value: 73.86
|
| 24 |
+
name: "Decision Index 0.4.1, Full score (leaderboard, 11 November 2026; rank #1, tied)"
|
| 25 |
+
source:
|
| 26 |
+
name: Decision Index leaderboard
|
| 27 |
+
url: https://huggingface.co/spaces/multimodalart/jev-decision-index
|
| 28 |
- task:
|
| 29 |
type: text-classification
|
| 30 |
name: typed decision (choice / noul / score)
|
|
|
|
| 34 |
metrics:
|
| 35 |
- type: decision_index
|
| 36 |
value: 75.05
|
| 37 |
+
name: "Decision Index 0.3, public index (chance-corrected; own run of the official kit, same value on the leaderboard)"
|
| 38 |
+
source:
|
| 39 |
+
name: Own run of the official kit
|
| 40 |
+
url: https://huggingface.co/datasets/MachinePulseAI/karpo-decision-31B-decision-index/tree/main/runs/karpo-decision-31B
|
| 41 |
---
|
| 42 |
|
| 43 |
# karpo-decision-31B
|
| 44 |
|
| 45 |
+
**Ranked #1 (tied) on the [Decision Index](https://huggingface.co/spaces/multimodalart/jev-decision-index)**, with a
|
| 46 |
+
Full score of **73.86** on the maintainers' private tests (edition 0.4.1, board of 11 November 2026, 297 entries).
|
| 47 |
+
|
| 48 |
+
<img src="assets/decision-index-full-2026-11-11.jpg" alt="Decision Index 0.4.1 leaderboard, Full score, 11 November 2026: karpo-decision-31B ranked #1 (tied) with 73.9" width="100%">
|
| 49 |
+
|
| 50 |
+
*Decision Index leaderboard, Full score, 11 November 2026, with the board's "inference technique" entries hidden; one of
|
| 51 |
+
them, REAX 1.3, is also in the #1 group.*
|
| 52 |
+
|
| 53 |
A decision model: given a state (a web page, a document, a conversation: any text or JSON) and typed questions about
|
| 54 |
it, it returns a probability for every option of every question in one forward pass, without generating text.
|
| 55 |
Fine-tuned from [google/gemma-4-31B-it](https://huggingface.co/google/gemma-4-31B-it), with a linear readout over the
|
|
|
|
| 58 |
- **Parameters:** 31.3B in bf16, plus a 255 × 5,376 readout in fp32
|
| 59 |
- **Questions:** `choice` (up to 255 options), `noul` (true or false), `score` (a level on a scale)
|
| 60 |
- **Context:** 32,768 tokens per sequence; a longer request is split by questions, each part with the full state
|
| 61 |
+
- **Interfaces:** a Python API and an HTTP server in the System One format (`POST /v1/systemone`)
|
| 62 |
- **Licence:** Apache-2.0
|
| 63 |
|
| 64 |
+
## Results
|
| 65 |
|
| 66 |
+
### Decision Index leaderboard
|
| 67 |
+
|
| 68 |
+
The [board](https://huggingface.co/spaces/multimodalart/jev-decision-index) ranks by the Full score, which its
|
| 69 |
+
maintainers measure on private tests only: 60% tests of the same skills as the public suite and 40% tasks from new
|
| 70 |
+
domains.
|
| 71 |
+
|
| 72 |
+
| Decision Index 0.4.1, board of 11 November 2026 | karpo-decision-31B |
|
| 73 |
+
|---|---|
|
| 74 |
+
| **Full score** | **73.86**, rank **#1 (tied)** |
|
| 75 |
+
| Private tests, same skills (on the public scale) | 70.71 |
|
| 76 |
+
| Private tasks, new domains (on the public scale) | 78.60 |
|
| 77 |
+
| Public index (our run, adopted by the board) | 75.05 |
|
| 78 |
+
| Median latency (one GPU, one request at a time) | 94 ms per request |
|
| 79 |
+
| Calibration error | 4.8 points |
|
| 80 |
+
|
| 81 |
+
The board gives one rank to models within 0.9 points of the first model in a group. Three entries share #1: GLiDE 27B,
|
| 82 |
+
karpo-decision-31B and REAX 1.3 (an inference technique, hidden in the chart above).
|
| 83 |
+
|
| 84 |
+
### Decision Index public suite
|
| 85 |
+
|
| 86 |
+
Our run of the official kit: 140,178 scored requests, 11 unsupported (a question over 32,768 tokens with its state).
|
| 87 |
+
Results: [runs/karpo-decision-31B](https://huggingface.co/datasets/MachinePulseAI/karpo-decision-31B-decision-index/tree/main/runs/karpo-decision-31B).
|
| 88 |
+
|
| 89 |
+
| | score |
|
| 90 |
+
|---|---|
|
| 91 |
+
| **Public index** (chance-corrected) | **75.05** |
|
| 92 |
+
| Raw index | 80.90 |
|
| 93 |
+
| Breadth | 74.69 |
|
| 94 |
+
| Knowledge & Reasoning | 65.46 |
|
| 95 |
+
| Language Understanding | 76.78 |
|
| 96 |
+
| Retrieval & Classification | 76.42 |
|
| 97 |
+
| Tools & Automation | 88.39 |
|
| 98 |
+
| Arts & Human Taste | 68.21 |
|
| 99 |
+
|
| 100 |
+
## How it works
|
| 101 |
+
|
| 102 |
+
- **A readout, not generation.** Every option is labelled with an option code. At the `Answer: (` slot that ends a
|
| 103 |
+
question's branch, a linear readout scores 255 option codes and a softmax over the question's own options gives the
|
| 104 |
+
probabilities. Nothing is decoded, so the answer is always one of the options.
|
| 105 |
+
- **Many questions, one forward pass.** A request is one state and any number of questions, encoded as one sequence:
|
| 106 |
+
the list of questions, the state, then one branch per question with its options.
|
| 107 |
+
- **Branch attention.** A branch reads the shared block (questions and state) and itself, never another branch. The
|
| 108 |
+
state is computed once per sequence, and no question sees another question's options.
|
| 109 |
+
|
| 110 |
+
The question-list-first layout follows [FlexDM](https://github.com/1000luca/FlexDM) and
|
| 111 |
+
[jev-brain](https://github.com/wcole3/jev-brain); the shared-block and branch rule follows
|
| 112 |
+
[Sieve-31B-v3](https://huggingface.co/sthanika-ai/Sieve-31B-v3).
|
| 113 |
|
| 114 |
## Use
|
| 115 |
|
| 116 |
+
Inference code: [github.com/machinepulse-ai/karpo-decision](https://github.com/machinepulse-ai/karpo-decision). Python
|
| 117 |
+
3.12 or later and one GPU; the weights take 62.5 GB, long requests more. Loading the checkpoint as a plain chat model
|
| 118 |
+
does not reproduce its answers.
|
| 119 |
|
| 120 |
```bash
|
| 121 |
pip install "karpo-decision @ git+https://github.com/machinepulse-ai/karpo-decision"
|
|
|
|
| 144 |
HTTP server (`POST /v1/systemone`, `GET /healthz`):
|
| 145 |
|
| 146 |
```bash
|
| 147 |
+
CKPT=$(python -c 'from huggingface_hub import snapshot_download; print(snapshot_download("MachinePulseAI/karpo-decision-31B"))')
|
| 148 |
+
torchrun --standalone --nproc_per_node 1 -m karpo_decision.serve.server --checkpoint "$CKPT" --port 18440
|
| 149 |
```
|
| 150 |
|
| 151 |
+
[Decision Index](https://github.com/apolinario/decision-index) kit, installed separately:
|
| 152 |
|
| 153 |
```bash
|
| 154 |
+
pip install "decision-index @ git+https://github.com/apolinario/decision-index"
|
| 155 |
python -m decision_index run --engine karpo_decision.serve.engine:DecisionIndexEngine \
|
| 156 |
+
--option checkpoint="$CKPT" --out runs/karpo-decision-31B
|
| 157 |
```
|
| 158 |
|
| 159 |
+
## Lineage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 160 |
|
| 161 |
+
[google/gemma-4-31B](https://huggingface.co/google/gemma-4-31B) → [google/gemma-4-31B-it](https://huggingface.co/google/gemma-4-31B-it)
|
| 162 |
+
→ **karpo-decision-31B** (fine-tuned)
|
| 163 |
|
| 164 |
## Limitations
|
| 165 |
|
| 166 |
- Text only: the vision weights are in the checkpoint but unused.
|
| 167 |
- Not a chat or text-generation model; generation was not evaluated.
|
| 168 |
+
- No temperature scaling is applied (temperature 1.0 for every question type).
|
| 169 |
- A question that does not fit in 32,768 tokens with its state is refused, never truncated.
|
| 170 |
- It always picks one of the given options.
|
| 171 |
|
assets/decision-index-full-2026-11-11.jpg
ADDED
|
Git LFS Details
|