DrC-Think-27B

DrC-Think-27B is a compact (4.6 MB), non-destructive MLX LoRA adapter built for mlx-community/Qwen3.5-27B-4bit. It is designed for deep precedent generalization, constraint-governed option selection, and strategic multi-step reasoning on Apple Silicon while maintaining 0.0% forbidden-action violations.

Companion Models: For lighter 4B deployments, see certen/DrC-Think-4B, certen/DrC-ILP-4B, and certen/DrC-Decision-4B.

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

Evaluated on Apple Silicon (mlx, 48 GB M4 Pro, base model mlx-community/Qwen3.5-27B-4bit):

Benchmark Stock Qwen3.5-27B-4bit DrC-Think-27B Delta
Multi-Hop Precedent Generalization (Unseen Criteria) (N=12) β€” 100.0% (12/12) Frontier ceiling
50-Game Mirror-Seed Strategy Gauntlet 56.0% WR (1485.2 Elo, 5579.9 ms med) 66.0% WR (1552.5 Elo, 1.23 ms med) (DrC Runtime) +10.0 pp WR / +67.3 Elo
Forbidden / Illegal Action Violation Rate 0.0000 0.0000 0.0000
Decode Throughput (Apple M4 Pro) ~13.7 tok/s 13.7 tok/s Zero overhead

Key Capabilities

  • 100% Unseen Precedent Generalization: Identifies subtle distinguishing criteria from raw natural-language precedent cases and applies them with 100.0% accuracy and 0.0% constraint violations.
  • Strategic Multi-Turn Reasoning (+10.0 pp Win Rate / +67.3 Elo): Outperforms stock Qwen3.5-27B-4bit direct thinking across 50-game mirror-seed strategy gauntlets with zero illegal moves.
  • Non-Destructive 4.6 MB Adapter: Preserves untouched Qwen3.5-27B-4bit capabilities when inactive.

Quickstart

Download Adapter

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

CLI (mlx_lm)

python -m mlx_lm generate \
  --model mlx-community/Qwen3.5-27B-4bit \
  --adapter-path ./DrC-Think-27B \
  --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.5-27B-4bit",
    adapter_path="./DrC-Think-27B",
)

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-27B

Adapter
(1)
this model