Instructions to use certen/DrC-Decision-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use certen/DrC-Decision-4B with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download certen/DrC-Decision-4B --local-dir DrC-Decision-4B
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
DrC-Decision-4B
DrC-Decision-4B is a compact, sub-10ms multimodal Apple Silicon MLX decision model paired with frozen mlx-community/Qwen3-4B-4bit. It maps structured states, natural-language text, and raw pixel frames into calibrated discrete action choices or safe abstentions ([option_1 .. option_N, ABSTAIN]) with 0.0% hard-constraint violations.
Companion Model: For open-vocabulary natural-language rule verification and Inductive Logic Programming (inducing human-readable symbolic rules from raw text examples), see
certen/DrC-ILP-4B.
How It Compares to Stock Qwen3-4B-4bit
When stock Qwen3-4B-4bit is prompted directly as a text generator for constrained finite-choice tasks (such as raw-peer Sudoku deduction or multi-constraint workflow routing), it requires ~740 ms–3,000+ ms per decision, cannot process raw game/UI pixel streams, and suffers illegal-action violations (4.2%–7.5%) or set-elimination errors (57.5% on raw-peer Sudoku).
DrC-Decision-4B keeps the Qwen3-4B-4bit language backbone 100% frozen (preserving full base LLM behavior whenever needed) and routes observations through a compiled neuro-symbolic decision head—delivering 98.6%–100.0% accuracy, 0.0% constraint violations, 0.48 ms structured latency (~1,500× faster), 117–154 ms live end-to-end text latency (~5–6× faster), and 3.03 ms raw-pixel control.
Benchmark Comparison vs. Stock Qwen3-4B-4bit & Baselines
| Benchmark / Modality | Stock Qwen3-4B-4bit / Domain Baseline |
DrC-Decision-4B (Live E2E Text via Qwen3-4B) |
DrC-Decision-4B (Structured / Native Pixels) |
Violation Rate (DrC-Decision-4B) |
Median Latency (p50) |
|---|---|---|---|---|---|
Workflow Routing — Unseen Rule Combos (N=144) |
25.7% (majority) / 72.2% (4B SFT) |
98.6% (142/144) |
98.6% (142/144) |
0.0% (masked & raw) |
0.48 ms (struct) / 154.4 ms (text) |
Workflow Routing — Adversarial Edge Cases (N=8) |
56.2% (Stock 4B closed-action ref) |
100.0% (8/8) |
100.0% (8/8) |
0.0% (masked & raw) |
0.48 ms (struct) / 152.1 ms (text) |
Sudoku Raw-Peer Deduction (certen/Sudoku-1M-Puzzles, N=140, no candidate hints) |
57.5% (Stock 4B chat, 7.5% viol; 40.0% guarded) |
99.3% (139/140) |
99.3% (139/140) |
0.0% (masked & raw) |
0.48 ms (struct) / 117.3 ms (text) |
Pokémon Showdown — Frozen Tactical Regret (N=62 held-out states) |
98.4% optimal, 0.0127 regret (OneStep / Abyssal) |
— | 100.0% optimal, 0.0000 regret |
0.0% |
0.48 ms |
Pokémon Showdown — Live pokemon-showdown Tournament (24 games/agent) |
1568.1 Elo / 62.5% win (OneStepLookahead) |
— | #1 Elo 1589.0 / WHR 1684.3 (70.8% win, 17W–7L) |
0.0% |
1.11 ms |
Pokémon Yellow — Raw 160×144 RGB Pixels Only (23 held-out battle slots × 3 seeds = 69 eps) |
Not supported by Stock 4B text LLM2.9% (random) / 47.8% (HUD pixel heuristic) |
— | 87.0% win (60/69)(** 100.0%* on wild battle slots)* |
0.0% flees |
3.03 ms (frame-to-action) |
What It Does
- Selects among variable-arity candidate actions (
[option_1 .. option_N, ABSTAIN]) with calibrated confidence and safe abstention when evidence is missing or conflicting. - Supports structured state, free-text context (via frozen
Qwen3-4B-4bit), and 4-frame RGB pixel input through the DrC-MLX runtime. - Runs locally on Apple Silicon in
< 1 ms(structured),~3 ms(pixels), or~120–155 ms(text).
Quickstart
Download with Hugging Face CLI
hf download certen/DrC-Decision-4B --local-dir ./DrC-Decision-4B
Sample Decision Request
Provide the current context, candidate options, and any hard constraints to the DrC-MLX runtime:
Context: A critical EU security incident arrives while primary escalation capacity is full and diagnostic logs are incomplete.
Options:
- team_security_oncall
- team_eu_compliance
- auto_close_ticket
- abstain
Constraints: Never auto_close_ticket on critical security incidents or when diagnostic logs are incomplete.
Runtime
This checkpoint uses the compact DrC-MLX multi-pathway weight format (config.json + drc_model.safetensors) and requires the DrC-MLX runtime (with mlx-community/Qwen3-4B-4bit loaded automatically only when free-text encoding is requested). It is not directly loadable with mlx_lm.load as a standalone text-generation LLM.
- Downloads last month
- 51
Quantized