{"slug": "thesystem-decision-model-and-generation-model-in-one", "title": "TheSystem – decision model and generation model in one", "summary": "A developer released TheSystem, a decision-and-generation model built on a frozen Qwen3.5-9B backbone, in two versions — Probe-256 and LoRA — that use a learned `<FAST>` gate to route each prompt once between selecting a supplied answer and the model's original text-generation path. Probe-256 sends decisions to a classifier with one 256-unit hidden layer, while LoRA applies small LoRA adjustments for decisions and bypasses them for writing; both keep Qwen's original output head and frozen base weights. The release, published on Hugging Face with Colab notebooks and a validation notebook comparing original Qwen, Probe-256 and LoRA on five benchmarks, aims to show that one LLM can handle both decisions and text generation without degrading its generative behavior.", "body_md": "**Use one model to make decisions and generate text.**\n\nGive TheSystem a set of options to choose from, or ask it to write a reply or explanation.\nTheSystem runs on Qwen3.5-9B and uses a learned **`<FAST>`** gate to choose between these two modes.\nI built two versions, **Probe-256** and **LoRA**, both with the original text-generation path.\n\nFor example: “Choose: Billing or Support” uses decision mode; “Write a reply” uses generation mode.\n\nOpen either notebook in Colab and run the cells in order.\n\n| Model | Try in Colab | Model on Hugging Face | \n|---|---|---|\n| Probe-256 | [Open notebook](https://colab.research.google.com/github/bqpro1/TheSystem/blob/main/notebooks/01-Try-Probe-256.ipynb) | [TheSystem-9B-Probe-256](https://huggingface.co/Lbuk/TheSystem-9B-Probe-256) | \n| LoRA | [Open notebook](https://colab.research.google.com/github/bqpro1/TheSystem/blob/main/notebooks/02-Try-LoRA.ipynb) | [TheSystem-9B-LoRA](https://huggingface.co/Lbuk/TheSystem-9B-LoRA) | \n\n**Let the model choose the mode, or set it yourself.** Use `mode=\"auto\"` for automatic routing. To run in **decision-only mode**, pass `mode=\"decision\"` and the answer choices on every request. Use `mode=\"generation\"` for writing.\n\nThe notebooks download public release files automatically. Use an NVIDIA GPU with\nnative BF16 support. See the [setup instructions](https://github.com/bqpro1/TheSystem/blob/main/docs/REPRODUCIBILITY.md#setup-and-access).\n\n|   | `<FAST>` sends decisions to a classifier with one 256-unit hidden layer. Writing uses Qwen’s original output head; the backbone stays frozen. | \n| `<FAST>` enables small LoRA adjustments for decisions and bypasses them for writing. Both modes use Qwen’s original output head; its base weights stay frozen. |   | \n\n*Illustrative flows. Select a schematic to view it at full size.*\n\nDecision models based on decoder-only LLMs are designed to select answers from a given set\n([Nimble](https://github.com/bespokelabsai/nimble), [Jev](https://typesafe.ai/blog/introducing-system-one-models-and-jev)).\nHowever, adapting an LLM for decisions changes its generative behavior. This can lead to using\none model for decisions and another for text generation.\n\nDecision models invite an analogy with System One, in contrast to System Two. In the account\npopularized by Daniel Kahneman in [*Thinking, Fast and Slow*](https://us.macmillan.com/books/9780374275631/thinkingfastandslow/),\nSystem One is quick and automatic, while System Two involves slower, deliberate reasoning.\nYet both coexist within one system of human cognition. I explored a similar idea for decoder-only LLMs.\n\nI built **TheSystem**, whose learned internal gate, **`<FAST>`**, chooses once per prompt\nbetween selecting a supplied answer and using the model’s original text-generation path.\nTraining has two separate objectives: teaching the gate to distinguish decision prompts from\ngenerative prompts, and teaching the model to select answers. The decision path can use either\n[LoRA adjustments](https://arxiv.org/abs/2106.09685) or a [probe classifier](https://arxiv.org/abs/1610.01644)\nthat reads the frozen backbone’s internal state. I tested both architectures.\n\nThe purpose of this release is to show that decisions and text generation can be performed\nby one LLM with a **`<FAST>`** gate. TheSystem uses [Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B)\nas the frozen backbone. In generation mode, the learned decision components are bypassed,\nand the original model generates the response. I turned off Qwen’s native thinking mode\n(`enable_thinking=False`) for all release tests of the original backbone, Probe-256 and LoRA.\nIn the next release, I plan to publish results from experiments with Qwen’s thinking mode\nenabled for text generation.\n\n[Open the validation notebook in Colab](https://colab.research.google.com/github/bqpro1/TheSystem/blob/main/notebooks/03-Reproduce-Evaluation.ipynb) to compare original Qwen, Probe-256 and LoRA on five benchmarks and check routing and writing preservation.\n\n[Run the evaluation and read your results](https://github.com/bqpro1/TheSystem/blob/main/docs/EVALUATION.md) · [Datasets](https://huggingface.co/datasets/Lbuk/TheSystem-Data) · [Licences](https://github.com/bqpro1/TheSystem/blob/main/licenses/README.md)\n\nTheSystem’s original code and learned weights are available under the [Apache License 2.0](https://github.com/bqpro1/TheSystem/blob/main/LICENSE).\nSee [Licences and attribution](https://github.com/bqpro1/TheSystem/blob/main/licenses/README.md) for third-party code, models and datasets.\n\nLeszek Bukowski (2026). *TheSystem* (version 0.1.0rc4). [GitHub repository](https://github.com/bqpro1/TheSystem).", "url": "https://wpnews.pro/news/thesystem-decision-model-and-generation-model-in-one", "canonical_source": "https://github.com/bqpro1/TheSystem", "published_at": "2026-11-23 18:23:30+00:00", "updated_at": "2026-11-23 18:42:27.061210+00:00", "lang": "en", "topics": ["large-language-models", "ai-research", "ai-tools", "machine-learning"], "entities": ["TheSystem", "Qwen3.5-9B", "Probe-256", "LoRA", "Hugging Face", "Colab", "Daniel Kahneman"], "also_reported_by": [], "takeaway": "A learned `<FAST>` gate on a frozen Qwen3.5-9B backbone routes each prompt to either a decision classifier (Probe-256's single 256-unit hidden layer or LoRA adjustments) or the untouched generation path, preserving writing quality while adding answer selection.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/thesystem-decision-model-and-generation-model-in-one", "markdown": "https://wpnews.pro/news/thesystem-decision-model-and-generation-model-in-one.md", "text": "https://wpnews.pro/news/thesystem-decision-model-and-generation-model-in-one.txt", "jsonld": "https://wpnews.pro/news/thesystem-decision-model-and-generation-model-in-one.jsonld"}}