--- license: apache-2.0 base_model: ccore/CCORE-Web-Coder-4B base_model_relation: quantized pipeline_tag: text-generation language: - en tags: - gguf - llama.cpp - qwen3_5 - web-development - react --- # CCORE Web Coder 4B GGUF CCORE Web Coder turns a design brief into a single HTML file for a website, slide deck or infographic. AtomicChat quantized the author's F16 text model into 16 GGUFs for local inference. **AD-Q4_K_M** fits in a 2.76 GB download and matches the F16 next-token choice at 90.93% of measured positions. **AD-Q5_K_M** raises agreement to 95.10% at 3.20 GB.
## Run locally Download one GGUF. This example uses the model's embedded chat template and the upstream system prompt. ```bash hf download AtomicChat/CCORE-Web-Coder-4B-GGUF CCORE-Web-Coder-4B-AD-Q4_K_M.gguf examples/system-prompt.txt --local-dir . llama-completion -m CCORE-Web-Coder-4B-AD-Q4_K_M.gguf -ngl 99 -c 32768 --single-turn \ --temp 0.7 --top-k 40 --top-p 0.95 --min-p 0.05 --repeat-penalty 1.0 -n -1 \ -sys "$(cat examples/system-prompt.txt)" -p "Create a responsive event page for a neighborhood book fair." ``` The author recommends leaving thinking enabled and allowing around 20,000 output tokens for a full design. Save the generated HTML as `index.html` and open it in a browser. Designs using the recommended React and Babel CDN scripts require internet access. The measurements below cover text input. For image input, a compatible multimodal runtime also needs the [upstream F16 vision projector](https://huggingface.co/ccore/CCORE-Web-Coder-4B/resolve/2a2d6220c081925187163570004cbf4e9cc31205/mmproj-Qwen3.5-4B-Base-F16.gguf). ## Files and quality | GGUF | Disk (GB) | Mean KLD ↓ | KLD p99 ↓ | Top-1 agreement (%) ↑ | PPL / F16 | |---|---:|---:|---:|---:|---:| | [Q8_0](./CCORE-Web-Coder-4B-Q8_0.gguf) | 4.482 | 0.001419 | 0.009595 | 97.892 | 1.009032 | | [AD-Q6_K](./CCORE-Web-Coder-4B-AD-Q6_K.gguf) | 3.908 | 0.002825 | 0.019254 | 96.618 | 1.009252 | | [AD-Q6_K-Q5_K](./CCORE-Web-Coder-4B-AD-Q6_K-Q5_K.gguf) | 3.694 | 0.005940 | 0.034899 | 96.520 | 1.008901 | | [AD-Q5_K_M](./CCORE-Web-Coder-4B-AD-Q5_K_M.gguf) | 3.198 | 0.009515 | 0.063166 | 95.098 | 1.011284 | | [AD-Q5_K_M-Q4_K_M](./CCORE-Web-Coder-4B-AD-Q5_K_M-Q4_K_M.gguf) | 2.959 | 0.021711 | 0.118025 | 92.353 | 1.022309 | | [AD-Q4_K_M](./CCORE-Web-Coder-4B-AD-Q4_K_M.gguf) | 2.758 | 0.032291 | 0.211101 | 90.931 | 1.017797 | | [AD-IQ4_XS](./CCORE-Web-Coder-4B-AD-IQ4_XS.gguf) | 2.672 | 0.035948 | 0.223976 | 90.294 | 1.015274 | | [AD-IQ4_XS-IQ3_S](./CCORE-Web-Coder-4B-AD-IQ4_XS-IQ3_S.gguf) | 2.323 | 0.096339 | 0.711955 | 85.343 | 1.081340 | | [AD-IQ3_S](./CCORE-Web-Coder-4B-AD-IQ3_S.gguf) | 2.242 | 0.111574 | 0.647115 | 83.824 | 1.084933 | | [AD-IQ3_S-IQ3_XXS](./CCORE-Web-Coder-4B-AD-IQ3_S-IQ3_XXS.gguf) | 2.100 | 0.170223 | 1.189908 | 81.324 | 1.096263 | | [AD-IQ3_XXS](./CCORE-Web-Coder-4B-AD-IQ3_XXS.gguf) | 1.970 | 0.225420 | 1.437425 | 78.235 | 1.086683 | | [AD-IQ2_S](./CCORE-Web-Coder-4B-AD-IQ2_S.gguf) | 1.837 | 0.345203 | 1.855124 | 73.333 | 1.159487 | | [AD-IQ2_S-IQ2_XS](./CCORE-Web-Coder-4B-AD-IQ2_S-IQ2_XS.gguf) | 1.649 | 0.463588 | 2.320591 | 68.873 | 1.230625 | | [AD-IQ2_XS](./CCORE-Web-Coder-4B-AD-IQ2_XS.gguf) | 1.593 | 0.519352 | 2.741723 | 68.333 | 1.228499 | | [AD-IQ2_XXS](./CCORE-Web-Coder-4B-AD-IQ2_XXS.gguf) | 1.450 | 0.730560 | 3.589515 | 61.667 | 1.396788 | | [AD-IQ1_M](./CCORE-Web-Coder-4B-AD-IQ1_M.gguf) | 1.387 | 0.995634 | 4.642663 | 57.451 | 1.652668 | Atomic Dynamic (AD) uses mixed precision across tensors. All 16 files passed a type check against the planned layout of 426 tensors. Disk sizes use decimal GB. Runtime memory also depends on context length and backend. The importance matrix used 256 chunks of 512 tokens from WikiText-2 raw train. Evaluation used eight chunks of 512 tokens from the test split on an NVIDIA RTX A6000. The reference F16 perplexity was 24.6221. Top-1 measures next-token agreement with F16. These language-model measurements cover a small prose sample. Web-design quality requires separate evaluation. [Benchmark logs and calibration matrix](https://huggingface.co/AtomicChat/CCORE-Web-Coder-4B-GGUF/tree/main/benchmarks) ## Generation examples The [same short prompt](./examples/smoke-prompt.txt) was run on F16 and all 16 quants with greedy decoding, a 2,048-token context and a 1,024-token generation cap. It asks for a complete HTML document containing a Save button. Download an output to inspect it locally: [AD-Q4_K_M](./examples/AD-Q4_K_M.html), [AD-Q5_K_M](./examples/AD-Q5_K_M.html), [Q8_0](./examples/Q8_0.html). The AD-Q4_K_M sample labels the button “Save” and wires it to the browser print dialog. Q8_0 produced a complete document and then continued generating markup until the token limit. The sample preserves that continuation. [Outputs for all variants and F16](./examples/smoke-outputs.json) · [Author's full design briefs and previews](https://huggingface.co/ccore/CCORE-Web-Coder-4B/blob/2a2d6220c081925187163570004cbf4e9cc31205/README.md) ## Provenance and license CCORE fine-tuned Qwen3.5-4B-Base for web design. AtomicChat produced the GGUF variants here from the author's F16 GGUF at revision `2a2d6220c081925187163570004cbf4e9cc31205` using llama.cpp `3cadf644b73227331a55bd80b0959ca6a13fc775`. The modification is weight quantization. The upstream weights and these derivatives are distributed under Apache License 2.0. [Source checkpoint](https://huggingface.co/ccore/CCORE-Web-Coder-4B/tree/2a2d6220c081925187163570004cbf4e9cc31205) · [License](./LICENSE) · [Attribution and changes](./NOTICE.txt) · [SHA-256 checksums](./SHA256SUMS)