talxcc commited on
Commit
fe60d81
Β·
verified Β·
1 Parent(s): ff78187

Update model lineage: PrismML -> Swift-Bonsai -> Tals-coder-01 (Custom Graft)

Browse files
Files changed (1) hide show
  1. README.md +30 -13
README.md CHANGED
@@ -15,31 +15,49 @@ tags:
15
  - reasoning
16
  - agentic
17
  base_model:
 
18
  - ukisai/Swift-Bonsai-2-GGUF
19
  - killy369/Ternary-Bonsai-2-27B-MTP-drafter-GGUF
20
  license: apache-2.0
21
  pipeline_tag: text-generation
22
  ---
23
 
24
- # ⚑ Tals-coder-01 (Custom GGUF Quant: Ternary Bonsai 2 + Grafted Native MTP)
25
 
26
- **Tals-coder-01** is a custom GGUF quantization and architectural graft of **Ternary Bonsai 2 (27B)**. Engineered specifically for consumer 16GB VRAM GPUs (RTX 4060 Ti 16GB, RTX 4070 Ti Super, RTX 4080/4090), it delivers **55–60 tokens/second** on a budget 128-bit memory bus (288 GB/s), scaling to **120–150+ tokens/second** on high-bandwidth hardware (RTX 3090, 4090, A100).
27
 
28
  ---
29
 
30
- ## 🧬 Architectural Pedigree & Custom GGUF Quantization
31
 
32
- This model is a custom GGUF quant built upon and fused from:
33
- 1. **Base Model:** Based on **[Swift-Bonsai-2-PQ2_0.gguf](https://huggingface.co/ukisai/Swift-Bonsai-2-GGUF)** by Ukisai β€” a 27B parameter Ternary model using Walsh-Hadamard rotation representation (`PQ2_0` 142 quantization).
34
- 2. **Native MTP Drafter:** Integrated with weights from **[Ternary-Bonsai-2-27B-MTP-drafter-GGUF](https://huggingface.co/killy369/Ternary-Bonsai-2-27B-MTP-drafter-GGUF)** by killy369 β€” featuring a 1-layer native Multi-Token Prediction (MTP) draft head with a 64k pruned vocabulary.
35
- 3. **The Custom Graft:** Rather than requiring users to configure and orchestrate separate target and draft models (`-m` and `-md`), **Tals-coder-01 grafts the 65th MTP layer and unrotated token embeddings directly into the core GGUF file** (`Tals-coder-01.gguf`), producing an all-in-one standalone model.
36
- 4. **Multimodal Vision:** Paired with **`Tals-coder-01-mmproj.gguf`** (0.63 GB CLIP Q8_0 vision tower) for full image comprehension, UI analysis, and diagram inspection.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
  ---
39
 
40
  ## 🌟 Why Tals-coder-01?
41
 
42
- * **All-in-One Model File:** The native MTP draft head is built directly into `Tals-coder-01.gguf` (`qwen35.nextn_predict_layers = 1`, `qwen35.block_count = 65`).
43
  * **Pruned Reasoning (No Overthinking):** Unlike verbose models that get trapped in endless monologue loops, Tals-coder-01 outputs direct, clean, and immediately functional code.
44
  * **55–60 tok/s on Budget 16GB Cards:** Breaks through the theoretical memory bandwidth barrier with verified **68%–85% MTP speculative draft acceptance**.
45
  * **100% VRAM Execution:** Runs 27B parameters, 128k context, and vision completely on GPU (~13.8–14.1 GB / 16.0 GB total) with **zero CPU/PCIe RAM spillover**.
@@ -158,10 +176,9 @@ Set your tool's API endpoint to:
158
 
159
  ## πŸ™ Credits & Acknowledgements
160
 
161
- Special thanks to the open-source creators whose foundational work made this custom GGUF quant distribution possible:
162
- * **[Ukisai](https://huggingface.co/ukisai/Swift-Bonsai-2-GGUF):** Creator of the original **Swift-Bonsai-2-PQ2_0.gguf** (Ternary Bonsai 2) model weights and quantization basis.
163
- * **[killy369 / Kilian](https://huggingface.co/killy369/Ternary-Bonsai-2-27B-MTP-drafter-GGUF):** Creator of the **Ternary-Bonsai-2-27B-MTP-drafter-GGUF** native draft weights and pruned 64k vocabulary.
164
- * **[Prism ML / Pascal](https://github.com/prism-ml):** For pioneering ternary Hadamard kernels and custom llama.cpp acceleration.
165
  * **Qwen Team:** For the underlying Qwen 3.5 architecture.
166
 
167
  Distributed under the **Apache 2.0** license.
 
15
  - reasoning
16
  - agentic
17
  base_model:
18
+ - prism-ml/Ternary-Bonsai-2-27B-gguf
19
  - ukisai/Swift-Bonsai-2-GGUF
20
  - killy369/Ternary-Bonsai-2-27B-MTP-drafter-GGUF
21
  license: apache-2.0
22
  pipeline_tag: text-generation
23
  ---
24
 
25
+ # ⚑ Tals-coder-01 (Custom GGUF Quant: PrismML β†’ Swift-Bonsai β†’ Grafted MTP)
26
 
27
+ **Tals-coder-01** is a custom GGUF quantization and architectural graft engineered for high-throughput coding on consumer 16GB VRAM GPUs (RTX 4060 Ti 16GB, RTX 4070 Ti Super, RTX 4080/4090). It delivers **55–60 tokens/second** on a budget 128-bit memory bus (288 GB/s), scaling to **120–150+ tokens/second** on high-bandwidth hardware (RTX 3090, 4090, A100).
28
 
29
  ---
30
 
31
+ ## 🧬 Architectural Lineage & Evolution
32
 
33
+ The lineage of this model follows a direct three-tier evolution:
34
+
35
+ ```
36
+ [1. Base Foundation] PrismML / Ternary-Bonsai-2-27B
37
+ β”‚ (Original Ternary {-1,0,+1} Walsh-Hadamard Architecture)
38
+ β–Ό
39
+ [2. Adaptation] Ukisai / Swift-Bonsai-2-GGUF
40
+ β”‚ (High-performance ternary PQ2_0 quantization)
41
+ β–Ό
42
+ [3. Custom Graft] talxcc / Tals-coder-01 (Our Model)
43
+ (Surgically grafts native MTP Drafter by killy369 into a single
44
+ unified GGUF file + Q8_0 Multimodal Vision + Pruned Reasoning)
45
+ ```
46
+
47
+ 1. **Base Foundation β€” [PrismML](https://huggingface.co/prism-ml):**
48
+ The foundational architecture originates from **[prism-ml/Ternary-Bonsai-2-27B-gguf](https://huggingface.co/prism-ml/Ternary-Bonsai-2-27B-gguf)**, the pioneer of 1.58-bit ternary {-1, 0, +1} neural weights and custom Walsh-Hadamard rotation kernels.
49
+ 2. **Intermediate Quant β€” [Ukisai](https://huggingface.co/ukisai/Swift-Bonsai-2-GGUF):**
50
+ Built upon **[Swift-Bonsai-2-PQ2_0.gguf](https://huggingface.co/ukisai/Swift-Bonsai-2-GGUF)**, which refined the ternary base weights for high-speed inference.
51
+ 3. **MTP Speculative Drafter β€” [killy369 / Kilian](https://huggingface.co/killy369/Ternary-Bonsai-2-27B-MTP-drafter-GGUF):**
52
+ Utilizes the trained 1-layer native Multi-Token Prediction (MTP) draft head weights and pruned 64k vocabulary from **[Ternary-Bonsai-2-27B-MTP-drafter-GGUF](https://huggingface.co/killy369/Ternary-Bonsai-2-27B-MTP-drafter-GGUF)**.
53
+ 4. **Our Custom GGUF Quant & Graft β€” Tals-coder-01:**
54
+ Rather than requiring users to manually run and orchestrate separate target and draft models (`-m` and `-md`), **Tals-coder-01 fuses the 65th MTP draft layer and unrotated token embeddings directly into the core GGUF file (`Tals-coder-01.gguf`)**. This creates a single all-in-one model with pruned, non-overthinking reasoning and native CLIP Q8_0 multimodal vision (`Tals-coder-01-mmproj.gguf`).
55
 
56
  ---
57
 
58
  ## 🌟 Why Tals-coder-01?
59
 
60
+ * **Single-File Grafted MTP:** The native MTP draft head is built directly into `Tals-coder-01.gguf` (`qwen35.nextn_predict_layers = 1`, `qwen35.block_count = 65`).
61
  * **Pruned Reasoning (No Overthinking):** Unlike verbose models that get trapped in endless monologue loops, Tals-coder-01 outputs direct, clean, and immediately functional code.
62
  * **55–60 tok/s on Budget 16GB Cards:** Breaks through the theoretical memory bandwidth barrier with verified **68%–85% MTP speculative draft acceptance**.
63
  * **100% VRAM Execution:** Runs 27B parameters, 128k context, and vision completely on GPU (~13.8–14.1 GB / 16.0 GB total) with **zero CPU/PCIe RAM spillover**.
 
176
 
177
  ## πŸ™ Credits & Acknowledgements
178
 
179
+ * **[PrismML](https://huggingface.co/prism-ml):** The original creators of the **Ternary-Bonsai-2-27B** architecture and pioneering Hadamard quantization kernels.
180
+ * **[Ukisai](https://huggingface.co/ukisai/Swift-Bonsai-2-GGUF):** For **Swift-Bonsai-2**, adapting and quantizing the ternary base weights.
181
+ * **[killy369 / Kilian](https://huggingface.co/killy369/Ternary-Bonsai-2-27B-MTP-drafter-GGUF):** For creating the **Ternary-Bonsai-2-27B-MTP-drafter-GGUF** native draft weights and pruned 64k vocabulary.
 
182
  * **Qwen Team:** For the underlying Qwen 3.5 architecture.
183
 
184
  Distributed under the **Apache 2.0** license.