IF-YFXJ-27B-v1: a Qwen3.8-27B-based model for structured choice
2 min readupdated
The IF-YFXJ-27B-v1 model by peng12345 is designed for structured decision-making tasks (selecting the optimal response option based on a given state and question). Built on Qwen3.8-27B (27.36 billion parameters, BF16 format), it was created by merging three checkpoints from sequential training iterations. Unlike standard chat models, the inference server reads the prompt bidirectionally using full-attention layers and directly extracts probabilities from A–Z letter logits, returning a distribution over the original option keys.
Key features
- Bidirectional inference: uses full-attention layers (with indices 3, 7, …, 63) to process context instead of the standard causal chat mode.
- Scaling to dozens of options: evaluates 2–26 options in a single pass, and for larger lists (e.g., 29+), splits candidates into groups of up to 25 and runs multi-stage finalist selection.
- Precise key recovery: reversibly maps original option keys to letters A–Z and returns probabilities for each original key via the
/v1/systemoneendpoint. - Checkpoint merging: final weights combine three model versions trained on reconstructed datasets without test leakage from the Decision Index benchmark.
What you can do
- Deploy a local HTTP decision-making server for automated ranking and action selection in complex multi-option scenarios.
- Use in Decision Index evaluation pipelines (including Public 0.3) to test and reproduce structured choice results.
- Integrate into decision support systems that require a calibrated probability distribution across a large list of candidates (over 26 options) simultaneously.
Example
hf download peng12345/IF-YFXJ-27B-v1 --local-dir ./IF-YFXJ-27B-v1
HF_HUB_OFFLINE=1 TRANSFORMERS_OFFLINE=1 \
bash ./IF-YFXJ-27B-v1/inference/scripts/serve_if_decision.sh \
--model ./IF-YFXJ-27B-v1 --port 18080 --vllm-port 18081 --gpu 0
curl --fail [http://127.0.0.1:18080/health](http://127.0.0.1:18080/health)
Read more
DetailsHardware: Linux, Python 3.12, NVIDIA GPU with 80 GB VRAM (tested on A100-SXM4-80GB), and a CUDA 13 driver.
Disk: about 70 GiB for weights and runtime plus compilation cache.
Architecture and inference code are based on StartLux-Decision and the previous IF Decision release.










Comments