Sponsored by
Crazyrouter
-The enterprise-grade, cost-effective AI API gateway that provides one API key to access 300+ AI models through OpenAI-compatible endpoints, with
decider-2b-vision: typed decisions from an image in one forward pass
The vision variant of
decider-2b
: 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; the language weights start from decider-2b v4, so the text
skills are retained.
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) on: game frames from Pong, Breakout, CliffWalking,
MiniGrid and Super Mario Bros labelled by scripted policies (rare actions oversampled, plus
DAgger frames from the model's own play); multiple-choice image tasks from The Cauldron
(A-OKVQA, AI2D, ScienceQA, IconQA, TQA, Raven, Hateful Memes); and a replay of the text mixture.
Code:
https://github.com/Mapika/decider
Results (300 items per task unless noted)
task
accuracy
ECE
A-OKVQA
0.85
0.04
AI2D
0.93
0.02
ScienceQA
0.95
0.03
IconQA
0.94
0.02
TQA
0.82
0.06
Raven
0.80
0.07
Hateful Memes
0.80
0.04
Visual7W (held out)
0.87
0.04
VSR (held out)
0.75
0.05
After the supervised stage, the policy was improved with PPO from pixels on Breakout and Pong
(
decider/games_rl.py --vision
, 12 iterations; the softmax over the action options is the policy).
Playing from pixels only, greedy, one episode per game:
game
supervised
after pixel RL
scripted teacher (text state)
Breakout (train)
1
16
22
Pong (train)
3
8
8
CliffWalking (train)
-13 (optimal)
-13
-13
MiniGrid Empty (train)
0.96
0.96
0.96
Freeway (never trained on)
6
8
5
See the GitHub README for the full ten-game table and the failure analysis (grid worlds with
weak teachers, Mario from pixels). Not intended as a chat model.
Runs of Mapika decider-2b-vision on huggingface.co
4.6K
Total runs
0
24-hour runs
-64
3-day runs
76
7-day runs
4.4K
30-day runs
More Information About decider-2b-vision huggingface.co Model
decider-2b-vision huggingface.co is an AI model on huggingface.co that provides decider-2b-vision's model effect (), which can be used instantly with this Mapika decider-2b-vision model. huggingface.co supports a free trial of the decider-2b-vision model, and also provides paid use of the decider-2b-vision. Support call decider-2b-vision model through api, including Node.js, Python, http.
decider-2b-vision huggingface.co is an online trial and call api platform, which integrates decider-2b-vision's modeling effects, including api services, and provides a free online trial of decider-2b-vision, you can try decider-2b-vision online for free by clicking the link below.
Mapika decider-2b-vision online free url in huggingface.co:
decider-2b-vision is an open source model from GitHub that offers a free installation service, and any user can find decider-2b-vision on GitHub to install. At the same time, huggingface.co provides the effect of decider-2b-vision install, users can directly use decider-2b-vision installed effect in huggingface.co for debugging and trial. It also supports api for free installation.