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"
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:# Run inference directly in the terminal:
llama cli -hf AtomicChat/CCORE-Web-Coder-4B-GGUF: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:# Run inference directly in the terminal:
./build/bin/llama cli -hf AtomicChat/CCORE-Web-Coder-4B-GGUF:Use Docker
docker model run hf.co/AtomicChat/CCORE-Web-Coder-4B-GGUF: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.
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.
Files and quality
| GGUF | Disk (GB) | Mean KLD โ | KLD p99 โ | Top-1 agreement (%) โ | PPL / F16 |
|---|---|---|---|---|---|
| Q8_0 | 4.482 | 0.001419 | 0.009595 | 97.892 | 1.009032 |
| AD-Q6_K | 3.908 | 0.002825 | 0.019254 | 96.618 | 1.009252 |
| AD-Q6_K-Q5_K | 3.694 | 0.005940 | 0.034899 | 96.520 | 1.008901 |
| AD-Q5_K_M | 3.198 | 0.009515 | 0.063166 | 95.098 | 1.011284 |
| AD-Q5_K_M-Q4_K_M | 2.959 | 0.021711 | 0.118025 | 92.353 | 1.022309 |
| AD-Q4_K_M | 2.758 | 0.032291 | 0.211101 | 90.931 | 1.017797 |
| AD-IQ4_XS | 2.672 | 0.035948 | 0.223976 | 90.294 | 1.015274 |
| AD-IQ4_XS-IQ3_S | 2.323 | 0.096339 | 0.711955 | 85.343 | 1.081340 |
| AD-IQ3_S | 2.242 | 0.111574 | 0.647115 | 83.824 | 1.084933 |
| AD-IQ3_S-IQ3_XXS | 2.100 | 0.170223 | 1.189908 | 81.324 | 1.096263 |
| AD-IQ3_XXS | 1.970 | 0.225420 | 1.437425 | 78.235 | 1.086683 |
| AD-IQ2_S | 1.837 | 0.345203 | 1.855124 | 73.333 | 1.159487 |
| AD-IQ2_S-IQ2_XS | 1.649 | 0.463588 | 2.320591 | 68.873 | 1.230625 |
| AD-IQ2_XS | 1.593 | 0.519352 | 2.741723 | 68.333 | 1.228499 |
| AD-IQ2_XXS | 1.450 | 0.730560 | 3.589515 | 61.667 | 1.396788 |
| AD-IQ1_M | 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
Generation examples
The same short prompt 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, AD-Q5_K_M, Q8_0. 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 ยท Author's full design briefs and previews
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 ยท License ยท Attribution and changes ยท SHA-256 checksums
- Downloads last month
- 279




Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf AtomicChat/CCORE-Web-Coder-4B-GGUF:# Run inference directly in the terminal: llama cli -hf AtomicChat/CCORE-Web-Coder-4B-GGUF: