TheSystem-9B-LoRA / README.md
Lbuk's picture
Remove outdated private-release notice
7878b49 verified
|
Raw History Blame Contribute Delete
4.84 kB
metadata
license: apache-2.0
base_model: Qwen/Qwen3.5-9B
tags:
  - thesystem
  - decision-model
  - text-generation
  - custom-code
language:
  - en

TheSystem-9B-LoRA

AI from Poland Polish flag

TheSystem uses a shared <FAST> gate to route requests in frozen Qwen3.5-9B. For “Choose Billing or Support,” a switchable rank-16 LoRA adapter picks an answer. For “Write a reply,” Qwen generates the text.

Try it in Colab

  1. Open the LoRA demo in Colab.
  2. Select the latest runtime and an NVIDIA GPU with native BF16, such as an A100. You can try 24 GB, though fit is unverified.
  3. Run Prepare runtime to download the public setup files. When it says READY, run Load LoRA, then try the writing and decision examples.

Let the model choose the mode, or set it yourself. Use mode="auto" to let <FAST> choose how to respond. Set mode="decision" to pick from supplied answers or mode="generation" to write a response.

Abstract

Decision models based on decoder-only LLMs are designed to select answers from a given set (Nimble, Jev). However, adapting an LLM for decisions changes its generative behavior. This can lead to using one model for decisions and another for text generation.

Decision models invite an analogy with System One, in contrast to System Two. In the account popularized by Daniel Kahneman in Thinking, Fast and Slow, System One is quick and automatic, while System Two involves slower, deliberate reasoning. Yet both coexist within one system of human cognition. I explored a similar idea for decoder-only LLMs.

I built TheSystem, whose learned internal gate, <FAST>, chooses once per prompt between selecting a supplied answer and using the model’s original text-generation path. Training has two separate objectives: teaching the gate to distinguish decision prompts from generative prompts, and teaching the model to select answers. The decision path can use either LoRA adjustments or a probe classifier that reads the frozen backbone’s internal state. I tested both architectures.

The purpose of this release is to show that decisions and text generation can be performed by one LLM with a <FAST> gate. TheSystem uses Qwen3.5-9B as the frozen backbone. In generation mode, the learned decision components are bypassed, and the original model generates the response. I turned off Qwen’s native thinking mode (enable_thinking=False) for all release tests of the original backbone, Probe-256 and LoRA. In the next release, I plan to publish results from experiments with Qwen’s thinking mode enabled for text generation.

Training data

The original <FAST> gate learned whether to choose or write from routing prompts built partly from the answer examples. LoRA and Probe-256 learned which answer to pick from the same 18,000 examples. The released gate also trained on more varied routing prompts. See the dataset and splits.

Evaluation notebook · Results · Setup and reproducibility

License

TheSystem’s original code and learned weights in this repository are available under the Apache License 2.0. Qwen’s Apache 2.0 notice applies to the backbone. See the third-party notices for dataset terms and attribution.

Cite this work

Leszek Bukowski (2026). TheSystem (version 0.1.0rc4). GitHub repository.