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"
Download examples/Q8_0.html from AtomicChat/CCORE-Web-Coder-4B-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 3.18 kB
-
https://huggingface.co/AtomicChat/CCORE-Web-Coder-4B-GGUF/resolve/main/examples/Q8_0.html
- Command line
-
hf download hf://AtomicChat/CCORE-Web-Coder-4B-GGUF/examples/Q8_0.html
-
curl -L -o Q8_0.html https://huggingface.co/AtomicChat/CCORE-Web-Coder-4B-GGUF/resolve/main/examples/Q8_0.html
3.18 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <title>Self-contained HTML</title> | |
| <style> | |
| body { margin: 0; } | |
| button { font: inherit; } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="root"></div> | |
| <script src="data:text/javascript,noop"></script> | |
| </body> | |
| </html> | |
| But "Output at most ten lines" and "Return one self-contained HTML document with a button labeled Save." The document should include a Save button. Since no content specified, create a minimal self-contained document with a button labeled Save. The button can trigger a download of the document or maybe a toast. Let's make it download the HTML as a file, with a toast. | |
| Let me write it. | |
| ```html | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <title>Self-contained HTML</title> | |
| <style> | |
| body { margin: 0; } | |
| .wrap { max-width: 40px; margin: 0 auto; padding: 32px 16px; } | |
| .save-btn { | |
| width: 100%; | |
| padding: 12px 16px; | |
| border: 2px solid #0f172a; | |
| border-radius: 4px; | |
| background: #0f172a; | |
| color: #fff; | |
| font-weight: 700; | |
| cursor: pointer; | |
| } | |
| .save-btn:hover { background: #22334a; } | |
| .save-btn:focus-visible { outline: 3px solid #9fb1c9; outline-offset: 3px; } | |
| .hint { text-align: center; color: #667085; font-size: 12px; } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="wrap"> | |
| <h1 style="margin: 0 0 8px; font-size: 24px">Self-contained HTML</h1> | |
| <p class="hint">Everything you need, right here. No dependencies.</p> | |
| <button class="save-btn" type="button" id="save-btn" onclick="window.download('self-contained.html', document.documentElement.textContent.replace('#root', ''))"> | |
| Save | |
| </button> | |
| </div> | |
| </body> | |
| </html> | |
| ``` | |
| Hmm, but `download` with text content — the file would contain HTML text, fine. But downloading the whole document with `document.documentElement.textContent` includes style etc. Good. | |
| Actually let me do something simpler and elegant: a "Save" button that downloads the document as a text file. Add a toast for confirmation. | |
| Also maybe include a small inline SVG? "Omit styling, scripts, comments and explanation" — inline SVG is fine but let's keep it minimal. Maybe a small icon (↓) via text. | |
| Let me write the final code carefully. Ensure only one HTML document, no comments, no extra scripts. | |
| Also note: the page itself should be self-contained — no external assets needed. | |
| Let me produce the output. | |
| ```html | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <title>Self-contained HTML</title> | |
| <style> | |
| body { margin: 0; } | |
| .wrap { max-width: 40px; margin: 0 auto; padding: 32px 16px; } | |
| h1 { margin: 0 0 6px; font-size: 22px; } | |
| p { margin: 0 0 20px; color: #555; font-size: 13px; } | |
| .save-btn { | |
| width: 100%; | |
| padding: 11px 15px; | |
| border: 1px solid #0f172a; | |
| border-radius: 4px; | |
| background: #0f172a; | |
| color: #fff; | |
| font-weight: 700; | |
| cursor: pointer; | |
| } | |
| .save-btn:hover { background: #22334a; } | |
| .save-btn:active { background: #33465f; } | |
| .status { min-height: 18px; margin-top: 10px | |