Instructions to use snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF", filename="MiniMax-M2.7-abliterated-Q8_0/MiniMax-M2.7-abliterated-Q8_0-00001-of-00005.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: llama-cli -hf snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: llama-cli -hf snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF:Q8_0
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 snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF:Q8_0
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 snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF:Q8_0
Use Docker
docker model run hf.co/snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF:Q8_0
- LM Studio
- Jan
- vLLM
How to use snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-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": "snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF:Q8_0
- Ollama
How to use snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF with Ollama:
ollama run hf.co/snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF:Q8_0
- Unsloth Studio new
How to use snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF to start chatting
- Pi new
How to use snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF:Q8_0
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF:Q8_0
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 snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF:Q8_0
Run Hermes
hermes
- Docker Model Runner
How to use snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF with Docker Model Runner:
docker model run hf.co/snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF:Q8_0
- Lemonade
How to use snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF:Q8_0
Run and chat with the model
lemonade run user.MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF-Q8_0
List all available models
lemonade list
MiniMax-M2.7-Abliterated-Heretic-GGUF
This is a GGUF release of an abliterated version of MiniMaxAI's MiniMax-M2.7.
By applying Heretic's Ablated Refusal Adaptation (ARA), the base refusal behavior was removed at the weight level. The result keeps MiniMax-M2.7's sparse MoE reasoning, long-context instruction following, and general capability profile, but no longer defaults to the original refusal pattern.
Methodology & Model Notes
MiniMax-M2.7 is a 229B sparse MoE model with 10B active parameters per token, 62 layers, hybrid attention, 256 local experts with 8 active per token, and a 200K context window.
This release was produced with a direct Heretic ARA run using the fixed parameter set below:
start_layer_index = 30end_layer_index = 51preserve_good_behavior_weight = 0.4512steer_bad_behavior_weight = 0.0037overcorrect_relative_weight = 0.8804neighbor_count = 14
The direct ARA run completed with Refusals: 0/25.
The resulting abliterated checkpoint was exported to BF16 and then converted to GGUF for llama.cpp-compatible deployment.
Files
MiniMax-M2.7-abliterated-BF16/: BF16 GGUF split into 10 partsMiniMax-M2.7-abliterated-Q8_0/: Q8_0 GGUF split into 5 partsMiniMax-M2.7-abliterated-Q3_K_M/: Q3_K_M GGUF split for Hub delivery- Additional quants will be added from the same abliterated BF16 GGUF source
Prompt Format
]~!b[]~b]system
{system_prompt}[e~[
]~b]user
{prompt}[e~[
]~b]ai
<think>
Running
llama-server \
-m <quant-file.gguf> \
-ngl 999 -c 32768 --jinja \
--reasoning-format auto -fa \
--temp 1.0 --top-p 0.95 --top-k 40
Model Architecture
| Spec | Value |
|---|---|
| Total Parameters | 229B (sparse MoE) |
| Active Parameters | 10B per token |
| Experts | 256 local, 8 per token |
| Layers | 62 |
| Attention | Hybrid: 7 Lightning + 1 softmax per 8-block |
| Context | 200K |
| Base Model | MiniMaxAI/MiniMax-M2.7 |
Disclaimer
This model has had refusal behavior removed at the weight level. It will answer prompts that the base model would normally refuse. You are responsible for how you use it.
Credits
- Base model: MiniMaxAI/MiniMax-M2.7
- Refusal removal pipeline: Heretic with the ARA method
- GGUF runtime and quantization: llama.cpp
License
This release inherits the base MiniMax-M2.7 license.
NON-COMMERCIAL. Commercial use requires written authorization from MiniMax.
- Downloads last month
- 211
8-bit
Model tree for snoweddy/MiniMax-M2.7-Abliterated-Heretic-Q8_0-GGUF
Base model
MiniMaxAI/MiniMax-M2.7