Instructions to use DarwinAnim8or/Trouper-v2-beta-12B-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 DarwinAnim8or/Trouper-v2-beta-12B-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 DarwinAnim8or/Trouper-v2-beta-12B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf DarwinAnim8or/Trouper-v2-beta-12B-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 DarwinAnim8or/Trouper-v2-beta-12B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf DarwinAnim8or/Trouper-v2-beta-12B-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 DarwinAnim8or/Trouper-v2-beta-12B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf DarwinAnim8or/Trouper-v2-beta-12B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/DarwinAnim8or/Trouper-v2-beta-12B-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use DarwinAnim8or/Trouper-v2-beta-12B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DarwinAnim8or/Trouper-v2-beta-12B-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": "DarwinAnim8or/Trouper-v2-beta-12B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DarwinAnim8or/Trouper-v2-beta-12B-GGUF:Q4_K_M
- Ollama
How to use DarwinAnim8or/Trouper-v2-beta-12B-GGUF with Ollama:
ollama run hf.co/DarwinAnim8or/Trouper-v2-beta-12B-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use DarwinAnim8or/Trouper-v2-beta-12B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf DarwinAnim8or/Trouper-v2-beta-12B-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": "DarwinAnim8or/Trouper-v2-beta-12B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use DarwinAnim8or/Trouper-v2-beta-12B-GGUF with Docker Model Runner:
docker model run hf.co/DarwinAnim8or/Trouper-v2-beta-12B-GGUF:Q4_K_M
- Lemonade
How to use DarwinAnim8or/Trouper-v2-beta-12B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull DarwinAnim8or/Trouper-v2-beta-12B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Trouper-v2-beta-12B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use DarwinAnim8or/Trouper-v2-beta-12B-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 DarwinAnim8or/Trouper-v2-beta-12B-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 DarwinAnim8or/Trouper-v2-beta-12B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use DarwinAnim8or/Trouper-v2-beta-12B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf DarwinAnim8or/Trouper-v2-beta-12B-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 "DarwinAnim8or/Trouper-v2-beta-12B-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"
Trouper-v2-12B โ GGUF
Quantized versions of Trouper-v2-12B, a roleplay-focused 12B fine-tune with trained <think> block interiority.
For the prompt format, character card setup, sampler recommendations, and sample transcripts, see the main model repo. This page only covers the quants themselves.
Files
| Quant | Size | Notes |
|---|---|---|
| IQ4_XS | ~6.74 GB | Smallest recommended. Fits 8 GB VRAM with room for context. |
| Q4_K_M | ~7.48 GB | Solid default for 8โ12 GB cards. |
| Q5_K_M | ~8.73 GB | Good quality/size balance. |
| Q6_K | ~10.1 GB | Near-lossless in practice. |
| Q8_0 | ~12.5 GB | Effectively lossless. |
| BF16 | ~24.5 GB | Full-precision reference / requantization source. |
All sub-8-bit quants were made with the custom importance matrix (imatrix.dat, included in this repo).
Why a custom imatrix?
An importance matrix guides quantization by recording which weights matter most over a set of calibration text โ weights that fire hard on that text get more precision, the rest give some up. Most GGUF quants calibrate on generic data (wikitext or similar), which is a poor match for how an RP model is actually used.
These quants were calibrated on a mix of:
- ~40% general-purpose data (bartowski's
calibration_datav3: prose, code, multilingual) to keep the model well-rounded, and - ~60% in-domain roleplay data sampled from Trouper's own training distribution โ real character cards, multi-turn RP exchanges, and
<think>blocks, rendered through the exact chat template the model expects at inference, with special tokens parsed as tokens rather than literal text.
The result is that the token patterns Trouper actually lives in โ persona adherence, think-block reasoning, the chat template scaffolding itself โ are protected during quantization instead of being treated as statistical noise. The difference matters most at IQ4_XS and Q4_K_M; from Q6_K up the imatrix is largely along for the ride.
imatrix.dat is included, so you can requantize to other formats from the BF16 with the same calibration.
How they were made
llama.cpp (built from main with CUDA), convert_hf_to_gguf.py at bf16, imatrix computed fully GPU-offloaded over 250 chunks of the calibration mix, then quantized from the bf16 base with --imatrix.
Which one should I grab?
- 8 GB VRAM: IQ4_XS
- 12 GB VRAM: Q5_K_M or Q6_K
- 16 GB+ VRAM: Q6_K or Q8_0
- CPU / partial offload: any of the above, smaller = faster
If you find issues with a specific quant (repetition, template weirdness, degraded think blocks), please open a discussion and mention which file โ that's exactly the kind of thing the custom imatrix is supposed to prevent, so reports help.
- Downloads last month
- 129
4-bit
5-bit
6-bit
8-bit
Model tree for DarwinAnim8or/Trouper-v2-beta-12B-GGUF
Base model
mistralai/Mistral-Nemo-Base-2407