Run this model with HF Jobs

Run Valen-Team/Valen-Decision-1.5-2B-GGUF on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/Valen-Team/Valen-Decision-1.5-2B-GGUF. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Valen-Team/Valen-Decision-1.5-2B-GGUF on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/Valen-Team/Valen-Decision-1.5-2B-GGUF. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Valen logo

Valen-Decision-1.5-2B-GGUF

Valen-Decision-1.5-2B-GGUF helps you classify customer messages, check whether images meet your requirements, and identify actions in videos. Try Valen-Decision-1.5 instantly through our free API and web demo or the playground Space (0.8B, 2B and 4B), with no installation, model download, or GPU required. We also release the training code, so you can fine-tune Valen-Decision on your own data. The training data of Valen-Decision-1.5 is not public.

GGUF files and usage

This repository holds Valen-Decision-1.5-2B converted for the Valen custom llama.cpp runtime 0.2.0 (release). The runtime serves text and image requests with choice, score, noul and bbox questions through /v1/systemone and /v1/decisions. F32 and Q8_0 text files and the matching vision file are provided; both text files pair with the same vision file.

File Use Size
Valen-Decision-1.5-2B-Q8_0.gguf Text file; start here 1.90 GiB
Valen-Decision-1.5-2B-F32.gguf Full-precision text file 7.05 GiB
vision-native-limits-F32.gguf Vision file for image and bbox requests 1.23 GiB

Text-only serving needs just the text file. SHA256 values are in SHA256SUMS and MANIFEST.json.

Serve

Get the Linux x86-64 CPU runtime (Ubuntu 22.04+, glibc 2.35+, AVX2/FMA/F16C/BMI2):

base=https://github.com/Valen-Team/Valen/releases/download/gguf-runtime-v0.2.0
curl -fLO "$base/valen-gguf-runtime-0.2.0-linux-x86_64.tar.gz"
curl -fLO "$base/SHA256SUMS"
sha256sum -c SHA256SUMS
tar -xzf valen-gguf-runtime-0.2.0-linux-x86_64.tar.gz
cd valen-gguf-runtime-0.2.0-linux-x86_64

Download the Q8_0 text file and the vision file, then start the server:

hf download Valen-Team/Valen-Decision-1.5-2B-GGUF Valen-Decision-1.5-2B-Q8_0.gguf vision-native-limits-F32.gguf --local-dir .
./serve -m "$PWD/Valen-Decision-1.5-2B-Q8_0.gguf" --mmproj "$PWD/vision-native-limits-F32.gguf" \
  --load-mode none --device none -ngl 0 \
  --host 127.0.0.1 --port 8080 -c 4096 -b 4096 -ub 4096 \
  -t 4 --parallel 1 --no-warmup

In another terminal, send a text request:

curl --fail http://127.0.0.1:8080/v1/systemone \
  -H 'Content-Type: application/json' \
  -d '{"state":{"messages":[{"role":"user","content":"The film was excellent."}]},"questions":{"sentiment":{"type":"choice","instructions":"Classify the sentiment.","criteria":{"positive":"Positive","negative":"Negative"}}}}'

The response holds candidate probabilities for each question. The whole request is evaluated in one pass; raise -c, -b and -ub together for larger requests. /v1/decisions takes the native Decisions schema and returns the same numbers. Image and bbox requests, conversion from the native weights and source provenance are in the runtime guide.

Comparison with the native model

The runtime 0.2.0 llama-server answered six requests (text, image and four bbox requests) on Linux x86-64 CPU, compared with native model.predict in FP32. Token counts were equal for every request. Maximum absolute differences, from MANIFEST.json; the release gate is a probability difference of at most 0.08:

File Probability Box Bbox confidence
F32 0.00262 0.1011 0.0863
Q8_0 0.01092 0.0992 0.0856

The GGUF guide covers all sizes, the runtime release and bbox requests.

Complete application tutorials

Complete workflows are maintained in the official Cookbook: API basics, local inference basics, ticket routing, product-image screening and video tagging. Pages import executable source and include actual outputs, uncertainty policies, media provenance and licensing notes.

Valen-Decision-1.5 adds block-bidirectional attention and a bbox grounding head: one forward pass returns probabilities for predicate, choice and score questions and a box for each bbox question.

Which version should I choose?

For a first try, use the web experience or free HTTP API, which serves Valen-Decision-1.5 0.8B, 2B and 4B without downloading weights.

Valen-Decision-1.5 comes in five sizes: 0.8B, 2B, 4B, 9B and 27B. Larger sizes score higher on Decision Index (see Evaluation) and need more memory and compute. Each size is published in three formats: native weights for Transformers and fine-tuning (Valen-Decision-1.5-2B), ONNX (Valen-Decision-1.5-2B-ONNX) and GGUF for the Valen llama.cpp runtime 0.2.0 (Valen-Decision-1.5-2B-GGUF). The native weights store the backbone in BF16 and the decision and grounding heads in FP32.

Examples

Image and video decision demonstration of Valen-Decision-1.5 from the Valen repository: boxes, probabilities, choices and scores from one forward pass. Click the preview to watch the full demonstration.

Valen-Decision-1.5 demo: boxes, probabilities, choices and scores from one forward pass

Quick start

Valen supports two decision API formats: SystemOne, used by Jev, and Decisions, used by OpenAI. Both work with the same Valen model.

Start with Decisions if you are new to Valen. If your application already uses the Jev/SystemOne format, use SystemOne. The examples below include everything you need to get started.

See the Valen Transformers documentation for complete request formats, image/video inputs, and inference parameters.

Install and load

The Python example below runs locally on an NVIDIA GPU. If you prefer to skip local setup, try the free web demo or API.

python -m pip install torch torchvision transformers pillow av
import torch
from transformers import AutoModel

model = AutoModel.from_pretrained(
    "Valen-Team/Valen-Decision-1.5-2B", trust_remote_code=True,
    dtype="auto", attn_implementation="sdpa",
).to("cuda").eval()
torch.set_float32_matmul_precision("highest")
torch.backends.cudnn.allow_tf32 = False

Minimal protocol calls

After installation/loading above, verify the path with one predicate. Complete multi-question workflows and image/video tutorials are maintained in Cookbook.

result = model.predict({"input": "A cat is on the sofa.", "questions": [
    {"name": "cat", "type": "predicate", "instructions": "A cat is present."},
]})
print(result["answers"][0]["probability"])
legacy = model.predict({"state": "A cat is on the sofa.", "questions": {
    "cat": {"type": "noul", "instructions": "A cat is present."},
}})
print(legacy["answers"]["cat"]["noul"])

Cookbook Β· API

Try it free: the API

Try the interactive demo or call the free API directly. No API key is required. The free API serves Valen-Decision-1.5 under the model IDs valen-0.8b, valen-2b and valen-4b.

curl https://api.valen-team.workers.dev/v1/decisions \
  -H 'Content-Type: application/json' \
  -H 'Origin: https://valen-team.github.io' \
  -d '{
    "model": "valen-2b",
    "input": "Please send my order to my new address.",
    "questions": [{"name": "change_address", "type": "predicate",
                   "instructions": "Is the customer requesting a delivery address change?"}]
  }'

Example response (captured from the free API; timing may vary):

{
  "answers": [
    {
      "type": "predicate",
      "name": "change_address",
      "probability": 0.9964113241834551
    }
  ],
  "model": "Valen-Decision-1.5-2B",
  "model_id": "valen-2b",
  "revision": "local",
  "usage": {
    "input_tokens": 79,
    "output_tokens": 0
  },
  "internal_usage": {
    "compute_tokens": 79
  },
  "timing": {
    "total_ms": 41.4,
    "image_ms": 0.0,
    "compile_ms": 4.88,
    "forward_ms": 35.53,
    "queue_ms": 0.0
  },
  "images": []
}

The predicate result is in answers[0].probability. See the API reference for image inputs, both protocols, and available model IDs.

SGLang / vLLM deployment

Install the corresponding Valen plugin in a compatible official engine environment. Use Linux, Python 3.11+, and an NVIDIA GPU; the SGLang example uses FA3 on H100/H200-class GPUs. The two alternatives below expose /v1/systemone and /v1/decisions for text and image requests.

SGLang

python -m pip install "git+https://github.com/Valen-Team/Valen.git#subdirectory=serving/sglang"
valen-sglang --model-path Valen-Team/Valen-Decision-1.5-2B \
  --served-model-name valen --host 127.0.0.1 --port 30000 \
  --attention-backend fa3 --dtype bfloat16

vLLM

python -m pip install "git+https://github.com/Valen-Team/Valen.git#subdirectory=serving/vllm"
valen-vllm --model-path Valen-Team/Valen-Decision-1.5-2B \
  --served-model-name valen --host 127.0.0.1 --port 8000

Once the chosen server is ready, send a local request. Use port 8000 for vLLM or 30000 for SGLang:

curl http://127.0.0.1:8000/v1/decisions \
  -H 'Content-Type: application/json' \
  -d '{"model":"valen","input":"Please send my order to my new address.",
       "questions":[{"name":"change_address","type":"predicate",
                     "instructions":"Is the customer requesting a delivery address change?"}]}'

For Docker images, offline deployment kits, and complete setup instructions, see the SGLang guide and vLLM guide.

Fine-tuning

Use the complete native main revision for LoRA or full SFT, retaining the trained Mixer. Start with complete Valen-Decision-1.5-0.8B and LoRA for a small domain run; ONNX/GGUF are inference formats. Methods, data, resume and export are maintained in the website training guide; the complete executable split/train/compare recipe lives in Cookbook. A short smoke does not establish domain improvement.

Evaluation

Valen-Decision-1.5-27B compared with other decision models on Decision Index and JevalKit benchmarks

Jev Decision Index

Decision Index 0.4.1 public Text and Vision tracks, evaluated with JevalKit. These are normalized index scores (0–100), not accuracy percentages. Best scores are bold.

Model Public Text ↑ Public Vision ↑
Valen-Decision-1.5-0.8B 54.71 58.84
Valen-Decision-1.5-2B 61.89 70.54
Valen-Decision-1.5-4B 69.01 77.85
Valen-Decision-1.5-9B 70.61 79.93
Valen-Decision-1.5-27B 74.66 82.91

Per-size metrics, official scorer outputs and run manifests: Valen-Decision-Index-Results.

JevalKit

JevalKit benchmarks. Values are accuracy (%), higher is better.

Benchmark Valen-Decision-1.5-2B
JevBench 80.95
Typed Decisions 73.05
VisualDecisionBench β€” Image 83.53
VisualDecisionBench β€” Video 82.56
DecisionBench 81.90
Procedural Typed Decisions 92.20
JevAlt-Bench 91.44
zh-decision-bench 91.22

License

Apache-2.0. See LICENSE.

Citation

If you use Valen-Decision in your work, please cite this repository:

@misc{valen,
  author       = {{Valen Team}},
  title        = {Valen-Decision},
  howpublished = {GitHub - Valen-Team/Valen: A multimodal System One decision model for text, images and video.},
  note         = {GitHub repository},
  year         = {2026},
  url          = {https://github.com/Valen-Team/Valen}
}

User concepts, methods and references are maintained only on the website: Documentation Β· Probabilities.

Downloads last month
1,483
GGUF
Model size
2B params
Architecture
valen
Hardware compatibility
Log In to add your hardware

8-bit

32-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Valen-Team/Valen-Decision-1.5-2B-GGUF

Finetuned
Qwen/Qwen3.5-2B
Quantized
(387)
this model

Collection including Valen-Team/Valen-Decision-1.5-2B-GGUF