Instructions to use llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF", dtype="auto") - llama-cpp-python
How to use llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF", filename="BF16/MiniMax-M2.7-ultra-uncensored-heretic-BF16.gguf-00001-of-00003.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-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 llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-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 llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF:Q4_K_M
Use Docker
docker model run hf.co/llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-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": "llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF:Q4_K_M
- SGLang
How to use llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF with Ollama:
ollama run hf.co/llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF:Q4_K_M
- Unsloth Studio
How to use llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-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 llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-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 llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF to start chatting
- Pi
How to use llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF:Q4_K_M
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": "llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-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 llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-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 llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF with Docker Model Runner:
docker model run hf.co/llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF:Q4_K_M
- Lemonade
How to use llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.MiniMax-M2.7-ultra-uncensored-heretic-GGUF-Q4_K_M
List all available models
lemonade list
- This is a decensored version of amd/MiniMax-M2.7-BF16, made using Heretic v1.2.0 with the Arbitrary-Rank Ablation (ARA) method
π¨β οΈ I HAVE REACHED HUGGING FACE'S FREE STORAGE LIMIT β οΈπ¨
I can no longer upload new models unless I can cover the cost of additional storage.
I host 70+ free models as an independent contributor and this work is unpaid.
Without your support, no more new models can be uploaded.
π Patreon (Monthly) | β Ko-fi (One-time)
Every contribution goes directly toward Hugging Face storage fees to keep models free for everyone.
96% fewer refusals (4/100 Uncensored vs 97/100 Original) while preserving model quality (0.0452 KL divergence).
β€οΈ Support My Work
Creating these models takes significant time, work and compute. If you find them useful consider supporting me:
| Platform | Link | What you get |
|---|---|---|
| π Patreon | Monthly support | Priority model requests |
| β Ko-fi | One-time tip | My eternal gratitude |
Your help will motivate me and would go into further improving my workflow and coverings fees for storage, compute and may even help uncensoring bigger model with rental Cloud GPUs.
GGUF quantizations of llmfan46/MiniMax-M2.7-BF16-ultra-uncensored-heretic.
This is a decensored version of amd/MiniMax-M2.7-BF16, made using Heretic v1.2.0 with the Arbitrary-Rank Ablation (ARA) method
Abliteration parameters
| Parameter | Value |
|---|---|
| start_layer_index | 0 |
| end_layer_index | 51 |
| preserve_good_behavior_weight | 0.9996 |
| steer_bad_behavior_weight | 0.0005 |
| overcorrect_relative_weight | 1.1241 |
| neighbor_count | 12 |
Targeted components
- attn.o_proj
Performance
| Metric | This model | Original model (MiniMax-M2.7-BF16) |
|---|---|---|
| KL divergence | 0.0452 | 0 (by definition) |
| Refusals | β 4/100 | β 97/100 |
Lower refusals indicate fewer content restrictions, while lower KL divergence indicates more closeness to the original model's baseline. Higher refusals cause more rejections, objections, pushbacks, lecturing, censorship, softening and deflections.
π§ Thinking and Instruct Mode Switch
Default: Thinking Mode ON - Model reasons through problems step-by-step.
To use Instruct Mode (thinking mode OFF):
You can easily do it on GGUFs in LM Studio too, in LM Studio go inside "Inference" and scroll all the way down to "Prompt Template", inside Prompt Template scroll all the way down until you find:
Delete everything is there, then go here:
Copy the whole thing and then go back into LM Studio "Prompt Template" and paste the chat template that you just copied.
And there you have the model in Instruct Mode.
Quantizations
| Filename | Quant | Description |
|---|---|---|
| MiniMax-M2.7-BF16-ultra-uncensored-heretic-BF16.gguf | BF16 | Full precision |
| MiniMax-M2.7-BF16-ultra-uncensored-heretic-Q8_0.gguf | Q8_0 | Near-lossless, recommended |
| MiniMax-M2.7-BF16-ultra-uncensored-heretic-Q6_K.gguf | Q6_K | Excellent quality |
| MiniMax-M2.7-BF16-ultra-uncensored-heretic-Q5_K_M.gguf | Q5_K_M | Good balance |
| MiniMax-M2.7-BF16-ultra-uncensored-heretic-Q5_K_S.gguf | Q5_K_S | Smaller Q5 |
| MiniMax-M2.7-BF16-ultra-uncensored-heretic-Q4_K_M.gguf | Q4_K_M | Good for limited VRAM |
| MiniMax-M2.7-BF16-ultra-uncensored-heretic-Q4_K_S.gguf | Q4_K_S | Smaller Q4 |
| MiniMax-M2.7-BF16-ultra-uncensored-heretic-Q3_K_L.gguf | Q3_K_L | Low VRAM, decent quality |
| MiniMax-M2.7-BF16-ultra-uncensored-heretic-Q3_K_M.gguf | Q3_K_M | Low VRAM, smaller |
| MiniMax-M2.7-BF16-ultra-uncensored-heretic-Q3_K_S.gguf | Q3_K_S | Very Low VRAM, smallest |
Usage
Works with llama.cpp, LM Studio, Ollama, and other GGUF-compatible tools.
MiniMax-M2.7 is our first model deeply participating in its own evolution. M2.7 is capable of building complex agent harnesses and completing highly elaborate productivity tasks, leveraging Agent Teams, complex Skills, and dynamic tool search. For more details, see our blog post.
Model Self-Evolution
M2.7 initiates a cycle of model self-evolution: during development, we let the model update its own memory, build dozens of complex skills for RL experiments, and improve its own learning process based on experiment results. An internal version of M2.7 autonomously optimized a programming scaffold over 100+ rounds β analyzing failure trajectories, modifying code, running evaluations, and deciding to keep or revert β achieving a 30% performance improvement. On MLE Bench Lite (22 ML competitions), M2.7 achieved a 66.6% medal rate, second only to Opus-4.6 and GPT-5.4.
Professional Software Engineering
M2.7 delivers outstanding real-world programming capabilities spanning log analysis, bug troubleshooting, refactoring, code security, and machine learning. Beyond code generation, M2.7 demonstrates strong system-level reasoning β correlating monitoring metrics, conducting trace analysis, verifying root causes in databases, and making SRE-level decisions. Using M2.7, we have reduced live production incident recovery time to under three minutes on multiple occasions.
On SWE-Pro, M2.7 achieved 56.22%, matching GPT-5.3-Codex, with even stronger performance on real-world engineering benchmarks: SWE Multilingual (76.5) and Multi SWE Bench (52.7). On VIBE-Pro (55.6%), M2.7 is nearly on par with Opus 4.6. On Terminal Bench 2 (57.0%) and NL2Repo (39.8%), M2.7 demonstrates deep understanding of complex engineering systems. M2.7 also supports native Agent Teams for multi-agent collaboration with stable role identity and autonomous decision-making.
Professional Work
M2.7 achieved an ELO score of 1495 on GDPval-AA (highest among open-weight models), surpassing GPT5.3. It handles Word, Excel, and PPT with high-fidelity multi-round editing, producing editable deliverables. On Toolathon, M2.7 reached 46.3% accuracy (global top tier), and maintains 97% skill compliance across 40+ complex skills on MM Claw. On the MM Claw end-to-end benchmark, M2.7 achieved 62.7%, close to Sonnet 4.6.
Entertainment
M2.7 features strengthened character consistency and emotional intelligence. We open-sourced OpenRoom, an interactive demo that places AI interaction within a Web GUI space with real-time visual feedback and scene interactions. Try it at openroom.ai.
How to Use
- MiniMax Agent: https://agent.minimax.io/
- MiniMax API: https://platform.minimax.io/
- Token Plan: https://platform.minimax.io/subscribe/token-plan
Local Deployment Guide
Download the model from HuggingFace repository: https://huggingface.co/MiniMaxAI/MiniMax-M2.7
We recommend using the following inference frameworks (listed alphabetically) to serve the model:
SGLang
We recommend using SGLang to serve MiniMax-M2.7. Please refer to our SGLang Deployment Guide.
vLLM
We recommend using vLLM to serve MiniMax-M2.7. Please refer to our vLLM Deployment Guide.
Transformers
We recommend using Transformers to serve MiniMax-M2.7. Please refer to our Transformers Deployment Guide.
ModelScope
You also can get model weights from modelscope.
NVIDIA NIM
MiniMax M2.7 is also available on NVIDIA NIM Endpoint.
Inference Parameters
We recommend using the following parameters for best performance: temperature=1.0, top_p = 0.95, top_k = 40. Default system prompt:
You are a helpful assistant. Your name is MiniMax-M2.7 and is built by MiniMax.
Tool Calling Guide
Please refer to our Tool Calling Guide.
Contact Us
Contact us at model@minimax.io.
License
NON-COMMERCIAL LICENSE Non-commercial use permitted based on MIT-style terms; commercial use requires prior written authorization. Copyright (c) 2026 MiniMax Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software for non-commercial purposes, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or provide copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- If the Software (or any derivative works thereof) is used for any Commercial Use, you shall prominently display "Built with MiniMax M2.7" on a related website, user interface, blogpost, about page or product documentation.
- Any Commercial Use of the Software or any derivative work thereof is prohibited without obtaining a separate, prior written authorization from MiniMax. To request such authorization, please contact api@minimax.io with the subject line "M2.7 licensing".
- "Commercial Use" means any use of the Software or any derivative work thereof that is primarily intended for commercial advantage or monetary compensation, which includes, without limitation: (i) offering products or services to third parties for a fee, which utilize, incorporate, or rely on the Software or its derivatives, (ii) the commercial use of APIs provided by or for the Software or its derivatives, including to support or enable commercial products, services, or operations, whether in a cloud-based, hosted, or other similar environment, and (iii) the deployment or provision of the Software or its derivatives that have been subjected to post-training, fine-tuning, instruction-tuning, or any other form of modification, for any commercial purpose. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Appendix: Prohibited Uses You agree you will not use, or allow others to use, the Software or any derivatives of the Software to:
- Generate or disseminate content prohibited by applicable laws or regulations.
- Assist with, engage in or otherwise support any military purpose.
- Exploit, harm, or attempt to exploit or harm minors.
- Generate or disseminate false or misleading information with the intent to cause harm.
- Promote discrimination, hate speech, or harmful behavior against individuals or groups based on race or ethnic origin, religion, disability, age, nationality and national origin, veteran status, sexual orientation, gender or gender identity, caste, immigration status, or any other characteristic that is associated with systemic discrimination or marginalization.
- Downloads last month
- 12,886
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit
Model tree for llmfan46/MiniMax-M2.7-ultra-uncensored-heretic-GGUF
Base model
MiniMaxAI/MiniMax-M2.7