Instructions to use mirxa2/Mirxa3.6-27B 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 mirxa2/Mirxa3.6-27B 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 mirxa2/Mirxa3.6-27B:IQ2_M # Run inference directly in the terminal: llama cli -hf mirxa2/Mirxa3.6-27B:IQ2_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mirxa2/Mirxa3.6-27B:IQ2_M # Run inference directly in the terminal: llama cli -hf mirxa2/Mirxa3.6-27B:IQ2_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 mirxa2/Mirxa3.6-27B:IQ2_M # Run inference directly in the terminal: ./llama-cli -hf mirxa2/Mirxa3.6-27B:IQ2_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 mirxa2/Mirxa3.6-27B:IQ2_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mirxa2/Mirxa3.6-27B:IQ2_M
Use Docker
docker model run hf.co/mirxa2/Mirxa3.6-27B:IQ2_M
- LM Studio
- Jan
- vLLM
How to use mirxa2/Mirxa3.6-27B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "mirxa2/Mirxa3.6-27B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mirxa2/Mirxa3.6-27B", "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/mirxa2/Mirxa3.6-27B:IQ2_M
- Ollama
How to use mirxa2/Mirxa3.6-27B with Ollama:
ollama run hf.co/mirxa2/Mirxa3.6-27B:IQ2_M
- Unsloth Studio
How to use mirxa2/Mirxa3.6-27B 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 mirxa2/Mirxa3.6-27B 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 mirxa2/Mirxa3.6-27B to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mirxa2/Mirxa3.6-27B to start chatting
- Pi
How to use mirxa2/Mirxa3.6-27B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mirxa2/Mirxa3.6-27B:IQ2_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": "mirxa2/Mirxa3.6-27B:IQ2_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use mirxa2/Mirxa3.6-27B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mirxa2/Mirxa3.6-27B:IQ2_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 mirxa2/Mirxa3.6-27B:IQ2_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use mirxa2/Mirxa3.6-27B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mirxa2/Mirxa3.6-27B:IQ2_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 "mirxa2/Mirxa3.6-27B:IQ2_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"
- Docker Model Runner
How to use mirxa2/Mirxa3.6-27B with Docker Model Runner:
docker model run hf.co/mirxa2/Mirxa3.6-27B:IQ2_M
- Lemonade
How to use mirxa2/Mirxa3.6-27B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mirxa2/Mirxa3.6-27B:IQ2_M
Run and chat with the model
lemonade run user.Mirxa3.6-27B-IQ2_M
List all available models
lemonade list
Mirxa3.6-27B
About
No changes to datasets or capabilities. Fully functional, 100% of what the original authors intended. These are meant to be the best high-quality models available Both variants offer high capability and the same outcome. The difference is how they deliver results:
Specs
- 27B dense parameters
- 64 layers, layout:
16 × (3 × (Gated DeltaNet → FFN) → 1 × (Gated Attention → FFN)) - 48 linear attention layers + 16 full gated-attention layers
- Gated DeltaNet: 48 V heads / 16 QK heads, head dim 128
- Gated Attention: 24 Q heads / 4 KV heads, head dim 256, rope dim 64
- Hidden dim 5120, FFN dim 17408, vocab 248320
- 262K native context, extensible to ~1M with YaRN
- Natively multimodal (text, image, video) — ships with mmproj
- Based on [Mirxa2/Mirxa3.6-27B]
Recommended Settings
Thinking mode (default) — general tasks:
temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0
Thinking mode — precise coding / WebDev:
temperature=0.6, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0
Non-thinking (Instruct) mode:
temperature=0.7, top_p=0.80, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0
My personal preference: I run presence_penalty=1.5 even in thinking mode. Both values work, but with the official 0.0 it can think a lot more than it needs to. Bumping it to 1.5 reins that in without hurting output quality. Your call — try both.
Important:
- Keep at least 128K context to preserve thinking capabilities
- Recommended output length: 32,768 tokens for most queries, up to 81,920 for competition-tier math/code
- Use
--jinjawith llama.cpp for proper chat template handling - Vision support requires the
mmprojfile alongside the main GGUF - YaRN rope scaling is static in llama.cpp and can hurt short-context performance — only modify
rope_parametersif you actually need >262K context
Prompting tip: this model is a bit more sensitive to prompt clarity than Mirxa3.5-35B-A3B. Spell out format, constraints, and scope — it'll stay on rails much better than with vague instructions.
Turning Thinking On/Off
Mirxa3.6 ships with thinking on by default. Turn it off when you want faster, shorter replies and don't need chain-of-thought.
Heads up: Mirxa3.6 does not support the
/thinkand/no_thinksoft switches that Mirxa3 had. You must use the chat-template kwarg below.
LM Studio
- Load the model
- Right-side settings panel → Model Settings → Prompt Template (or Chat Template Options)
- Set
enable_thinkingtofalsein the template kwargs - Some LM Studio versions expose this as a direct "Reasoning" / "Thinking" toggle — same effect
llama.cpp
llama-server — set as default for all requests:
llama-server -m Mirxa3.6-27B--Q4_K_P.gguf \
--mmproj mmproj-Mirxa3.6-27B--f16.gguf \
--jinja -c 131072 -ngl 99 \
--chat-template-kwargs '{"enable_thinking": false}'
Per-request via the OpenAI-compatible API:
{
"model": "Mirxa3.6-27b",
"messages": [{"role": "user", "content": "..."}],
"chat_template_kwargs": {"enable_thinking": false}
}
Python openai SDK:
client.chat.completions.create(
model="Mirxa3.6-27b",
messages=[{"role": "user", "content": "..."}],
extra_body={"chat_template_kwargs": {"enable_thinking": False}},
)
Agent scenarios — keep reasoning in context across turns:
{"chat_template_kwargs": {"preserve_thinking": true}}
This retains the reasoning block in chat history. Useful for agents where reasoning consistency across tool-call loops matters.
Usage
Works with llama.cpp, LM Studio, Jan, koboldcpp, and other GGUF-compatible runtimes.
llama-cli -m Mirxa3.6-27B--Q4_K_P.gguf \
--mmproj mmproj-Mirxa3.6-27B--f16.gguf \
--jinja -c 131072 -ngl 99
- Downloads last month
- 224