Instructions to use decido-ai/decido-web-v2-fast with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use decido-ai/decido-web-v2-fast with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="decido-ai/decido-web-v2-fast") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("decido-ai/decido-web-v2-fast") model = AutoModelForCausalLM.from_pretrained("decido-ai/decido-web-v2-fast", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use decido-ai/decido-web-v2-fast with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "decido-ai/decido-web-v2-fast" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "decido-ai/decido-web-v2-fast", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/decido-ai/decido-web-v2-fast
- SGLang
How to use decido-ai/decido-web-v2-fast with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "decido-ai/decido-web-v2-fast" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "decido-ai/decido-web-v2-fast", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "decido-ai/decido-web-v2-fast" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "decido-ai/decido-web-v2-fast", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use decido-ai/decido-web-v2-fast with Docker Model Runner:
docker model run hf.co/decido-ai/decido-web-v2-fast
Decido-Web v2-Fast (Qwen3-4B)
A fast decision model for browser agents: 0.2 s per step. At every step of a web task, a browser agent has to decide
which operation to take (click, type, select, scroll, wait, done, blocked) and on which element. Decido-Web v2-Fast answers
those questions with a calibrated probability for every option, in the Jev / TypeSafe "System One" request format
(POST /v1/systemone) used by the open-source Jev Ultrafast agent.
It is Qwen3-4B, fully fine-tuned to imitate Decido-Web v2 (26B-A4B): 2.5ร faster, somewhat less accurate. For the best accuracy at moderate cost, run it as Fast+: v2-Fast answers every step and hands the step to Decido-Web v2 only when it is unsure (see below).
Runs on an NVIDIA GPU (bf16 weights, 8.8 GB; any GPU with โฅ 16 GB). There is no laptop/CPU (GGUF) build yet.
Results at a glance
| test | v2-Fast (model alone) | Fast+ (v2-Fast โ v2 when unsure) | Decido-Web v2 | v2 + Claude Opus 5.5 (decido agentยน) |
Claude Opus 5.5 alone | Jev 1.14 |
|---|---|---|---|---|---|---|
| Public websites, 100 short tasks ร 2 runs | 67.5% | 78.0% | 81.0% (re-run 79.5%) | 89.0% | 89.0% | 70.0% |
| Self-hosted WebArena sites, 300 fresh tasks ร 2 runs | 8.7% | not run | 11.0% | 61.2% | 37.0% | not run |
| Mind2Web, 1,500 human steps | 75.2% | 79.4% | 78.2% | โ | โ | 59.9% |
| Time per decision (1ร A100, p50) | 209 ms | 458 ms | 525 ms | ~2.7 s | ~2.0 s | ~80 ms (API) |
ยน "v2 + Claude" is not this model. It is an agent built on Decido-Web v2 that hands hard steps to Claude Opus 5.5; it
needs a Claude API key and ships in the decido-ai package (โฅ 1.3.0) as decido agent (see the
Decido-Web v2 card). Shown for completeness.
v2-Fast vs Jev 1.14 on public websites: โ2.5 points (not significant); on Mind2Web: +15.3. v2-Fast vs v2 on Mind2Web: โ3.0 (95% CI โ5.1 to โ0.9).
Use it
pip install "decido-ai[gpu]>=1.2.0" # NVIDIA GPU, Python โฅ 3.10 (or "decido-ai[vllm]>=1.2.0" for vLLM serving)
decido serve decido-ai/decido-web-v2-fast --device cuda --port 8146 # Jev-compatible: POST /v1/systemone
import json
from decido import Decido
m = Decido("decido-ai/decido-web-v2-fast", device="cuda")
out = m.predict(json.load(open("example_request.json"))) # example_request.json is in this repo
print(out["answers"]["operation"]["choice"], out["answers"]["click_target"]["choice"])
Engines. --engine vllm is the fast path (the latencies on this card). The default transformers engine (pip install "decido-ai[gpu]") gives nearly the same answers but is slower: on a mixed set of 150 agent requests (many with long pages), about 0.3 s per step with vLLM and 0.85 s with the default engine (1ร A100). Both were checked from a fresh pip install (same choice as the evaluated model on โฅ 98.8% of questions).
Fast+ (cascade): serve both models, then start the small router fast_plus.py from this repo (needs only httpx):
decido serve decido-ai/decido-web-v2 --device cuda --engine vllm --port 8132 # big model (separate GPU)
python fast_plus.py --port 8180 --fast http://127.0.0.1:8146 --big http://127.0.0.1:8132 --tau 0.6
Point the agent at :8180. v2-Fast answers every step; if max(operation probability) ร max(probability of the chosen
operation's target) is below 0.6, the same request goes to Decido-Web v2 and v2's answer is used (about 37โ40% of
steps). The threshold was chosen on Mind2Web dev. (--ens and --anti-loop are experimental variants that did not help.)
Request format and long pages: identical to Decido-Web v2
(32,768-token window; longer pages are cut at the end instead of failing; needs decido-ai โฅ 1.2.0).
All results
Public websites (Wikipedia, Wiktionary, GitHub, Hacker News, developer docs, Project Gutenberg, Open Library, Lichess; mostly short navigation and search tasks; same harness and final-page checker for every system):
| system | finished (of 200 runs) | rate | decision p50 |
|---|---|---|---|
Decido-Web v2 + Claude Opus 5.5 (decido agentยน) |
178 | 89.0% | 2,682 ms |
| Claude Opus 5.5 alone | 178 | 89.0% | 2,025 ms |
| Decido-Web v2 | 162 | 81.0% | 329 ms |
| Fast+ (v2-Fast โ v2) | 156 | 78.0% | 303 ms |
| Decido-1 web v1 system | 145 | 72.5% | 762 ms |
| Jev 1.14 | 140 | 70.0% | 82 ms |
| Decido-Web v2-Fast | 135 | 67.5% | 175 ms |
Self-hosted WebArena sites (pre-registered, 300 fresh tasks ร 2: shop, shop admin, forum, GitLab, Wikipedia; long tasks): v2 + Claude 61.2% ยท Claude alone 37.0% ยท Decido-Web v2 11.0% ยท v2-Fast 8.7% ยท Decido-1 web v1 system 7.3% (v2-Fast vs v2 โ2.3, CI โ5.2 to +0.5, not significant).
Mind2Web (1,500 recorded human steps; operation + element must both match): Fast+ 79.4 ยท Decido-1 web v1 78.6 ยท Decido-Web v2 78.2 ยท v2-Fast 75.2 (element 77.7, operation 93.3) ยท Jev 1.14 59.9.
Speed (1ร A100 80 GB, vLLM, one request at a time, 200 real agent requests): p50 209 ms, p95 339 ms.
Training
- Qwen3-4B, full fine-tune, one epoch (checkpoint 1200 of 1586 chosen by live pass rate on 60 development tasks, then Mind2Web dev).
- 90,666 examples: decision states from the Decido-Web v2 training mix with targets = 0.5 ร gold answer + 0.5 ร Decido-Web v2's probabilities; 41,039 extra agent states labelled by Decido-Web v2 alone; 13,305 general Decido-1 decision examples.
- No outputs of Jev, Claude or any OpenAI model; no test tasks (automatic leak check against all test material).
- The Decido-Web v2 mix includes NNetNav-live (stanfordnlp, Apache-2.0), web trajectories generated with Llama 3.1 70B:
Built with Llama (Llama 3.1 Community License). Data sources and their licences:
NOTICE.
Limits
- Less accurate than Decido-Web v2 (โ13.5 points on public websites, โ3.0 on Mind2Web); use Fast+ when accuracy matters.
- Long multi-page tasks are mostly not finished by the model alone (8.7% on the WebArena test); main failure modes are stopping too early, loops and running out of steps.
- English only tested; pages beyond 32k tokens are cut; GPU only for now.
Files
model.safetensors (bf16) ยท config.json, tokenizer files ยท bundle/ (prompt template + tokenizer) ยท decido.json ยท
fast-plus.json ยท fast_plus.py ยท example_request.json ยท LICENSE ยท NOTICE ยท SHA256SUMS.
- Downloads last month
- 24