Instructions to use AtomicChat/CCORE-Web-Coder-4B-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 AtomicChat/CCORE-Web-Coder-4B-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 AtomicChat/CCORE-Web-Coder-4B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf AtomicChat/CCORE-Web-Coder-4B-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 AtomicChat/CCORE-Web-Coder-4B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf AtomicChat/CCORE-Web-Coder-4B-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 AtomicChat/CCORE-Web-Coder-4B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf AtomicChat/CCORE-Web-Coder-4B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/AtomicChat/CCORE-Web-Coder-4B-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use AtomicChat/CCORE-Web-Coder-4B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AtomicChat/CCORE-Web-Coder-4B-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": "AtomicChat/CCORE-Web-Coder-4B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/AtomicChat/CCORE-Web-Coder-4B-GGUF:Q4_K_M
- Ollama
How to use AtomicChat/CCORE-Web-Coder-4B-GGUF with Ollama:
ollama run hf.co/AtomicChat/CCORE-Web-Coder-4B-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use AtomicChat/CCORE-Web-Coder-4B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AtomicChat/CCORE-Web-Coder-4B-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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "AtomicChat/CCORE-Web-Coder-4B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use AtomicChat/CCORE-Web-Coder-4B-GGUF with Docker Model Runner:
docker model run hf.co/AtomicChat/CCORE-Web-Coder-4B-GGUF:Q4_K_M
- Lemonade
How to use AtomicChat/CCORE-Web-Coder-4B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull AtomicChat/CCORE-Web-Coder-4B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.CCORE-Web-Coder-4B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use AtomicChat/CCORE-Web-Coder-4B-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 AtomicChat/CCORE-Web-Coder-4B-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:9931/v1 hermes config set model.default AtomicChat/CCORE-Web-Coder-4B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use AtomicChat/CCORE-Web-Coder-4B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf AtomicChat/CCORE-Web-Coder-4B-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:9931/v1 \ --custom-model-id "AtomicChat/CCORE-Web-Coder-4B-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"
File size: 6,468 Bytes
b081c86 2bfbbd2 b081c86 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | ---
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.
<div style="display: flex; gap: 8px; align-items: center; margin-top: 10px; margin-bottom: 10px;">
<a href="https://atomic.chat/?utm_source=huggingface&utm_medium=referral&utm_campaign=hf_ccore_web_coder_4b_gguf&utm_content=btn_atomic" rel="noreferrer"><img src="./assets/btn_atomic.png" width="162" alt="Atomic Chat" referrerpolicy="no-referrer"></a>
<a href="https://discord.gg/8wGSsvmg4V" rel="noreferrer"><img src="./assets/btn_discord.png" width="119" alt="Discord" referrerpolicy="no-referrer"></a>
<a href="https://github.com/AtomicBot-ai/Atomic-Chat" rel="noreferrer"><img src="./assets/btn_github.png" width="115" alt="GitHub" referrerpolicy="no-referrer"></a>
<a href="https://x.com/atomic_chat_hq" rel="noreferrer"><img src="./assets/btn_x.png" width="108" alt="X" referrerpolicy="no-referrer"></a>
</div>
## 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)
|