Instructions to use 1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use 1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF", filename="qwen3-coder-30b-a3b-codemonkey.Q4_K_M.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 1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf 1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf 1337Hero/qwen3-coder-30b-a3b-codemonkey-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 1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf 1337Hero/qwen3-coder-30b-a3b-codemonkey-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 1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf 1337Hero/qwen3-coder-30b-a3b-codemonkey-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 1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf 1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF:Q4_K_M
Use Docker
docker model run hf.co/1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use 1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "1337Hero/qwen3-coder-30b-a3b-codemonkey-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": "1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF:Q4_K_M
- Ollama
How to use 1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF with Ollama:
ollama run hf.co/1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF:Q4_K_M
- Unsloth Studio
How to use 1337Hero/qwen3-coder-30b-a3b-codemonkey-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 1337Hero/qwen3-coder-30b-a3b-codemonkey-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 1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for 1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF to start chatting
- Pi
How to use 1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf 1337Hero/qwen3-coder-30b-a3b-codemonkey-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": "1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use 1337Hero/qwen3-coder-30b-a3b-codemonkey-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 1337Hero/qwen3-coder-30b-a3b-codemonkey-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 1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF:Q4_K_M
Run Hermes
hermes
- Docker Model Runner
How to use 1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF with Docker Model Runner:
docker model run hf.co/1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF:Q4_K_M
- Lemonade
How to use 1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull 1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.qwen3-coder-30b-a3b-codemonkey-GGUF-Q4_K_M
List all available models
lemonade list
Qwen3-CodeMonkey v1
A fine-tuned version of qwen3-coder-30b-a3b, optimized for frontend development patterns and DHH-inspired simplicity.
TL;DR: I made Qwen faster but dumber. Q4_K_M hits 137 tps (63% faster gen than base) but drops 10 accuracy points. Your mileage may vary.
๐ฏ Motivation
I wanted a model that thinks like I do about frontend code:
- Simplicity over cleverness โ boring tech that works beats clever abstractions
- Convention over configuration โ follow patterns, don't invent new ones
- DHH/Ryan Florence-inspired โ majestic monolith vibes for the frontend stack
I work heavily in React/Preact + TanStack Query + Tailwind, and needed a model that could:
- Write clean, maintainable component code
- Avoid TypeScript ceremony and over-abstraction
- Default to proven patterns (no "clever" state management hacks)
- Generate code that a junior dev can understand 6 months later
๐ The Numbers (Honest Edition)
Benchmarked with scaffold-bench My own eval suite that tests real agentic coding work, not trivia or math puzzles. It throws 23 scenarios at the model (surgical edits, audits, scope discipline, verify-and-repair, implementation tasks) with actual tool use and real codebases.
Results (mean of 2 runs, 50-task subset):
| Model | Score | Gen TPS | Prompt TPS | Notes |
|---|---|---|---|---|
| qwen3-code-monkey (Q4_K_M) | 66.0% (33/50) | 137.3 | 1219 | Fastest, but -10pts accuracy |
| qwen3-coder-next (base) | 76.0% (38/50) | 84.4 | 953 | Baseline |
| qwen3-code-monkey-q8 | 33.0% (16.5/50) | 109.6 | 1444 | One run collapsed early โ needs investigation |
Translation: Q4 is 63% faster at generation but lost 10 accuracy points. If you're latency bound and can tolerate the trade-off, this might be your jam. If you need max accuracy, stick with base.
What scaffold-bench tests:
- No LLM judge - deterministic code-driven checks only
- Real tool use - read, ls, grep, glob, edit, write, bash
- Real scenarios - surgical edits, audits, scope discipline, implementation tasks against actual codebases
- Categories include: surgical edit, audit, scope discipline, read only analysis, verify and repair, implementation, responsiveness, long context
Sample categories where code-monkey struggled vs base:
- verify-and-repair - iterating through failing tests to green
- implementation - multi-file spec-to-code against existing stacks (wanted to rewrite everything my way instead of following the existing patterns)
- scope-discipline - "make this one change and nothing else" (my training data emphasized refactoring, which backfired)
Q8 caveat: One of the Q8 runs cratered to 8/50 after 64 requests - might be a harness issue, overfit collapse under tighter quantization, or early model failure. Take those numbers with salt until I re-run it.
Full benchmark details: Check out scaffold-bench if you want to run your own evals. All results/*.json files from my runs are in the codemonkey repo.
๐ ๏ธ Training Process (And Where I Screwed Up)
- Dataset: ~20,000 Q&A pairs pulled from my frontend philosophy docs (DHH's "majestic monolith" stuff + Ryan Florence's React patterns)
- Fine-tuning: LoRA adapter via Unsloth on Qwen3-Coder-30B-A3B-Instruct
- What I did wrong: Built the whole dataset as plain [question] โ [answer] pairs. No reasoning shown, no "wait, should I even do this?" step in the middle. Turns out the model learned the shape of my answers without learning how I got there.
- How it showed up: v1 benched at 32โ34/50 vs the base model's 37โ40/50. Worse than what I started with. The failures were the giveaway โ it would edit files when I asked read-only questions, jump straight to edits without reading anything first, skip searching before acting. Not a knowledge problem. A "doesn't stop to think" problem.
- The speed trap that fooled me: 138 tok/s vs base 84 tok/s looked like a win at first. It wasn't. It was faster because it was thinking less. Trinity-mini sits at the end of that road - blazing fast, fails everything, useless.
- What I'm doing for v2: Q&A alone teaches outputs, not process. Need explicit ... traces in the dataset - short, 2โ4 sentences, enough to encode the taboos ("read-only means read-only", "search before you edit", "don't re-add a feature that already exists"). Response-only supervision. Less distilled CoT cosplay, more structural alignment.
Lessons learned:
- Unsloth works great once you get past the docs
- 20k rows might've been overkill for the domain specificity I wanted
- Need to balance domain adaptation with general capability retention
- Benchmarking early would've saved me a re-train (and $47)
๐ฆ Files
qwen3-coder-30b-a3b-codemonkey.Q4_K_M.ggufโ recommended release artifact (fastest)qwen3-coder-30b-a3b-codemonkey.Q8_0.ggufโ larger reference GGUF (see caveat above)qwen3-coder-30b-a3b-codemonkey.BF16.ggufโ optional full-size BF16 source
All quantized from the merged BF16 GGUF (not requantized from Q8).
๐ Usage with llama.cpp
llama-cli \
--model qwen3-coder-30b-a3b-codemonkey.Q4_K_M.gguf \
--jinja \
-p "Write a React component that fetches user data with TanStack Query and displays it in a card."
- Downloads last month
- 59
4-bit
8-bit
Model tree for 1337Hero/qwen3-coder-30b-a3b-codemonkey-GGUF
Base model
Qwen/Qwen3-Coder-30B-A3B-Instruct