Instructions to use ahpah/Qwen3.5-4B-Designer 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 ahpah/Qwen3.5-4B-Designer 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 ahpah/Qwen3.5-4B-Designer:Q5_K_M # Run inference directly in the terminal: llama cli -hf ahpah/Qwen3.5-4B-Designer:Q5_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ahpah/Qwen3.5-4B-Designer:Q5_K_M # Run inference directly in the terminal: llama cli -hf ahpah/Qwen3.5-4B-Designer:Q5_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 ahpah/Qwen3.5-4B-Designer:Q5_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf ahpah/Qwen3.5-4B-Designer:Q5_K_M
Use Docker
docker model run hf.co/ahpah/Qwen3.5-4B-Designer:Q5_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use ahpah/Qwen3.5-4B-Designer with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ahpah/Qwen3.5-4B-Designer" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ahpah/Qwen3.5-4B-Designer", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ahpah/Qwen3.5-4B-Designer:Q5_K_M
- Ollama
How to use ahpah/Qwen3.5-4B-Designer with Ollama:
ollama run hf.co/ahpah/Qwen3.5-4B-Designer:Q5_K_M
- Unsloth Desktop
- Pi
How to use ahpah/Qwen3.5-4B-Designer with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ahpah/Qwen3.5-4B-Designer:Q5_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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ahpah/Qwen3.5-4B-Designer:Q5_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ahpah/Qwen3.5-4B-Designer with Docker Model Runner:
docker model run hf.co/ahpah/Qwen3.5-4B-Designer:Q5_K_M
- Lemonade
How to use ahpah/Qwen3.5-4B-Designer with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ahpah/Qwen3.5-4B-Designer:Q5_K_M
Run and chat with the model
lemonade run user.Qwen3.5-4B-Designer-Q5_K_M
List all available models
lemonade list
- Hermes Agent
How to use ahpah/Qwen3.5-4B-Designer with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ahpah/Qwen3.5-4B-Designer:Q5_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:9931/v1 hermes config set model.default ahpah/Qwen3.5-4B-Designer:Q5_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ahpah/Qwen3.5-4B-Designer with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ahpah/Qwen3.5-4B-Designer:Q5_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:9931/v1 \ --custom-model-id "ahpah/Qwen3.5-4B-Designer:Q5_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"
Qwen3.5-4B-Designer
A 3.08 GB Q5_K_M GGUF built on top of saidutta69/Qwen3.5-4B-heretic with an inference-time intelligence layer (no fine-tuning) embedded directly inside tokenizer.chat_template.
Ask it to design a landing page, portfolio, SaaS dashboard, interactive Three.js 3D scene/game, or playable HTML5 game like Flappy Bird—the GGUF's Jinja template inspects the user's request and dynamically injects curated design systems, Three.js ES module setups, shader/lighting rigs, and verified single-file HTML game patterns. Unrelated prompts receive zero overhead.
Download the GGUF · Browse the 25 knowledge guides
What's inside the intelligence layer
- Web Design & Six Cohesive Style Systems (
knowledge/design-direction.md,design-html.md,style-*.md): Editorial/Luxury, Dark Glass/Cinematic, SaaS Product Dashboard, Playful/Neobrutalist, Bento Showcase, and Minimal/Swiss—pairing expressive typography, CSS token palettes, responsive grids, working interactive JS controls, and accessibility without broken external<img>placeholders. - Three.js 3D Scenes & 3D Games (
knowledge/threejs-core.md,threejs-visuals.md,threejs-games.md,examples/threejs-scene.html): Pinned modern ES module<script type="importmap">(three@0.170.0+three/addons/),ACESFilmicToneMapping,SRGBColorSpace,PCFSoftShadowMap, 3-point + hemisphere lighting, proceduralCanvasTexture&InstancedMeshpatterns,OrbitControlswith damping,ResizeObserver, clampeddt, and 3D game physics/raycasting. - HTML5 Arcade & True Flappy Bird (
knowledge/game-bird-gap.md,game-loop.md,game-feel.md,game-arcade.md,examples/bird-game.html): Fixed-step1/120s simulation loop, circle-vs-rect collision, bright sky + skyline + clouds + striped scrolling grass, 3D-shaded green flared pipes, animated yellow bird with pitch dive, big top score, medal Game Over card, Web Audio SFX, and full keyboard/touch support.
No weights were trained or altered: all 426 tensors and packed tensor bytes are byte-identical to saidutta69/Qwen3.5-4B-heretic (Q5_K_M, payload SHA-256 b9ce3170e5b43efa5ebc93055e91d5a9a7f85ed32b6d17196564b885bfa3a820).
Run locally
Use a Qwen3.5-compatible build of llama.cpp with --jinja enabled:
hf download ahpah/Qwen3.5-4B-Designer Qwen3.5-4B-Designer-Q5_K_M.gguf --local-dir .
llama-server -m Qwen3.5-4B-Designer-Q5_K_M.gguf -c 12288 -ngl all --jinja --host 127.0.0.1
To compare against the raw Heretic base model without the intelligence layer, pass:
"chat_template_kwargs": {"designer_knowledge": false}
Validation (RTX 5070 + Headless Microsoft Edge)
Tested at 12,288 context on an NVIDIA RTX 5070 (33/33 layers offloaded to GPU, peak sampled VRAM 4,557 MiB):
- Routing checks: All Jinja template routing checks passed (Flappy Bird, Three.js scene, Three.js 3D game, domain-matched web design, all 6 style presets, multi-style overview, no false positive on prose
"three", follow-up context carry-over, caller system prompt + tools + toggle). - True Flappy Bird (Playwright headless Edge): Generated complete standalone HTML and passed all 9/9 automated gameplay checks (ready state, tap-to-start, gravity & Space flap, pause/resume, scrolling pipes, reachable gap & score-once, collision game-over, restart reset, zero runtime errors / zero external requests).
- Three.js 3D Diorama (Playwright SwiftShader WebGL): Generated complete modern ES-module Three.js scene (
Crystal Island) and passed all 4/4 WebGL & responsive checks with zero errors. - Web Design (
Kissa RoastersLanding Page):- Intelligence Layer ON: Warm editorial palette (
#F6F2E9/#1C1614),16interactive controls, embedded SVG/Canvas visuals (23,856chars), zero broken images, zero horizontal overflow on desktop & mobile (390x844), zero page errors. - Intelligence Layer OFF (raw base): Basic dark template (
7interactive controls, no SVG/Canvas graphics,14,041chars).
- Intelligence Layer ON: Warm editorial palette (
See validation/results.json and validation/embedding-report.json for full verification details.
Reproduce
Run embed_knowledge.py against Qwen3.5-4B-heretic-Q5_K_M.gguf (from saidutta69/Qwen3.5-4B-heretic revision fa5f2b7770ad98297f1cd15ff194150ba90182f7) and verify with evaluate.py. See NOTICE and LICENSE.
- Downloads last month
- 782
5-bit