Highlights
- Typed questions:
choice (pick one of 2 to 255 options), score (rate on 2 to 10
ordered levels) and noul (yes or no).
- Probabilities: a probability for every option, plus a confidence.
- Many questions per request: all questions about one state are answered in the same pass.
- Images: photos, screenshots and page images in the state, the instructions or the options.
- Multilingual: English, Spanish, French, German, Portuguese, Japanese, Korean and Chinese.
- Long requests: trained on requests up to 131,072 tokens.
- Serving: vLLM on a GPU, MLX on an Apple silicon Mac, or Transformers on a CPU or
any GPU PyTorch supports, all with the package in this repository's
serving/ folder.
Model overview
Table | |
|---|
| Model type | Decision model |
| Base model | Qwen/Qwen3.5-0.8B |
| Parameters | 0.8B |
| Inputs | Text and images |
| Languages | en, es, fr, de, pt, ja, ko, zh |
| Context length | 131,072 tokens per request (trained) |
| Question types | choice, score, noul |
| Precision | bfloat16 |
Evaluation
Against the 11/03 checkpoint

Against other 0.8B decision models

Usage
The serving/ folder is a Python package with one command, hindsight-decision serve, that
starts a server with a POST /v1/systemone endpoint. It runs the model on vLLM when a CUDA GPU
and vLLM are present, on MLX on an Apple silicon Mac, and on Transformers otherwise; --engine
picks one.
vLLM
hf download hindsight-ai/hs-decide-1-flash --local-dir hs-decide-1-flashpip install vllm==0.34.0 ./hs-decide-1-flash/servinghindsight-decision serve hs-decide-1-flash --port 8000
Flags after the model folder go to vllm serve, for example --api-key or
--gpu-memory-utilization. Add --quantization fp8 for about 20% more requests a second.
--print-command prints the vllm serve command without running it.
Install PyTorch for your hardware first, then the
package. It needs Python 3.12 or later.
hf download hindsight-ai/hs-decide-1-flash --include "serving/*" --local-dir hs-decide-1-flashpip install './hs-decide-1-flash/serving[server]'
from hindsight_decision import DecisionModel model = DecisionModel.from_pretrained("hindsight-ai/hs-decide-1-flash")response = model.answer({ "state": "Ticket: I was charged twice for my March invoice.", "questions": {"billing": {"type": "noul", "instructions": "Is this a billing problem?"}},})print(round(response["answers"]["billing"]["noul"], 3))
The model runs on the GPU PyTorch finds, else the CPU; pass device and dtype to choose. To
serve it:
hindsight-decision serve hindsight-ai/hs-decide-1-flash --engine transformers --port 8000 --api-key <key>
MLX (Apple silicon Mac)
It needs macOS 14 or later and a native arm64 Python 3.12 or later.
hf download hindsight-ai/hs-decide-1-flash --local-dir hs-decide-1-flashpip install './hs-decide-1-flash/serving[mlx]'hindsight-decision serve hs-decide-1-flash --engine mlx --port 8000 --api-key <key>
Add --bits 8 to run the linear layers at 8 bits.
The Transformers and MLX servers answer one request at a time. If Hindsight's requests time out,
lower --max-request-tokens: the server then refuses longer requests with max_tokens_exceeded,
and Hindsight splits them.
Request
curl 127.0.0.1:8000/v1/systemone \ -H 'Authorization: Bearer <key>' \ -H 'Content-Type: application/json' \ -d '{ "model": "hs-decide-1-flash", "state": { "query": "When is the team offsite?", "documents": { "D00": "The offsite moved from April 10 to April 17.", "D01": "The team offsite is on April 10 in Denver." } }, "questions": { "latest": { "type": "choice", "instructions": "Which document gives the current offsite date?", "criteria": {"D00": null, "D01": null} }, "moved": { "type": "noul", "instructions": "Did the offsite date change?" }, "D00": { "type": "score", "instructions": "How well does document `documents.D00` answer `query`?", "criteria": ["about something else", "same topic, no help", "helps", "answers"] } } }'
Response
{ "model": "hs-decide-1-flash", "answers": { "latest": { "type": "choice", "choice": "D00", "confidence": 0.19, "probabilities": {"D00": 0.59, "D01": 0.41} }, "moved": {"type": "noul", "noul": 0.84}, "D00": { "type": "score", "score": 2.73, "confidence": 0.73, "legend": {"0": "about something else", "1": "same topic, no help", "2": "helps", "3": "answers"}, "probabilities": {"0": 0.02, "1": 0.03, "2": 0.15, "3": 0.80} } }, "usage": {"input_tokens": 201, "output_tokens": 0}}
A request longer than 131,072 tokens returns 400 with error_type: max_tokens_exceeded.
Images
Send each image in assets under a name, and put the name where the image belongs in the state,
an instruction or an option:
{ "state": {"photo": "img-1", "note": "The customer says the screen arrived cracked."}, "questions": {"damaged": {"type": "noul", "instructions": "Does img-1 show a damaged screen?"}}, "assets": {"img-1": {"type": "image", "format": "png", "data_base64": "<base64 PNG>"}}}
A request holds up to 32 images; set HINDSIGHT_DECISION_MAX_IMAGES on the server to change it.
Hindsight
Start the server with --api-key, then point Hindsight 1.3.0 or later at it. The last two
lines send requests up to the full 131,072-token window and let reflect look at knowledge-bank
pictures:
HINDSIGHT_API_DECISION_MODEL_PROVIDER=hindsightHINDSIGHT_API_DECISION_MODEL_BASE_URL=http://localhost:8000HINDSIGHT_API_DECISION_MODEL_API_KEY=<the server's --api-key>HINDSIGHT_API_DECISION_MODEL_MAX_REQUEST_TOKENS=120000HINDSIGHT_API_DECISION_MODEL_VISION=true
Hindsight Inference
hs-decide-1-flash is also served at https://inference.hindsight.vectorize.io. To use it from
Hindsight 1.3.0 or later:
HINDSIGHT_API_DECISION_MODEL_PROVIDER=hindsightHINDSIGHT_API_DECISION_MODEL_API_KEY=<your Hindsight Inference API key>
Checkpoints
Table with columns: Revision, Released, Changes| Revision | Released | Changes |
|---|
main (1127) | 2026-11-27 | Image input; requests up to 131,072 tokens |
1103 | 2026-11-03 | First release; text only, requests up to 65,536 tokens |
License
Apache 2.0.
Citation
@misc{hindsightai2026hsdecide1flash, title = {hs-decide-1-flash}, author = {{Hindsight AI}}, year = {2026}, url = {https://huggingface.co/hindsight-ai/hs-decide-1-flash}}