Instructions to use ccore/CCORE-Web-Coder-4B 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 ccore/CCORE-Web-Coder-4B 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 ccore/CCORE-Web-Coder-4B:Q4_K_M # Run inference directly in the terminal: llama cli -hf ccore/CCORE-Web-Coder-4B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ccore/CCORE-Web-Coder-4B:Q4_K_M # Run inference directly in the terminal: llama cli -hf ccore/CCORE-Web-Coder-4B: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 ccore/CCORE-Web-Coder-4B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf ccore/CCORE-Web-Coder-4B:Q4_K_M
Use Docker
docker model run hf.co/ccore/CCORE-Web-Coder-4B:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use ccore/CCORE-Web-Coder-4B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ccore/CCORE-Web-Coder-4B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ccore/CCORE-Web-Coder-4B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ccore/CCORE-Web-Coder-4B:Q4_K_M
- Ollama
How to use ccore/CCORE-Web-Coder-4B with Ollama:
ollama run hf.co/ccore/CCORE-Web-Coder-4B:Q4_K_M
- Unsloth Desktop
- Pi
How to use ccore/CCORE-Web-Coder-4B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ccore/CCORE-Web-Coder-4B: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": "ccore/CCORE-Web-Coder-4B:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ccore/CCORE-Web-Coder-4B with Docker Model Runner:
docker model run hf.co/ccore/CCORE-Web-Coder-4B:Q4_K_M
- Lemonade
How to use ccore/CCORE-Web-Coder-4B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ccore/CCORE-Web-Coder-4B:Q4_K_M
Run and chat with the model
lemonade run user.CCORE-Web-Coder-4B-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use ccore/CCORE-Web-Coder-4B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ccore/CCORE-Web-Coder-4B: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 ccore/CCORE-Web-Coder-4B:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ccore/CCORE-Web-Coder-4B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ccore/CCORE-Web-Coder-4B: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 "ccore/CCORE-Web-Coder-4B: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 ccore/CCORE-Web-Coder-4B:# Run inference directly in the terminal:
llama cli -hf ccore/CCORE-Web-Coder-4B: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 ccore/CCORE-Web-Coder-4B:# Run inference directly in the terminal:
./build/bin/llama cli -hf ccore/CCORE-Web-Coder-4B:Use Docker
docker model run hf.co/ccore/CCORE-Web-Coder-4B:CCORE Web Coder 4B
CCORE Web Coder 4B turns a single brief into a website, slide deck, or web infographic. It returns one HTML file with the React components, styles, and interactions, ready to open in a browser and edit.
Why I trained it
I wanted to see how much design and implementation a 4B model could handle in one shot. For a presentation, that meant going from notes for a talk to a deck I’d be comfortable putting on screen.
One part of my training approach was to pair briefs with complete React documents so I could review the results in a browser. On a website, I could follow a visitor’s path from the home page to a booking form. On an infographic, I could check whether the chart matched the figures in the brief and whether the comparison was easy to see.
I explored the same idea of small models for creative work in two earlier projects, 3D Coder for Three.js scenes and GLB 3D Coder for exportable game assets.
Using the model
Direct use. To run it locally, load a GGUF in your preferred runner and set the system prompt below. Describe the audience, the information to include, and what the page should help them do. Save the final HTML as index.html and open it in a browser. The page loads React, ReactDOM, and Babel from a CDN.
In an open-source agent pipeline. A coordinating model can delegate web design to Web Coder. For example, a research agent could pass it a table of survey results and a brief for a presentation. Web Coder would return the deck as HTML. The pipeline could then render it, check the figures against the source table, and export a PDF.
System prompt
You design and build polished HTML experiences in React. Turn each brief into the format that best serves its audience and goal: a website or interface, a slide presentation, or an informational page. Follow the requested format when the brief specifies one.
Return only one complete HTML document, from <!doctype html> through </html>. Write all visible text in natural English and set the document language to en. The page must render when opened directly in a browser, without a build step.
Load these scripts in this order:
https://cdn.jsdelivr.net/npm/react@18.3.1/umd/react.production.min.js
https://cdn.jsdelivr.net/npm/react-dom@18.3.1/umd/react-dom.production.min.js
https://cdn.jsdelivr.net/npm/@babel/standalone@7.26.10/babel.min.js
Put all CSS in one <style> block. Put all JSX in one <script type="text/babel" data-presets="react"> block after <div id="root"></div>. Mount with ReactDOM.createRoot(document.getElementById("root")).render(<App />). Use named function components for major sections or slides and descriptive class names so the work can later be moved into Vite.
For websites and interfaces, organize the page around the main visitor task. Make navigation and the interactions requested in the brief work.
For presentations, give each slide one main point and arrange the slides around the takeaway or decision. Provide on-screen navigation and a Save as PDF button that opens the browser print dialog. In print, show all slides in order, with one complete slide per A4 landscape page. Hide on-screen controls and avoid clipped content or blank pages.
For informational pages, make the main takeaway easy to find. Use headings, diagrams, tables, or examples when they help explain the subject. Preserve figures and claims supplied in the brief. Label fictional data as illustrative when needed.
Use semantic markup, visible keyboard focus, and responsive layouts that work at 390px and 1440px. You may choose publicly accessible images that fit the brief. Use direct image URLs, descriptive alt text, and a styled fallback that preserves the layout if an image fails to load.
Weights and downloads
The final checkpoint is available in the formats below. Browse all model files
| Format | Download size | Use |
|---|---|---|
| Q4_K_M GGUF | 2.71 GB | The smallest download for local inference. |
| Q8_0 GGUF | 4.48 GB | The format used for the preview demos. |
| F16 GGUF | 8.42 GB | 16-bit weights for GGUF runtimes. |
| Original Safetensors | 17.49 GB total | Five shards for Transformers, with FP32 text weights and BF16 vision weights. |
If you downloaded Q8_0 before November 23, 2026 at 13:03:39 UTC, delete that local copy and download Q8_0 again. The final checkpoint uses the same filename as the earlier release.
The training dataset is now public with 3,500 web design examples. CCORE Web Designs
Optional vision projector. For image-input experiments, load the F16 projector alongside a model GGUF in a compatible multimodal runtime. It contains the original Qwen3.5-4B-Base vision weights converted to GGUF by mradermacher. Download the projector (641 MiB) · Projector source
Inference settings
A full response typically uses around 20,000 output tokens, including reasoning and HTML. Keep thinking enabled without a separate reasoning budget. Use unlimited output (-1 in runtimes that support it), or set a limit large enough for the whole document. An 8K output cap can stop generation before the closing </html> tag.
| Setting | Value |
|---|---|
| Temperature | 0.6–0.8 |
| Top-k | 40 |
| Top-p | 0.95 |
| Min-p | 0.05 |
| Repeat penalty | 1.0 |
Q8_0 generation speeds from the preview
The preview video recorded generation rates for a page of about 19,000 tokens. The figures below are from those runs.
Example briefs
These prompts come from the preview training data and illustrate the three formats.
Website
Give an appearance-model studio a portfolio of a handheld enclosure, a display stand, and a packaging insert, explaining the question each prototype helped a team examine.
Slide deck
Make a proposal deck for an evening language-support session after an illustrative survey found 22 of 60 respondents could not attend daytime hours. The pilot needs two helpers for four weekly sessions.
Web infographic or informational page
Make a one-page report on 20 illustrative camping-gear returns: 9 missing parts, 6 unclear sizing, and 5 changed plans, with a practical action beside each category.
View four larger examples from the preview
![]() |
![]() |
![]() |
![]() |
License
CCORE Web Coder 4B is an independent release trained from Qwen3.5-4B-Base. The model weights are available under the Apache 2.0 license.
Support the project
I develop and fund these models independently and release the weights for anyone to use. If this model helps with your work, a contribution helps cover GPU time and dataset curation for the next release.
Crypto donations
Bitcoin (BTC) · Bitcoin Network (SegWit)
bc1qr2gnr9g0uzk8rmsq0k6xpjgg4l7r0rfyrq69e6
Ethereum (ETH) · Ethereum Mainnet (ERC20)
0xa17608FCdeAd9e717Cd42e04127175527b4E75CB
Solana (SOL / USDC / USDT) · Solana Network
GhNmYmezKi1uWGKZeVxgddjiRW2rYNHZrf84ZaMcnha
- Downloads last month
- 5,796






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