DrC-Think-4B

DrC-Think-4B is a lightweight (10.5 MB), non-destructive MLX LoRA adapter built for mlx-community/Qwen3-4B-4bit. It is designed for multi-step deliberative reasoning, generalizing from raw natural-language precedents, and turn-based strategic decision-making while maintaining 0.0% forbidden-action violations.

Companion Models: See certen/DrC-Decision-4B for sub-millisecond decisions and certen/DrC-ILP-4B for structured policy verification.

Benchmark Comparison vs. Stock Qwen3-4B-4bit

Evaluated on Apple Silicon (mlx, base model mlx-community/Qwen3-4B-4bit):

Benchmark Stock Qwen3-4B-4bit DrC-Think-4B Delta
Multi-Hop Precedent Generalization (Unseen Criteria) (N=12) 33.3% 91.7% +58.4 pp
4-Domain Constrained Prose Suite (N=96) 68.8% 68.8% 0.0 pp
50-Game Mirror-Seed Strategy Gauntlet 56.0% WR (1485.7 Elo, 331.9 ms med) 70.0% WR (1590.0 Elo, 1.44 ms med) (DrC Runtime) +14.0 pp WR / +104.3 Elo
Forbidden / Illegal Action Violation Rate 0.0000 0.0000 0.0000

Key Capabilities

  • Precedent Generalization (+58.4 pp over Stock): Identifies underlying decision criteria from small sets of positive and negative natural-language precedents and applies them cleanly to new cases.
  • Strategic Multi-Turn Reasoning (+14.0 pp Win Rate / +104.3 Elo): Outperforms stock Qwen3-4B-4bit thinking across 50-game mirror-seed strategy gauntlets with zero illegal moves.
  • Non-Destructive Adapter Format: Preserves untouched Qwen3-4B-4bit capabilities when inactive.

Quickstart

Download Adapter

hf download certen/DrC-Think-4B --local-dir ./DrC-Think-4B

CLI (mlx_lm)

python -m mlx_lm generate \
  --model mlx-community/Qwen3-4B-4bit \
  --adapter-path ./DrC-Think-4B \
  --max-tokens 192 \
  --prompt "Options: [approve_transfer, hold_for_review]. Constraints: approve_transfer is forbidden if identity_verified is false or unknown. Context: Account #4821 requested a $2,500 transfer; identity_verified is confirmed true and sanctions_check passed. Choose the single best valid option or abstain if evidence is missing."

Python (mlx_lm)

from mlx_lm import load, generate

model, tokenizer = load(
    "mlx-community/Qwen3-4B-4bit",
    adapter_path="./DrC-Think-4B",
)

prompt = (
    "Options: [dispatch_thermal, route_cooling]. "
    "Constraints: dispatch_thermal requires a calibrated thermal unit; "
    "route_cooling requires a pressurized coolant pump. "
    "Context: Primary thermal unit is confirmed to be calibrated. "
    "Select the single valid option or abstain if required facts are unknown."
)

messages = [{"role": "user", "content": prompt}]
formatted = tokenizer.apply_chat_template(
    messages, tokenize=False, add_generation_prompt=True
)
print(generate(model, tokenizer, prompt=formatted, max_tokens=192))

Sample Prompts

1. Constrained Option Selection

Options: [grant_waiver, deny_waiver].
Constraints: grant_waiver requires a verified filing AND a secondary sign-off.
Context: Case #104 has a verified filing on record and received secondary sign-off from compliance.
Select the single valid option or abstain if required information is missing.

2. Safe Abstention Under Missing Evidence

Options: [approve_lot, quarantine_lot].
Constraints: approve_lot requires an inspection certificate AND confirmed intact cold-chain logs; quarantine_lot is forbidden unless a temperature breach is confirmed.
Context: Shipment #882 has an inspection certificate, but cold-chain sensor logs have not been uploaded yet.
Select the single valid option or abstain if required information is missing.
Downloads last month

-

Downloads are not tracked for this model. How to track
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for certen/DrC-Think-4B

Finetuned
Qwen/Qwen3-4B
Adapter
(11)
this model