Mapika/decider-2b-vision
decider-2b-vision: typed decisions from an image in one forward pass
The vision variant of decider-2b (v5 language weights transplanted into the full Qwen3.5-2B vision-language model), fine-tuned so that an image (a photo, a diagram, a game frame) plus a text question with lettered options yields a calibrated probability over the options at a single answer slot. No generation. A 256x240 game frame costs 64 visual tokens. Text-only questions work too, with decider-2b v5's behaviour, including its abstention handling.
Contents: The decider family · Usage · Training · Results · Limitations · Changelog
The decider family
All five repositories share one interface (decider.infer.Decider, POST /v1/systemone in TypeSafe's format) and one readout: the letter logits at an answer slot, softmaxed over the options. Pick by size and input.
Code, data registry, training scripts, the changelog and the per-version history: https://github.com/Mapika/decider.
Usage
import torch
from decider.vision import VisionDecisionModel
from decider.infer import Example, Q
m = VisionDecisionModel("<this repo>", grad_ckpt=False).cuda().eval()
ex = Example("This is a visual question about the image.",
[Q("What is the person holding?", ["a phone", "a cup", "a book", "nothing"], 0)])
inp = m.prepare([(image, ex)]) # image: PIL image, numpy array, or PNG bytes; None for text-only
probs = torch.softmax(m.slot_logits(inp), -1)[0, :4]Training
One epoch (80k examples, 50k with images): game frames from Pong, Breakout, CliffWalking, MiniGrid and Super Mario Bros labelled by scripted policies (rare actions oversampled, plus DAgger frames from an earlier model's own play); multiple-choice image tasks from The Cauldron (A-OKVQA, AI2D, ScienceQA, IconQA, TQA, Raven, Hateful Memes); a replay of the text mixture. Then PPO from pixels on Breakout and Pong (the softmax over action options is the policy). Code: https://github.com/Mapika/decider (decider/vision/).
Results
300 items per task.
Playing from pixels only (no text state), three episodes each: Breakout 41 (the RAM-state teacher scores 22), Pong 3 (teacher 8), CliffWalking -13 (optimal), MiniGrid Empty 0.96 (teacher level); held-out Freeway 0, FrozenLake 0, the harder grid worlds 0 (their scripted teachers also score 0), Mario 1-1 315 px. The previous vision release (v4-based) scored Breakout 16, Pong 8, Freeway 8, BabyAI-GoTo 0.30; this one trades Pong and Freeway for Breakout and for the corrected abstention behaviour.
Limitations
Not a chat model and not a captioner: it answers lettered options at one slot. The text weights inside are decider-2b v5, so the text-only behaviour is that of v5 (its abstention handling, none of the v6 to v10 input shapes, calibration or browser results); a retrain on the current text weights has not been released. Game play from pixels is measured on the Atari, MiniGrid and Mario frames it was trained on plus a few held-out games, three episodes each. English only; calibration is measured on the listed datasets, not on your images.
Changelog
Every decider release is listed in docs/CHANGELOG.md of the GitHub repository.
