File size: 6,004 Bytes
7987f81 8c587c9 7987f81 8c587c9 6c4c2ba 8c587c9 6c4c2ba 8c587c9 6c4c2ba 8c587c9 6c4c2ba 8c587c9 6c4c2ba 8c587c9 6c4c2ba 8c587c9 801eeb9 8c587c9 801eeb9 8c587c9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | ---
license: cc-by-nc-4.0
base_model: Qwen/Qwen3.8-27B
library_name: vllm
tags:
- decision-index
- decision-model
- noncommercial
- custom-engine
---
# FlyAI-Decision-27B
FlyAI-Decision-27B predicts structured choices and probabilities from a state and
one or more questions. This repository contains BF16 weights from training step
1139 and a reproducible local inference engine for the JEV Decision Index.
The base model is [Qwen/Qwen3.8-27B](https://huggingface.co/Qwen/Qwen3.8-27B),
whose implementation uses the `qwen3_5` architecture. The model was post-trained
for decision tasks. Full-attention layers are bidirectional; the original causal
Gated DeltaNet layers are retained. Each field uses its own prompt and a one-token
readout with FP32 softmax over its candidate tokens. The included engine is
required to reproduce this protocol; a generic chat-generation command does not
implement it.
## Reproduce
Use Linux x86_64, glibc 2.31 or newer, one NVIDIA GPU with sufficient memory
for the approximately 55 GB BF16 checkpoint, a native NVIDIA R580 or newer driver,
a host C++ compiler, and [uv 0.11.6](https://github.com/astral-sh/uv/releases/tag/0.11.6).
The environment was tested on one NVIDIA L20Z with 79.18 GiB memory, driver
580.105.08 and glibc 2.32. RTX PRO 6000 execution remains unverified.
Download the complete repository at the immutable reproduction-bundle revision
linked in [submission PR #513](https://github.com/apolinario/decision-index/pull/513).
The results manifest retains the original evaluated revision. From the downloaded directory:
```bash
export CUDA_VISIBLE_DEVICES=0
bash inference/install.sh
bash inference/run_rows.sh "$PWD" /path/to/rows.jsonl /path/to/output
```
Use official Decision Index JSONL requests and a fresh output directory. The
installer selects CPython 3.12.12 and resolves exclusively from the frozen uv lock:
vLLM 0.31.0, PyTorch 2.13.0 with CUDA 13.0, Transformers 5.17.0, and
Tokenizers 0.23.3. It checks installed packages, source hashes, the CUDA toolchain
and BF16 execution, and compiles a tiny CUDA kernel with the host compiler.
The scripts default to GPU 0 only when `CUDA_VISIBLE_DEVICES` is unset.
For a rebuilt public suite, use `bash inference/run_suite.sh "$PWD" /path/to/suite-0.3 /path/to/output`
to verify hashes, apply edition filtering, run inference and score.
See [the complete instructions and model smoke test](inference/README.md).
The engine interface is `DecisionVllmEngine(state, questions) -> (response, raw)`.
The unmodified official runner and scorer are vendored at commit
`25c6ec7b6b5f44a216c63c3a700de3a9c6d6699d` in `inference/official`.
No inference API service is needed.
## Capacity and settings
| Setting | Value |
| --- | --- |
| Precision / parallelism | BF16, tensor parallel size 1, one visible GPU |
| Context capacity | 32,768 tokens per independently rendered field |
| Candidate capacity | Up to 255 choices per field |
| Scheduler capacity | 64 field sequences |
| Full attention | 16 bidirectional layers, upstream vLLM implementation |
| Linear attention | 48 unchanged causal Gated DeltaNet layers |
| Readout | One token; FP32 candidate softmax |
| Execution | Eager, synchronous; no prefix caching or chunked prefill |
Oversized inputs and candidate sets are rejected instead of truncated. The
engine uses upstream vLLM kernels and audits the loaded attention configuration.
Warm-up compares 64 distinct prompts individually, in a mixed batch and in reverse
order; measured numerical differences are retained in the receipts.
## Evaluation status
The matching v7 public 0.3 evaluation completed all 140,178 requests and 312,320
fields with zero errors. Public Index: **65.74**; raw index: **74.02**. Results are published in
[FlyAI-Decision-27B-results](https://huggingface.co/datasets/FlyaiLab/FlyAI-Decision-27B-results).
The run used eight independent single-GPU L20Z workers with sequential requests
per worker. Full-run median / mean latency was 78.1 / 163.2 ms. These measurements
are submitter-run results. No official private-set score or RTX PRO 6000 latency
certification is claimed.
Before the v7 packaging fixes, the same inference functions and dependency lock
passed 1,330 reference requests on one L20Z. Against the native reference,
6,427 of 6,434 decisions agreed (99.8912%). On a preselected 512-request latency
sample, median / mean / p80 were 85.47 / 168.23 / 140.06 ms. These are validation
measurements, not an official leaderboard result. Hardware can change numerical
results and latency.
The native checkpoint's development Index was 67.66. It is a development-set
measurement and must not be quoted as the public or full leaderboard score.
## Artifact provenance
The export contains 11 safetensors shards and 1,184 tensors. The untrained MTP
head was omitted; the 333 frozen visual tensors were verified against the base.
The evaluated interface accepts text decision requests; visual-task performance
was not evaluated. The tokenizer metadata was made compatible with the locked
Transformers version without changing token IDs or the evaluated prompts.
[MODEL_MANIFEST.json](MODEL_MANIFEST.json) records every inference model file's
size and SHA-256. [BASE_MODEL_MANIFEST.json](BASE_MODEL_MANIFEST.json) identifies
the exact initialization files; the original upstream Hub commit was not recorded.
The inference folder has a separate source manifest and dependency lock.
## License and attribution
FlyAI's model modifications and original documentation are provided under
[CC BY-NC 4.0](LICENSE). Retain the attribution and indicate modifications.
The original Qwen components retain their [Apache 2.0 license](BASE_MODEL_LICENSE).
Inference code is separately licensed under [Apache 2.0](inference/LICENSE);
the vendored Decision Index kit retains its [MIT license](inference/official/LICENSE).
These terms do not relicense third-party materials. Training data and the rebuilt
benchmark inputs are not distributed in this repository.
|