SeaWolf-AI commited on
Commit
ef8ab14
Β·
verified Β·
1 Parent(s): 5277d72

card: add insights cross-links (on-device / quantization)

Browse files
Files changed (1) hide show
  1. README.md +86 -82
README.md CHANGED
@@ -1,82 +1,86 @@
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
- > ### πŸ“± Run it on your phone or a GPU-less PC β†’ **POCKET** Β· πŸš€ **[Try it live (CPU chat)](https://huggingface.co/spaces/FINAL-Bench/POCKET-35B-CPU)**
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
- > [![Live demo](https://img.shields.io/badge/πŸ€—_Space-POCKET_CPU_chat-ffce3a)](https://huggingface.co/spaces/FINAL-Bench/POCKET-35B-CPU) [![Collection](https://img.shields.io/badge/πŸ“š-POCKET_collection-5dbf9a)](https://huggingface.co/collections/FINAL-Bench/pocket-models-6a618ee5d23eafb7e185a5c6) [![35B](https://img.shields.io/badge/POCKET--35B-GGUF-243456)](https://huggingface.co/FINAL-Bench/POCKET-35B-GGUF) [![KR MLX](https://img.shields.io/badge/POCKET--KR-iPhone-0f6e56)](https://huggingface.co/FINAL-Bench/POCKET-KR-MLX) [![EN](https://img.shields.io/badge/POCKET--EN-GGUF-185fa5)](https://huggingface.co/FINAL-Bench/POCKET-EN-GGUF)
23
-
24
- >
25
-
26
-
27
- # Darwin-28B-Coder β€” GGUF (MTP-enabled)
28
-
29
- 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**.
30
-
31
- Requested in the [base model discussion](https://huggingface.co/FINAL-Bench/Darwin-28B-Coder/discussions/1).
32
-
33
- ## Files
34
-
35
- | File | Quant | Size | Notes |
36
- |------|-------|------|-------|
37
- | `Darwin-28B-Coder-Q4_K_M.gguf` | Q4_K_M | 16.8 GB | recommended for most GPUs |
38
- | `Darwin-28B-Coder-Q8_0.gguf` | Q8_0 | 29.0 GB | near-lossless |
39
- | `Darwin-28B-Coder-F16.gguf` | F16 | 54.7 GB | full precision |
40
-
41
- All files include the MTP layer β€” verified in metadata:
42
- `general.architecture = qwen35`, `qwen35.nextn_predict_layers = 1`, tensors `blk.64.nextn.*`.
43
-
44
- ## Multi-Token Prediction (MTP)
45
-
46
- 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).
47
-
48
- > A standard (non-MTP) GGUF does **not** contain the prediction head β€” you need these MTP-enabled files to benefit from the speedup.
49
-
50
- ## Usage
51
-
52
- ```bash
53
- # 1) Build a recent llama.cpp (MTP support is in mainline since PR #22673)
54
- git clone https://github.com/ggml-org/llama.cpp && cd llama.cpp
55
- cmake -B build -DGGML_CUDA=ON && cmake --build build -j --config Release
56
-
57
- # 2) Run β€” the nextn (MTP) layer enables self-speculative decoding
58
- ./build/bin/llama-cli \
59
- -m Darwin-28B-Coder-Q4_K_M.gguf \
60
- -ngl 99 -c 8192 \
61
- -p "Write a quicksort in Python."
62
- ```
63
-
64
- 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`.
65
-
66
- ## Model spec (public)
67
-
68
- | | |
69
- |---|---|
70
- | Architecture | `qwen35` (hybrid attention) |
71
- | Layers | 64 + 1 MTP |
72
- | Hidden size | 5120 |
73
- | Attention heads | 24 (KV 4) |
74
- | Context length | 262,144 |
75
- | Vocab | 248,320 |
76
- | Precision (source) | bfloat16 |
77
-
78
- ## License & attribution
79
-
80
- 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.
81
-
82
- GGUF conversion + quantization by the FINAL-Bench team using `llama.cpp/convert_hf_to_gguf.py`.
 
 
 
 
 
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
+ > ### πŸ“± Run it on your phone or a GPU-less PC β†’ **POCKET** Β· πŸš€ **[Try it live (CPU chat)](https://huggingface.co/spaces/FINAL-Bench/POCKET-35B-CPU)**
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
+ > [![Live demo](https://img.shields.io/badge/πŸ€—_Space-POCKET_CPU_chat-ffce3a)](https://huggingface.co/spaces/FINAL-Bench/POCKET-35B-CPU) [![Collection](https://img.shields.io/badge/πŸ“š-POCKET_collection-5dbf9a)](https://huggingface.co/collections/FINAL-Bench/pocket-models-6a618ee5d23eafb7e185a5c6) [![35B](https://img.shields.io/badge/POCKET--35B-GGUF-243456)](https://huggingface.co/FINAL-Bench/POCKET-35B-GGUF) [![KR MLX](https://img.shields.io/badge/POCKET--KR-iPhone-0f6e56)](https://huggingface.co/FINAL-Bench/POCKET-KR-MLX) [![EN](https://img.shields.io/badge/POCKET--EN-GGUF-185fa5)](https://huggingface.co/FINAL-Bench/POCKET-EN-GGUF)
23
+
24
+ >
25
+
26
+
27
+ # Darwin-28B-Coder β€” GGUF (MTP-enabled)
28
+
29
+ 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**.
30
+
31
+ Requested in the [base model discussion](https://huggingface.co/FINAL-Bench/Darwin-28B-Coder/discussions/1).
32
+
33
+ ## Files
34
+
35
+ | File | Quant | Size | Notes |
36
+ |------|-------|------|-------|
37
+ | `Darwin-28B-Coder-Q4_K_M.gguf` | Q4_K_M | 16.8 GB | recommended for most GPUs |
38
+ | `Darwin-28B-Coder-Q8_0.gguf` | Q8_0 | 29.0 GB | near-lossless |
39
+ | `Darwin-28B-Coder-F16.gguf` | F16 | 54.7 GB | full precision |
40
+
41
+ All files include the MTP layer β€” verified in metadata:
42
+ `general.architecture = qwen35`, `qwen35.nextn_predict_layers = 1`, tensors `blk.64.nextn.*`.
43
+
44
+ ## Multi-Token Prediction (MTP)
45
+
46
+ 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).
47
+
48
+ > A standard (non-MTP) GGUF does **not** contain the prediction head β€” you need these MTP-enabled files to benefit from the speedup.
49
+
50
+ ## Usage
51
+
52
+ ```bash
53
+ # 1) Build a recent llama.cpp (MTP support is in mainline since PR #22673)
54
+ git clone https://github.com/ggml-org/llama.cpp && cd llama.cpp
55
+ cmake -B build -DGGML_CUDA=ON && cmake --build build -j --config Release
56
+
57
+ # 2) Run β€” the nextn (MTP) layer enables self-speculative decoding
58
+ ./build/bin/llama-cli \
59
+ -m Darwin-28B-Coder-Q4_K_M.gguf \
60
+ -ngl 99 -c 8192 \
61
+ -p "Write a quicksort in Python."
62
+ ```
63
+
64
+ 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`.
65
+
66
+ ## Model spec (public)
67
+
68
+ | | |
69
+ |---|---|
70
+ | Architecture | `qwen35` (hybrid attention) |
71
+ | Layers | 64 + 1 MTP |
72
+ | Hidden size | 5120 |
73
+ | Attention heads | 24 (KV 4) |
74
+ | Context length | 262,144 |
75
+ | Vocab | 248,320 |
76
+ | Precision (source) | bfloat16 |
77
+
78
+ ## License & attribution
79
+
80
+ 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.
81
+
82
+ GGUF conversion + quantization by the FINAL-Bench team using `llama.cpp/convert_hf_to_gguf.py`.
83
+
84
+ ## Learn more
85
+ - Running large coding models on-device without a GPU: [Can you run a large LLM without a GPU?](https://vidraft.net/insights/on-device-llm-without-gpu.html)
86
+ - What model quantization is: [What is model quantization?](https://vidraft.net/insights/what-is-quantization-llm.html)