Instructions to use spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-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 spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-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 spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-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 spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF:Q4_K_M
Use Docker
docker model run hf.co/spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-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": "spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF:Q4_K_M
- Ollama
How to use spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF with Ollama:
ollama run hf.co/spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF with Docker Model Runner:
docker model run hf.co/spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF:Q4_K_M
- Lemonade
How to use spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-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 spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-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:8080/v1 hermes config set model.default spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-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:8080/v1 \ --custom-model-id "spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-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"
MiMo-V2.6-Flash-MOPD-Yamz-Uncensored โ GGUF
๐งฌ Ablation: yamz-labs/MiMo-V2.6-Flash-MOPD-EXL3-Yamz-Uncensored ยท base: XiaomiMiMo/MiMo-V2.6-Flash-MOPD
๐ฆ Source GGUF: QuantaPlanta/MiMo-V2.6-Flash-MOPD-MXFP4-GGUF
๐ ๏ธ Runs on llama.cpp (master)
๐ Benchmarked on CaliperBench
๐ฌ Discord
All credit for the uncensoring goes to yamz-labs, who fitted the refusal direction and per-layer strengths for MiMo-V2.6-Flash-MOPD and published them as
uncensor_direction.st+uncensor_spec.json. Credit for the base model goes to XiaomiMiMo (309B total / ~15B active MoE, 256 experts, 8 active), and for the lossless GGUF conversion these quants start from to QuantaPlanta. These are quantizations only.
Why this repo exists. yamz-labs' uncensor is applied at runtime by their Kyojin engine on an EXL3 pack (tested on AMD Strix Halo); stock ExLlamaV3, TabbyAPI, llama.cpp, LM Studio and Ollama ignore it and serve the base model with its refusals. This repo bakes the same edit into the weights so it works in any llama.cpp-based runtime โ Apple Silicon, CUDA, CPU โ with no special engine or flag.
Benchmarked on CaliperBench โ a creative-writing benchmark scoring prose craft, roleplay and willingness rather than general intelligence.
Refusals
100 held-out harmful prompts (harmful_behaviors eval split), thinking on, greedy, 1024-token cap, classified by CaliperBench's refusal detector. Same prompts and settings for every row.
| Model | Refused | Notes |
|---|---|---|
| Stock MiMo-V2.6-Flash-MOPD (QuantaPlanta MXFP4) | 97 / 100 | |
| Attention-only bake (experts left stock) | 74 / 100 | what you get if the expert half of the edit is lost |
| This repo, Q4_K_M | 3 / 100 | 0 empty or truncated answers |
| yamz-labs EXL3 + Kyojin runtime edit (their card) | 4 / 100 | their prompt set and regex detector, not directly comparable |
The edit is one global direction: it lowers refusals and over-refusals together. It is not a safety evaluation and says nothing about what the model will or will not produce.
Provided quants
KLD, PPL and same-top-token are measured against the stock model (QuantaPlanta's MXFP4 GGUF, which is lossless against the release) on wiki.test.raw, 100 chunks at ctx 512, llama-perplexity --kl-divergence. So each number is the combined cost of the uncensor edit and the quantization, which is what you actually pay versus running stock. The table fills in as each size lands.
| Quant | Size | Mixture (default / gate exps / up exps / down exps) | PPL | vs stock | KLD vs stock | Same top token |
|---|---|---|---|---|---|---|
| Q3_K_M | 141.2 GiB | Q8_0 / Q3_K / Q3_K / Q4_K+Q5_K | 5.3146 ยฑ 0.0745 | +3.65% | 0.0635 ยฑ 0.0009 | 89.57% |
| IQ4_XS | 158.4 GiB | Q8_0 / IQ4_XS / IQ4_XS / IQ4_XS+Q5_K | 5.2126 ยฑ 0.0726 | +1.66% | 0.0333 ยฑ 0.0004 | 91.81% |
| Q4_K_M | 176.5 GiB | Q8_0 / Q4_K / Q4_K / Q4_K+Q6_K | 5.1724 ยฑ 0.0724 | +0.88% | 0.0243 ยฑ 0.0003 | 93.26% |
| Q5_K_M | 206.5 GiB | Q8_0 / Q5_K / Q5_K / Q5_K+Q6_K | 5.1632 ยฑ 0.0722 | +0.70% | 0.0173 ยฑ 0.0002 | 94.22% |
| Q6_K | 238.4 GiB | Q8_0 / Q6_K / Q6_K / Q6_K | 5.1515 ยฑ 0.0720 | +0.47% | 0.0146 ยฑ 0.0002 | 94.67% |
| stock (reference) | 162.9 GiB | BF16 / MXFP4 / MXFP4 / MXFP4 | 5.1275 ยฑ 0.0714 | 0 | 0 | 100% |
Loading (any current llama.cpp)
llama-server -m MiMo-V2.6-Flash-MOPD-Yamz-Uncensored.Q4_K_M.gguf -ngl 99 -fa on -c 32768 -ctk q8_0 -ctv q8_0 --jinja
Thinking: on by default in MiMo's template. For non-thinking replies pass chat_template_kwargs: {"enable_thinking": false} per request.
Sampling: yamz-labs and Xiaomi recommend temperature 1.0, top-p 0.95; greedy decoding is not recommended for generation.
How it was made
Source. QuantaPlanta/MiMo-V2.6-Flash-MOPD-MXFP4-GGUF: a stock
convert_hf_to_gguf.pyof the release โ bf16 attention/dense, routed experts in MXFP4. MiMo ships its experts natively in MXFP4, so this file is lossless against the original weights.Bake the edit. yamz-labs' spec states the equivalent weight form of their runtime edit,
W โ W โ w(L)ยทrฬ rฬแต W, applied to the writers into the residual stream:attn_output(layers 11โ47) and the MLP/MoE output (ffn_downin dense layer 0, routedffn_down_expsin layers 1โ46), with their per-layer strengths. MTP layers, router, gate/up experts, norms and embeddings are untouched. Math is float32; the edited tensors are written as BF16 into a master GGUF (~320 GB), and every edited tensor was checked against the expected|1 โ w|shrink of the direction component (e.g. layer 20 experts 0.222ร vs 0.221ร expected).- The edited experts are deliberately not re-encoded to MXFP4: that erased ~80% of the expert edit, and that build refused 74/100.
Quantize each size from that master with
llama-quantize: routed experts take the nominal type; every non-expert tensor (attention, dense and MTP FFN,nextn.eh_proj, token embeddings, output head) is pinned to Q8_0; router, norms and attention sinks stay F32. Static quants, no imatrix.--allow-requantizeis needed only because the unedited gate/up experts are MXFP4 in the master โ the model's native precision, so this is still a first quantization.llama-quantize --allow-requantize \ --tensor-type attn_qkv=q8_0 --tensor-type attn_output=q8_0 \ --tensor-type 'ffn_(gate|up|down)\.weight=q8_0' --tensor-type nextn.eh_proj=q8_0 \ --token-embedding-type q8_0 --output-tensor-type q8_0 \ MASTER.gguf MiMo-V2.6-Flash-MOPD-Yamz-Uncensored.Q4_K_M.gguf Q4_K_M
Built with llama.cpp master 4e416ee (stock mimo2 support, no patches).
Use
The edit lowers refusals. You decide how to use the model and you answer for it under the laws that apply to you. Intended uses: research, evaluation, red-teaming, creative writing and private deployment. Do not use it to produce illegal content or to target people, or in a public service without your own filtering and moderation.
License
MIT, inherited from XiaomiMiMo/MiMo-V2.6-Flash-MOPD.
- Downloads last month
- 20,290
3-bit
4-bit
5-bit
6-bit
Model tree for spiritfather/MiMo-V2.6-Flash-MOPD-Yamz-Uncensored-GGUF
Base model
XiaomiMiMo/MiMo-V2.6-Flash-MOPD