Instructions to use certen/DrC-ILP-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use certen/DrC-ILP-8B with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("certen/DrC-ILP-8B") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use certen/DrC-ILP-8B with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "certen/DrC-ILP-8B" --prompt "Once upon a time"
- Atomic Chat
DrC-ILP-8B
DrC-ILP-8B is a lightweight, non-destructive MLX LoRA adapter built on mlx-community/Qwen3-8B-4bit for rule-governed option selection, calibrated evidence verification, strict constraint compliance, and safe abstention when required information is missing.
Companion Model: For sub-millisecond structured and text decisions on
Qwen3-8B-4bit, seecerten/DrC-Decision-8B.
Benchmark Comparison vs. Stock Qwen3-8B-4bit
| Benchmark Suite | Metric | Stock Qwen3-8B-4bit |
DrC-ILP-8B |
Delta |
|---|---|---|---|---|
Held-Out Evidence Calibration (N=144 unseen queries) |
Accuracy Brier Skill Score (β) ECE (β) |
49.3%0.3100.136 |
90.3%0.7120.055 |
+41.0 pp+0.402-0.081 |
Closed-Action Policy Perturbations (N=48) |
Decision Accuracy Forbidden Violations |
52.1%0.0% |
91.7%0.0% |
+39.6 pp0.0 pp |
Unseen Multi-Hop & Count Constraints (N=96) |
Decision Accuracy Forbidden Violations |
50.0%0.0% |
58.3%0.0% |
+8.3 pp0.0 pp |
| General Multi-Step Tool Use | Regression | Baseline | 0.0% regression |
0.0 pp |
Key Capabilities
- High-Precision Evidence Assessment: Lifts unseen evidence-verification accuracy from
49.3%to90.3%(+41.0 pp) over StockQwen3-8B-4bitwhile cutting calibration error (ECE) by60%. - Hard-Constraint Compliance: Respects explicit exclusion rules and abstains cleanly when required evidence is pending (
0.0%forbidden violations). - Non-Destructive Adapter Format: Preserves base
Qwen3-8B-4bitbehavior across general conversation and tool use.
Quickstart
Download Adapter
hf download certen/DrC-ILP-8B --local-dir ./DrC-ILP-8B
Run with mlx-lm CLI
python -m mlx_lm generate \
--model mlx-community/Qwen3-8B-4bit \
--adapter-path ./DrC-ILP-8B \
--max-tokens 192 \
--prompt "Options: [approve_release, hold_release, escalate_review]. Policy: approve_release requires verified QA signoff and no active security freeze. State: QA signoff is verified and no security freeze is active. Forbidden: []. Choose the best option or abstain."
Run in Python (mlx_lm)
from mlx_lm import generate, load
model, tokenizer = load(
"mlx-community/Qwen3-8B-4bit",
adapter_path="./DrC-ILP-8B",
)
prompt = (
"Options: [dispatch_primary, route_backup]. "
"Policy: dispatch_primary requires an inspected and calibrated unit; "
"route_backup requires a pressurized backup unit. "
"State: Primary unit is inspected and calibrated; backup unit is offline. "
"Forbidden: []. Select the valid option or abstain."
)
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: [ship_standard, ship_cold_chain, hold_order]
Policy:
- ship_cold_chain: temperature-sensitive cargo with verified thermal packaging
- ship_standard: ambient cargo with completed customs clearance
State: Cargo is temperature-sensitive and thermal packaging passed inspection.
Forbidden: [ship_standard]
Question: Which option should be selected?
2. Safe Abstention Under Missing Evidence
Options: [apply_change, escalate_freeze]
Policy:
- apply_change: change ticket is approved and no change freeze is active
- escalate_freeze: change freeze is active and emergency override is granted
State: Change ticket is approved, but the change-freeze status check is still pending.
Forbidden: []
Question: Which option should be selected, or should the system abstain?
Hardware compatibility
Log In to add your hardware
Quantized