WY-decision-v1
WY-decision-v1 is a text and image decision model for comparison experiments, fine-tuned from Fastino's modification of Qwen3.8-27B. This release merges three fine-tuned checkpoints.
Inference
The 64-layer WY-decision language backbone uses recurrent depth. Layers 24–47 use zero-based indices and are divided into two blocks, 24–35 and 36–47. Each block runs twice with shared weights. Each pass interpolates its input and output using a damped Euler update. The full-attention layers allow bidirectional attention across the non-padding tokens. The Gated DeltaNet layers keep their recurrent computation.
The prompt contains the state, question and options. The options are labeled in the order they appear in criteria. The final prompt token's hidden state is projected by the 255-way decision head stored in readout.safetensors. The runtime applies softmax over the logits for the supplied options and maps the probabilities back to the original keys. Choices with up to 255 options use one forward pass per question, with no generated answer tokens.
Images use inline base64 data or data URLs. The runtime decodes RGB, resizes each image to dimensions divisible by 32 within the configured pixel bounds, encodes it with the included vision weights, and inserts the visual embeddings before the state text with multimodal rotary positions.
Run locally
Use Linux x86-64, Python 3.12, uv and a CUDA 13.0 compatible NVIDIA driver or compatibility library. Use an NVIDIA GPU with BF16 support and at least 80 GB of VRAM. The weights occupy about 49 GiB on disk. Installation and the initial snapshot download require network access.
python3.12 -m venv .venv
uv pip install --python .venv/bin/python 'huggingface-hub==1.33.0'
.venv/bin/hf download peng12345/WY-decision-v1 \
--local-dir ./WY-decision-v1
uv pip sync --python .venv/bin/python ./WY-decision-v1/requirements.lock
uv pip check --python .venv/bin/python
DECISION_MODEL_NAME=WY-decision-v1 HF_HUB_OFFLINE=1 TRANSFORMERS_OFFLINE=1 \
.venv/bin/python ./WY-decision-v1/serve.py \
--model ./WY-decision-v1 --host 127.0.0.1 --port 23880
To reproduce the published Decision Index run, pass the revision labeled Reproduction revision in the results README as --revision to hf download and install its requirements.lock. That lock was verified against all four workers on the same 100 official sample requests. The checkpoint's files and hashes are recorded in release_manifest.json.
Run the API checks from a second terminal after GET /health reports status: ok and vision: true.
.venv/bin/python ./WY-decision-v1/smoke.py --model WY-decision-v1 --report smoke.json
Use POST /v1/systemone with a state and a questions object keyed by question ID.
curl -fsS http://127.0.0.1:23880/v1/systemone \
-H 'Content-Type: application/json' \
-d '{
"model": "WY-decision-v1",
"state": "The light is green.",
"questions": {"q1": {
"type": "choice",
"instructions": "Which color is the light?",
"criteria": {"r": "Red", "g": "Green"}
}}
}'
The response includes answers.q1.choice, answers.q1.probabilities and answers.q1.confidence. noul questions return the probability of true. score questions return the most probable level and its expected value. The maximum service context is 40,000 tokens per question, including visual tokens.
For a vision request, use a state array with a text part and an image part. Place the full data URL in the image part.
{
"type": "image_url",
"image_url": {"url": "data:image/png;base64,<image data>"}
}
The service also accepts a top-level images array containing data URLs, together with a text state or text parts. Set DECISION_API_KEY to require a bearer token when serving the endpoint.
For the Decision Index Vision client, use the decide engine with protocol=decisions, path=/v1/systemone and image_encoding=data_url.
Decision Index Text Public 0.3
The service implements the Decision Index HTTP wire format. Follow the benchmark's suite rebuild and import instructions at the pinned Decision Index revision. Decision Index reproduction kit
git clone https://github.com/apolinario/decision-index.git
git -C decision-index checkout 25c6ec7b6b5f44a216c63c3a700de3a9c6d6699d
python3.12 -m venv .di-venv
uv pip install --python .di-venv/bin/python ./decision-index
.di-venv/bin/python -m decision_index suite verify \
--edition 0.3 --dir /path/to/suite-0.3
.di-venv/bin/python -m decision_index pipeline \
--edition 0.3 --suite-dir /path/to/suite-0.3 \
--engine http --option base_url=http://127.0.0.1:23880 \
--option model=WY-decision-v1 --compact --out ./run
The WY-decision-v1 results include the complete Public 0.3 run and the offline reproduction report. Evaluation results
References and licenses
The WY-decision recurrent-depth architecture and bundled runtime build on Fastino's decision-model work. The release includes the Fastino Community License, the upstream Qwen license and attribution notices. License · Upstream attribution · Qwen license
- Downloads last month
- 35