Instructions to use analogalok/Qwen3.5-2B-AA-Decision with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use analogalok/Qwen3.5-2B-AA-Decision with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf analogalok/Qwen3.5-2B-AA-Decision:F16 # Run inference directly in the terminal: llama cli -hf analogalok/Qwen3.5-2B-AA-Decision:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf analogalok/Qwen3.5-2B-AA-Decision:F16 # Run inference directly in the terminal: llama cli -hf analogalok/Qwen3.5-2B-AA-Decision:F16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf analogalok/Qwen3.5-2B-AA-Decision:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf analogalok/Qwen3.5-2B-AA-Decision:F16
Use Docker
docker model run hf.co/analogalok/Qwen3.5-2B-AA-Decision:F16
- Llama new
- LM Studio
- Jan
- Ollama
How to use analogalok/Qwen3.5-2B-AA-Decision with Ollama:
ollama run hf.co/analogalok/Qwen3.5-2B-AA-Decision:F16
- Unsloth Desktop
- Pi
How to use analogalok/Qwen3.5-2B-AA-Decision with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf analogalok/Qwen3.5-2B-AA-Decision:F16
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "analogalok/Qwen3.5-2B-AA-Decision:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use analogalok/Qwen3.5-2B-AA-Decision with Docker Model Runner:
docker model run hf.co/analogalok/Qwen3.5-2B-AA-Decision:F16
- Lemonade
How to use analogalok/Qwen3.5-2B-AA-Decision with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull analogalok/Qwen3.5-2B-AA-Decision:F16
Run and chat with the model
lemonade run user.Qwen3.5-2B-AA-Decision-F16
List all available models
lemonade list
- Hermes Agent
How to use analogalok/Qwen3.5-2B-AA-Decision with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf analogalok/Qwen3.5-2B-AA-Decision:F16
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default analogalok/Qwen3.5-2B-AA-Decision:F16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use analogalok/Qwen3.5-2B-AA-Decision with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf analogalok/Qwen3.5-2B-AA-Decision:F16
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "analogalok/Qwen3.5-2B-AA-Decision:F16" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Qwen3.5-2B AA Decision
A native decision model fine-tuned from Qwen/Qwen3.5-2B
with unsloth FastDecisionModel. It answers typed questions
(choice / score / noul) over a state through the TypeSafe-compatible /v1/systemone API โ
no text generation, one forward pass.
This release adds relational supervision (WinoGrande and WANLI) to the previous typed-decisions + fast-decisions mix. WinoGrande +8.4 pts and ANLI +10.7 pts over the previous version, with ARC flat and BANKING77 within ~1.4 pts.
Training data
| dataset | license | rows | decisions | role |
|---|---|---|---|---|
| LocalLLaMA/typed-decisions | Apache-2.0 | 1,200 | 6,000 | choice/score/noul schema, calibration |
| fastino/fast-decisions | Apache-2.0 | 1,445 | 2,224 | routing, intents, multi-domain |
allenai/winogrande (winogrande_debiased, train) |
Apache-2.0 | 1,500 | 1,500 | coreference |
| alisawuffles/WANLI (train) | CC-BY-4.0 | 900 | 900 | NLI / entailment |
5,045 rows / 10,624 decisions. The relational block is 22.6% of decisions, class-balanced (750/750 WinoGrande, 300/300/300 WANLI). Only official train splits are used โ no test split is trained on. ANLI is used for evaluation only (CC-BY-NC-4.0).
Recipe: QLoRA 4-bit, LoRA r=16 / alpha=16, 3 epochs, lr 1e-4 cosine, effective batch 8, max_len 2048, seed 3407. The published checkpoint is epoch 2.
Benchmarks
Full test splits, served as Q4_K_M GGUF through llama.cpp /v1/systemone
(build b11899). Chance-corrected skill = clip((raw - reference) / (1 - reference)).
| Benchmark (n) | this model | previous version | ฮ |
|---|---|---|---|
| WinoGrande (1267) | 0.6219 (0.2439) | 0.5383 (0.0766) | +8.4 |
| ARC-Challenge (1172) | 0.7372 (0.6496) | 0.7381 (0.6507) | โ0.1 |
| ARC-Easy (2376) | 0.8822 (0.8429) | 0.8775 (0.8367) | +0.5 |
| BANKING77 (3076) | 0.6001 (0.5949) | 0.6141 (0.6090) | โ1.4 |
| ANLI (1000) | 0.5420 (0.3130) | 0.4350 (0.1525) | +10.7 |
Held-out: typed-decisions test 0.8000, fast-decisions holdout 0.6782.
Calibration
Per-type temperature scaling fitted on a mixed held-out set (unseen WinoGrande/WANLI rows, the fast holdout, and a 240-row typed-train slice) โ never on any test split.
| ECE | this model |
|---|---|
| WinoGrande | 0.075 |
| ANLI | 0.055 |
| typed-decisions test | 0.359 |
One global choice temperature cannot suit both distributions: typed-decisions is under-confident
while WinoGrande/ANLI are over-confident, so the fit is a compromise that favours the benchmark tasks.
Accuracy is unaffected by calibration.
Version history
| ref | contents |
|---|---|
main (this card) |
typed + fast + WinoGrande + WANLI |
v1 |
typed + fast (ANLI 0.435) |
Load the previous version with revision="v1".
Try the smaller model
The 0.8B sibling, trained on the same mix: Qwen3.5-0.8B-AA-Decision โ much smaller and faster, with a modest accuracy trade-off.
Usage
GGUF โ llama.cpp /v1/systemone
llama-server \
-m Qwen3.5-2B-AA-Decision-Q4_K_M.gguf \
-c 8192 -b 4096 -ub 2048 -ngl 99 \
--host 127.0.0.1 --port 8091
Keep
-ub 2048. The decision path caps the physical batch; prompts with many options (e.g. 77-way classification) are rejected at the default 512.
curl http://127.0.0.1:8091/v1/systemone \
-H "Content-Type: application/json" \
-d '{
"state": "Customer: I was charged twice for my order last week and nobody has replied.",
"questions": {
"route": {"type": "choice", "instructions": "Which team should handle this?",
"criteria": {"billing": null, "shipping": null, "technical": null}},
"angry": {"type": "noul", "instructions": "Is the customer angry?"},
"urgency": {"type": "score", "instructions": "How urgent is this?",
"criteria": ["low", "medium", "high"]}
}
}'
Safetensors
from unsloth import FastDecisionModel
model, tok = FastDecisionModel.from_pretrained(
"analogalok/Qwen3.5-2B-AA-Decision", max_seq_length=2048)
Files
| file | description |
|---|---|
model.safetensors* |
merged 16-bit weights + decision head |
joint_head.safetensors |
decision head weights |
adapter/ |
LoRA adapter + head used for the fine-tune |
Qwen3.5-2B-AA-Decision-Q4_K_M.gguf |
~1.3 GB, recommended |
Qwen3.5-2B-AA-Decision-F16.gguf |
~3.6 GB |
Limitations
Still below encoder-based decision models on adversarial NLI (ANLI 0.54), and BANKING77 slipped ~1.4 pts versus the previous version. For production routing prefer the Q4_K_M GGUF.
License
Apache-2.0 (inherited from Qwen/Qwen3.5-2B). Training data is Apache-2.0 / CC-BY-4.0; ANLI is used for evaluation only and is not trained on.
- Downloads last month
- 108