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, procedural CanvasTexture & InstancedMesh patterns, OrbitControls with damping, ResizeObserver, clamped dt, 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-step 1/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 Roasters Landing Page):
    • Intelligence Layer ON: Warm editorial palette (#F6F2E9 / #1C1614), 16 interactive controls, embedded SVG/Canvas visuals (23,856 chars), zero broken images, zero horizontal overflow on desktop & mobile (390x844), zero page errors.
    • Intelligence Layer OFF (raw base): Basic dark template (7 interactive controls, no SVG/Canvas graphics, 14,041 chars).

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
GGUF
Model size
4B params
Architecture
qwen35
Hardware compatibility
Log In to add your hardware

5-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ahpah/Qwen3.5-4B-Designer

Finetuned
Qwen/Qwen3.5-4B
Quantized
(3)
this model