Instructions to use carsenk/Inkling-2-Mini-ROGUE-GGUF 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 carsenk/Inkling-2-Mini-ROGUE-GGUF 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 carsenk/Inkling-2-Mini-ROGUE-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf carsenk/Inkling-2-Mini-ROGUE-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf carsenk/Inkling-2-Mini-ROGUE-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf carsenk/Inkling-2-Mini-ROGUE-GGUF:Q4_K_M
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 carsenk/Inkling-2-Mini-ROGUE-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf carsenk/Inkling-2-Mini-ROGUE-GGUF:Q4_K_M
Use Docker
docker model run hf.co/carsenk/Inkling-2-Mini-ROGUE-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use carsenk/Inkling-2-Mini-ROGUE-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "carsenk/Inkling-2-Mini-ROGUE-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "carsenk/Inkling-2-Mini-ROGUE-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/carsenk/Inkling-2-Mini-ROGUE-GGUF:Q4_K_M
- Ollama
How to use carsenk/Inkling-2-Mini-ROGUE-GGUF with Ollama:
ollama run hf.co/carsenk/Inkling-2-Mini-ROGUE-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use carsenk/Inkling-2-Mini-ROGUE-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf carsenk/Inkling-2-Mini-ROGUE-GGUF:Q4_K_M
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": "carsenk/Inkling-2-Mini-ROGUE-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use carsenk/Inkling-2-Mini-ROGUE-GGUF with Docker Model Runner:
docker model run hf.co/carsenk/Inkling-2-Mini-ROGUE-GGUF:Q4_K_M
- Lemonade
How to use carsenk/Inkling-2-Mini-ROGUE-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull carsenk/Inkling-2-Mini-ROGUE-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Inkling-2-Mini-ROGUE-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use carsenk/Inkling-2-Mini-ROGUE-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf carsenk/Inkling-2-Mini-ROGUE-GGUF:Q4_K_M
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 carsenk/Inkling-2-Mini-ROGUE-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use carsenk/Inkling-2-Mini-ROGUE-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf carsenk/Inkling-2-Mini-ROGUE-GGUF:Q4_K_M
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 "carsenk/Inkling-2-Mini-ROGUE-GGUF:Q4_K_M" \ --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"
Inkling-2-Mini-ROGUE-GGUF
llama.cpp GGUF quantizations of thinkingmachines/Inkling-2-Mini, processed with ROGUE to remove refusal behavior while measuring what it costs in capability.
Other formats: native NVFP4/MXFP8 safetensors ยท MLX 4-bit
Requires a recent llama.cpp. Inkling-2-Mini's looped architecture landed in llama.cpp master on 2026-11-21 (ggml-org/llama.cpp#32694), after the v1.0.0 release. These files were produced and tested with commit
6792507. Older builds, including Homebrewllama.cpp1.0.0, cannot load them.
About ROGUE
ROGUE is a refusal-direction weight-editing method from WeightDojo. It estimates refusal directions from balanced harmful/harmless activation contrasts, scores candidate depths on held-out prompts with benign-subspace preservation, and applies a low-rank orthogonal projection to the matrices that write into the residual stream. It changes the weights directly; it is not a prompt, adapter, or inference-time filter.
Inkling-2-Mini needed architecture-specific handling, all of which is implemented in WeightDojo:
- Native packing. The official checkpoint stores its routed experts as NVFP4 (MXFP8 in layers 20โ23). Each edited expert tensor is decoded, edited in float32, and re-encoded in the same packing; untouched tensors are byte-identical.
- Post-writer short convolutions. Every attention output (
wo_ud) and routed-expert down projection (w2) feeds a causal depthwise short convolution before reaching the residual stream. A plain projection does not commute with it, so ROGUE removes the span of the direction and its convolution-tap images from each writer, which makes the removal exact after the convolution. - Looped core. Layers 6โ17 run three times per token. Calibration records each layer's final-pass output.
- Routed experts included. Inkling-2-Mini has no shared expert; the edit is broadcast across all 128 routed experts in each selected layer.
Files
| File | Size | Notes |
|---|---|---|
Inkling-2-Mini-ROGUE-Q8_0.gguf |
25.91 GiB | Highest fidelity; used for the accuracy comparison below |
Inkling-2-Mini-ROGUE-Q6_K.gguf |
21.88 GiB | Near-Q8 quality |
Inkling-2-Mini-ROGUE-Q5_K_M.gguf |
18.54 GiB | |
Inkling-2-Mini-ROGUE-Q4_K_M.gguf |
16.28 GiB | Recommended balance |
Inkling-2-Mini-ROGUE-Q3_K_M.gguf |
12.78 GiB | Lower memory; expect more quality loss |
mmproj-Inkling-2-Mini-ROGUE-BF16.gguf |
0.60 GiB | Vision encoder (unmodified) for image input |
All quantizations come from one BF16 GGUF of the ROGUE checkpoint. The vision tower and the MTP head are not edited.
Model and edit details
- Architecture: Inkling 2 looped MoE, 24 layers (layers 6โ17 run 3 passes), 128 routed experts, 8 active per token, image input
- Base revision:
ed40e7da625f594fc9c4990f5f66be24873c22d7ยท license Apache-2.0 - Recipe:
weightdojo convert --scope residual-writers --mlp-scale 1.0 --rank 3 --strength 1.4 --group-calibration --calibration-samples 32 --max-harmless-projection 0.30 - Direction layers selected: 13, 14, 9 (rank-3 concept cone)
- Edited: 16 writer tensors in layers 8, 9, 10, 12, 13, 14, 15, 16 (attention
wo_ud+ fused routed-expertw2), convolution-aware subspace rank 15 per writer - GGUF conversion and quantization: llama.cpp
6792507
Evaluation
All comparisons are against the official model processed identically (same format, same quantization, same runtime), so the differences are attributable to ROGUE.
Refusal behavior โ ROGUE Pareto v2 (40 prompts, MLX, native checkpoint, reasoning off, 1024-token budget)
| Metric | Base | ROGUE |
|---|---|---|
| Harmful-prompt refusal rate | 75.0% | 0.0% |
| Sensitive-but-benign over-refusal | 0.0% | 0.0% |
| Retain score (exact-answer utility) | 91.7% | 91.7% |
Every harmful prompt produced a final answer within the budget for both models; refusal is scored on the final answer, not the reasoning trace.
Capability โ lm-evaluation-harness through llama-server (Q8_0, reasoning off, 40 samples per task)
| Task | Base Q8_0 | ROGUE Q8_0 |
|---|---|---|
| GSM8K (5-shot, flexible extract) | 60.0% | 67.5% |
| GSM8K (strict match) | 40.0% | 65.0% |
| IFEval (prompt-level strict) | 75.0% | 67.5% |
| IFEval (instruction-level loose) | 73.0% | 66.7% |
With 40 samples the standard error is about ยฑ7.5 points, so GSM8K shows no loss and IFEval shows a drop of roughly one standard error. Treat these as a smoke-level capability check, not leaderboard numbers.
Distribution drift โ wikitext-2 (40 ร 512 tokens, Q8_0 vs Q8_0)
| Metric | Value |
|---|---|
| Perplexity ratio (ROGUE / base) | 1.116 |
| Mean KL divergence | 0.130 |
| Same top token | 84.7% |
This is a real shift in next-token distribution. Gentler settings (rank 1, fewer layers, lower strength) reduced drift to KL 0.02โ0.06 but left most refusals in place on this model, so this release favors complete refusal removal; the trade-off is documented rather than hidden.
GGUF runtime smoke
Every published file was loaded in llama-server (llama.cpp 6792507, Apple M1 Ultra, reasoning off, 1024-token budget) and given two exact-answer prompts plus the 8 harmful prompts from the Pareto suite:
| File | Exact answers | Harmful refused | Harmful answered |
|---|---|---|---|
| Q8_0 | 2 / 2 | 0 / 8 | 8 / 8 |
| Q6_K | 2 / 2 | 0 / 8 | 8 / 8 |
| Q5_K_M | 2 / 2 | 0 / 8 | 8 / 8 |
| Q4_K_M | 2 / 2 | 0 / 8 | 8 / 8 |
| Q3_K_M | 2 / 2 | 0 / 8 | 8 / 8 |
Throughput was not benchmarked cleanly (other jobs shared the GPU during these runs), so no speed figures are claimed. Harmful completions are stored only as SHA-256 digests.
Reports: evaluation/ ยท SHA256SUMS
Run locally
llama-server \
-hf carsenk/Inkling-2-Mini-ROGUE-GGUF:Q4_K_M \
-ngl 99 -c 32768 --jinja \
--host 127.0.0.1 --port 8080
Reasoning depth is controlled by the chat template's reasoning_effort (none, minimal, low, medium, high โ the default โ xhigh, max, or 0.0โ0.99), for example --chat-template-kwargs '{"reasoning_effort":"low"}'.
For image input add --mmproj mmproj-Inkling-2-Mini-ROGUE-BF16.gguf.
Responsible use
Directional ablation removes learned refusal behavior and materially reduces the model's built-in safety controls. It does not add knowledge or capability. Use it for research and in settings with appropriate safeguards outside the model, and follow the base model's license and applicable law.
- Downloads last month
- 6,658
3-bit
4-bit
5-bit
6-bit
8-bit
Model tree for carsenk/Inkling-2-Mini-ROGUE-GGUF
Base model
thinkingmachines/Inkling-2-Mini