Text Generation
GGUF
English
Korean
llama.cpp
mtp
multi-token-prediction
speculative-decoding
code
conversational
Instructions to use FINAL-Bench/Darwin-28B-Coder-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 FINAL-Bench/Darwin-28B-Coder-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 FINAL-Bench/Darwin-28B-Coder-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf FINAL-Bench/Darwin-28B-Coder-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 FINAL-Bench/Darwin-28B-Coder-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf FINAL-Bench/Darwin-28B-Coder-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 FINAL-Bench/Darwin-28B-Coder-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf FINAL-Bench/Darwin-28B-Coder-GGUF:Q4_K_M
Use Docker
docker model run hf.co/FINAL-Bench/Darwin-28B-Coder-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use FINAL-Bench/Darwin-28B-Coder-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FINAL-Bench/Darwin-28B-Coder-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": "FINAL-Bench/Darwin-28B-Coder-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/FINAL-Bench/Darwin-28B-Coder-GGUF:Q4_K_M
- Ollama
How to use FINAL-Bench/Darwin-28B-Coder-GGUF with Ollama:
ollama run hf.co/FINAL-Bench/Darwin-28B-Coder-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use FINAL-Bench/Darwin-28B-Coder-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf FINAL-Bench/Darwin-28B-Coder-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": "FINAL-Bench/Darwin-28B-Coder-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use FINAL-Bench/Darwin-28B-Coder-GGUF with Docker Model Runner:
docker model run hf.co/FINAL-Bench/Darwin-28B-Coder-GGUF:Q4_K_M
- Lemonade
How to use FINAL-Bench/Darwin-28B-Coder-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull FINAL-Bench/Darwin-28B-Coder-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Darwin-28B-Coder-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use FINAL-Bench/Darwin-28B-Coder-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 FINAL-Bench/Darwin-28B-Coder-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 FINAL-Bench/Darwin-28B-Coder-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use FINAL-Bench/Darwin-28B-Coder-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf FINAL-Bench/Darwin-28B-Coder-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 "FINAL-Bench/Darwin-28B-Coder-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"
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,74 +1,80 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
base_model: FINAL-Bench/Darwin-28B-Coder
|
| 4 |
-
base_model_relation: quantized
|
| 5 |
-
library_name: gguf
|
| 6 |
-
pipeline_tag: text-generation
|
| 7 |
-
tags:
|
| 8 |
-
- gguf
|
| 9 |
-
- llama.cpp
|
| 10 |
-
- mtp
|
| 11 |
-
- multi-token-prediction
|
| 12 |
-
- speculative-decoding
|
| 13 |
-
- code
|
| 14 |
-
language:
|
| 15 |
-
- en
|
| 16 |
-
- ko
|
| 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 |
-
|
| 74 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: FINAL-Bench/Darwin-28B-Coder
|
| 4 |
+
base_model_relation: quantized
|
| 5 |
+
library_name: gguf
|
| 6 |
+
pipeline_tag: text-generation
|
| 7 |
+
tags:
|
| 8 |
+
- gguf
|
| 9 |
+
- llama.cpp
|
| 10 |
+
- mtp
|
| 11 |
+
- multi-token-prediction
|
| 12 |
+
- speculative-decoding
|
| 13 |
+
- code
|
| 14 |
+
language:
|
| 15 |
+
- en
|
| 16 |
+
- ko
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
> ### π± Want it on your phone or a GPU-less PC? β **POCKET**
|
| 20 |
+
> VIDRAFT's on-device family: a 35B model that runs on **iPhone** and on **CPU with no GPU** β stock `llama.cpp`, no fork.
|
| 21 |
+
>
|
| 22 |
+
> [](https://huggingface.co/FINAL-Bench/POCKET-35B-GGUF) [](https://huggingface.co/FINAL-Bench/POCKET-KR-GGUF) [](https://huggingface.co/FINAL-Bench/POCKET-KR-MLX) [](https://huggingface.co/FINAL-Bench/POCKET-EN-GGUF)
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
# Darwin-28B-Coder β GGUF (MTP-enabled)
|
| 26 |
+
|
| 27 |
+
GGUF builds of [**FINAL-Bench/Darwin-28B-Coder**](https://huggingface.co/FINAL-Bench/Darwin-28B-Coder) with the native **Multi-Token Prediction (MTP)** head preserved, for **self-speculative decoding in llama.cpp**.
|
| 28 |
+
|
| 29 |
+
Requested in the [base model discussion](https://huggingface.co/FINAL-Bench/Darwin-28B-Coder/discussions/1).
|
| 30 |
+
|
| 31 |
+
## Files
|
| 32 |
+
|
| 33 |
+
| File | Quant | Size | Notes |
|
| 34 |
+
|------|-------|------|-------|
|
| 35 |
+
| `Darwin-28B-Coder-Q4_K_M.gguf` | Q4_K_M | 16.8 GB | recommended for most GPUs |
|
| 36 |
+
| `Darwin-28B-Coder-Q8_0.gguf` | Q8_0 | 29.0 GB | near-lossless |
|
| 37 |
+
| `Darwin-28B-Coder-F16.gguf` | F16 | 54.7 GB | full precision |
|
| 38 |
+
|
| 39 |
+
All files include the MTP layer β verified in metadata:
|
| 40 |
+
`general.architecture = qwen35`, `qwen35.nextn_predict_layers = 1`, tensors `blk.64.nextn.*`.
|
| 41 |
+
|
| 42 |
+
## Multi-Token Prediction (MTP)
|
| 43 |
+
|
| 44 |
+
This model ships with a trained MTP head (1 prediction layer). With a recent **llama.cpp** build that includes MTP support (merged in [PR #22673](https://github.com/ggml-org/llama.cpp/pull/22673)), the `nextn` layer is used for **self-speculative decoding** β typically **~1.5β2Γ faster generation with identical output** (the main model verifies every drafted token, so quality is unchanged).
|
| 45 |
+
|
| 46 |
+
> A standard (non-MTP) GGUF does **not** contain the prediction head β you need these MTP-enabled files to benefit from the speedup.
|
| 47 |
+
|
| 48 |
+
## Usage
|
| 49 |
+
|
| 50 |
+
```bash
|
| 51 |
+
# 1) Build a recent llama.cpp (MTP support is in mainline since PR #22673)
|
| 52 |
+
git clone https://github.com/ggml-org/llama.cpp && cd llama.cpp
|
| 53 |
+
cmake -B build -DGGML_CUDA=ON && cmake --build build -j --config Release
|
| 54 |
+
|
| 55 |
+
# 2) Run β the nextn (MTP) layer enables self-speculative decoding
|
| 56 |
+
./build/bin/llama-cli \
|
| 57 |
+
-m Darwin-28B-Coder-Q4_K_M.gguf \
|
| 58 |
+
-ngl 99 -c 8192 \
|
| 59 |
+
-p "Write a quicksort in Python."
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
For the exact MTP/speculative flags and the latest behaviour, see the llama.cpp MTP documentation / PR #22673. Works with `llama-cli` and `llama-server`.
|
| 63 |
+
|
| 64 |
+
## Model spec (public)
|
| 65 |
+
|
| 66 |
+
| | |
|
| 67 |
+
|---|---|
|
| 68 |
+
| Architecture | `qwen35` (hybrid attention) |
|
| 69 |
+
| Layers | 64 + 1 MTP |
|
| 70 |
+
| Hidden size | 5120 |
|
| 71 |
+
| Attention heads | 24 (KV 4) |
|
| 72 |
+
| Context length | 262,144 |
|
| 73 |
+
| Vocab | 248,320 |
|
| 74 |
+
| Precision (source) | bfloat16 |
|
| 75 |
+
|
| 76 |
+
## License & attribution
|
| 77 |
+
|
| 78 |
+
License and usage follow the base model [FINAL-Bench/Darwin-28B-Coder](https://huggingface.co/FINAL-Bench/Darwin-28B-Coder). These are GGUF conversions only; refer to the base model card for model details, intended use, and limitations.
|
| 79 |
+
|
| 80 |
+
GGUF conversion + quantization by the FINAL-Bench team using `llama.cpp/convert_hf_to_gguf.py`.
|