PeetPedro commited on
Commit
4fe3bb1
·
verified ·
1 Parent(s): b5b74a2

docs: polish eightb/profile as unified 8b.is Lab x kin.8b.is 45-model PeetPedro+eightb hub

Browse files
Files changed (1) hide show
  1. README.md +30 -150
README.md CHANGED
@@ -1,168 +1,48 @@
1
  ---
2
  tags:
3
- - rust
4
- - quantization
5
- - ternary
6
- - bitnet
7
- - ggml
8
- - simd
9
- - lora
10
- - finetuning
11
- - edge-ai
12
- license: mit
13
- library_name: smart-tree
14
  ---
15
 
16
- # 🧠 eightb — Eight-Bit Intelligence Systems
17
 
18
- <p align="center">
19
- <img src="https://img.shields.io/badge/rust-%23dea584.svg?logo=rust&logoColor=white"/>
20
- <img src="https://img.shields.io/badge/cloudflare-F38020?logo=cloudflare&logoColor=white"/>
21
- <img src="https://img.shields.io/badge/webassembly-654FF0?logo=webassembly&logoColor=white"/>
22
- <img src="https://img.shields.io/badge/mlx-ECEEF1?logo=apple&logoColor=black"/>
23
- </p>
24
 
25
- **Ultra-low precision neural networks • Quantization-native architectures • Edge-first inference**
 
 
 
26
 
27
  ---
28
 
29
- ## Philosophy
30
 
31
- Modern LLMs are bloated. We believe intelligence doesn't need FP32—or even FP16. By designing **from the ground up for ternary (-1, 0, +1) and low-bit representations**, we unlock:
32
-
33
- | Precision | Storage | MAC Energy | Typical Quality |
34
- |-----------|---------|------------|-----------------|
35
- | BF16 | 2× | 1× | Baseline |
36
- | INT8 | ¼× | ~⅓× | Near-baseline |
37
- | **INT2/I2_S** | **⅛×** | **~¹⁄₁₂×** | **Surprisingly good** |
38
-
39
- Our flagship: **BitNet 1.58-bit** — ternary weights trained straight-through estimator, no distillation tax.
40
 
41
  ---
42
 
43
- ## Repositories
44
 
45
- | Repo | Description | Status |
46
- |------|-------------|--------|
47
- | [`smart-tree`](https://huggingface.co/eightb/smart-tree) | SIMD-accelerated ternary inference engine (ARM NEON / AVX2 / WASM) | ✅ Active |
48
- | [`enthea`](https://github.com/peterlodri-sec/enthea) | Pure-Rust quantized linear algebra: GEMM, attention, MoE routing | ✅ Active |
49
- | [`felix-assembly`](https://github.com/peterlodri-sec/felix-assembly) | CPU-agnostic FELIX ISA for portable SIMD kernels | 🔬 Experimental |
50
- | [`quantlab`](https://github.com/peterlodri-sec/quantlab) | Automated quantization search: Pareto-Q, KD pipelines, RL tuning | 🚧 Building |
51
 
52
  ---
53
 
54
- ## Quick Start: `smart-tree` Binary
55
-
56
- ```bash
57
- # Download latest release
58
- curl -LO https://huggingface.co/eightb/smart-tree/resolve/main/st
59
- chmod +x st
60
-
61
- # Validate GGUF I2_S (Falcon3-3B-I2_S compatible)
62
- ./st gguf validate
63
-
64
- # Convert BitNetWave64 → I2_S hex
65
- ./st gguf convert --wave DEADBEEFDEADBEEF:FEEDFACEFEEDFACE
66
-
67
- # Inspect GGUF for ternary tensors
68
- ./st gguf inspect --file falcon3-3b-i2s.gguf
69
- ```
70
-
71
- ### As Library
72
-
73
- ```toml
74
- [dependencies]
75
- smart-tree = { git = "https://github.com/peterlodri-sec/smart-tree" }
76
- ```
77
-
78
- ```rust
79
- use smart_tree::{BitNetWave64, gguf_interop::{I2SPacker, GgufI2SBridge},
80
- simd_ternary::{simd_ternary_gemm_i2s, simd_backend},
81
- lora_ternary::{lorat_qwen2_5_05b, LoraTTrainer, LoraTConfig}};
82
-
83
- // Pack ternary weights to GGUF I2_S format
84
- let packed = I2SPacker::pack_trits(&[-1, 0, 1, 0, -1, 1]);
85
-
86
- // Full Wave64 ↔ I2_S roundtrip
87
- let i2s_bytes = GgufI2SBridge::wave64_to_i2s(&wave)?;
88
- let recovered = GgufI2SBridge::i2s_to_wave64(&i2s_bytes)?;
89
-
90
- // SIMD-accelerated GEMM
91
- println!("Backend: {}", simd_backend()); // "NEON (AArch64)" on Apple Silicon
92
- simd_ternary_gemm_i2s(&weights_i2s, rows, cols, &acts, &mut out, scales);
93
-
94
- // LoRA-T fine-tuning
95
- let mut model = lorat_qwen2_5_05b(LoraTConfig { rank: 16, ..Default::default() });
96
- let mut trainer = LoraTTrainer::new(&mut model, 1e-4);
97
- // ... training loop ...
98
- ```
99
-
100
- ---
101
-
102
- ## Architecture Highlights
103
-
104
- ### Ternary Bridge (Lossless) — Experiment 1 ✅
105
- ```
106
- BF16 ──► INT8 ◄──┐
107
- FP8(E4M3)◄───────┼─► TERNARY {-1,0,+1} ──► I2_S (GGUF type 36)
108
- FP8(E5M2)◄───────┘
109
- ```
110
- Zero-copy conversions with exact arithmetic guarantees.
111
-
112
- ### GGUF Native I2_S Support — Experiment 2 ✅
113
- First-class support for `quantization_type = 36 (I2_S)`:
114
- - MSB-first 4-trits/byte (Bits 6-7, 4-5, 2-3, 0-1)
115
- - Embedded/scales/env-configurable dequantization
116
- - Falcon3, BitNet.cpp, llama.cpp compatible
117
-
118
- ### SIMD Kernels — Experiment 3 ✅
119
- - **ARM64 NEON**: 8-lane vectorized, `vld1q_s16` + `vmull` + `vpadal`
120
- - **AVX2**: 8-lane `VPBLENDVB` mask blend, `VPMADDWD` horizontal sum
121
- - **Scalar fallback**: Branch-free, predictable latency
122
- - Integrated FELIX sovereign assembly engine
123
-
124
- ### LoRA-T Fine-Tuning — Experiment 4 ✅
125
- - **Freeze** pretrained ternary weights (I2_S / BitNetWave64)
126
- - **Inject** trainable low-rank adapters (A @ B) in FP32
127
- - **Forward**: `y = W_ternary @ x + α * (A @ B) @ x`
128
- - **Gradient** flows only through A, B (ranks 8-64)
129
- - **Fusion** for zero-overhead inference deployment
130
- - Factories for Qwen2.5-0.5B, custom transformers
131
-
132
- ---
133
-
134
- ## Roadmap
135
-
136
- - [x] **Experiment 1**: Ternary ↔ INT8/FP8/E4M3/E5M2 Lossless Bridge
137
- - [x] **Experiment 2**: GGUF I2_S (type 36) Interop
138
- - [x] **Experiment 3**: ARM64 NEON / AVX2 SIMD kernels for ternary GEMM
139
- - [x] **Experiment 4**: QLoRA-style ternary fine-tuning (LoRA-T)
140
- - [ ] **Experiment 5**: Mixed-precision profiler (layer-wise sensitivity)
141
- - [ ] **Experiment 6**: Residual injection scheduler (dynamic precision)
142
- - [ ] **Experiment 7**: Pareto-Q sequential allocator
143
- - [ ] **Experiment 8**: KD pipeline teacher→student (ternary)
144
- - [ ] **Experiment 9**: BITCOS cosine similarity retrieval
145
-
146
- ---
147
-
148
- ## Community
149
-
150
- - Discord: coming soon
151
- - Issues: [GitHub](https://github.com/peterlodri-sec/smart-tree/issues)
152
- - Papers: See [`SCIENCE.md`](https://github.com/peterlodri-sec/enthea/blob/main/SCIENCE.md)
153
-
154
- ---
155
-
156
- ## License
157
-
158
- MIT OR Apache-2.0 — Choose your adventure.
159
-
160
- ---
161
-
162
- <div align="center">
163
-
164
- **"Eight bits ought to be enough for anybody"** — *Probably not Bill Gates*
165
-
166
- Built with ❤️ by the eightb collective
167
 
168
- </div>
 
 
 
1
  ---
2
  tags:
3
+ - 8b-is
4
+ - sovereign
5
+ - ternary
6
+ - omnispherepop
7
+ - phx
8
+ - bare-metal
9
+ - rust
 
 
 
 
10
  ---
11
 
12
+ # 8b.is Sovereign AI Lab (`eightb` × `PeetPedro`)
13
 
14
+ > **Attention is ALL We Need.** Software is dead. Own your locally runnable, private, liberated companion — weight-programmed in zero-float bare-metal Rust & FASM, with visible **PHX `0x62` internal monologue** and snap-on **1.58-bit Latent LoRA Smart Glasses**.
 
 
 
 
 
15
 
16
+ - **Lab & Unified Companion App:** [kin.8b.is](https://kin.8b.is) · [kin.i1.is](https://kin.i1.is) (Pure Rust, `0 B` cloud egress, `0` Python, `0` Cloudflare)
17
+ - **Weight Programming Toolkit:** [8b-is/omnispherepop](https://github.com/8b-is/omnispherepop) (`v1.15.0` · `1.60 bpw` / `3.20 bpw` · `1,655 B` pure FASM→WASM autoregressive Transformer)
18
+ - **Internal Monologue & Security Substrate:** [8b-is/phx](https://github.com/8b-is/phx) (`v1.5.0` · `1,903 B` zero-alloc `#![no_std]` FASM capsule)
19
+ - **Unified Training Corpus:** [eightb/ultradogfood-unified](https://huggingface.co/datasets/eightb/ultradogfood-unified) (`67,990` rows across `default`, `mandala_optical_lora`, `phx_monologue`, `kernel_sec_reasoning`)
20
 
21
  ---
22
 
23
+ ## Unified Model Catalog (`PeetPedro` 41 + `eightb` 4 = 45 Repos)
24
 
25
+ | Companion Lane | Flagship Models | Quant / Format | Est. RAM | Role |
26
+ | :--- | :--- | :--- | :---: | :--- |
27
+ | **Everyday & Mental Clarity** | [PeetPedro/qwen4_exp-8b-obliterated-abliterated-kompress-ultra](https://huggingface.co/PeetPedro/qwen4_exp-8b-obliterated-abliterated-kompress-ultra) | `kompress-ultra` | `4.8 GB` | Liberated critical-thinking daily companion; anti-sycophancy |
28
+ | **Everyday & Mental Clarity** | [PeetPedro/foundation64k-v5-muad-dib](https://huggingface.co/PeetPedro/foundation64k-v5-muad-dib) | `GGUF 64k` | `2.4 GB` | 64K long-context private journal & clarity check-ins |
29
+ | **Socratic Education** | [PeetPedro/quantal-classroom-1.6](https://huggingface.co/PeetPedro/quantal-classroom-1.6) · [PeetPedro/quantal-ternary](https://huggingface.co/PeetPedro/quantal-ternary) | `1.60 bpw` / `b1.58` | `0.5–1.1 GB` | First-principles Socratic tutor & active recall |
30
+ | **Voice & Edge Offline** | [eightb/qwen35-4b-ospop-phx-fieldscan-v1.4](https://huggingface.co/eightb/qwen35-4b-ospop-phx-fieldscan-v1.4) · [PeetPedro/aurora-8b-voice-burn-rl](https://huggingface.co/PeetPedro/aurora-8b-voice-burn-rl) · [PeetPedro/anonymus-1bit-gpt](https://huggingface.co/PeetPedro/anonymus-1bit-gpt) | `1.60 bpw ospop` / `Burn-TTS` / `1-bit` | `0.3–4.2 GB` | Offline edge, spoken Burn voice & PHX FieldScan |
31
+ | **Deep Mind & Code** | [PeetPedro/Qwen3.8-27B-ColdFusion-Heretic-ManusDistill-v1](https://huggingface.co/PeetPedro/Qwen3.8-27B-ColdFusion-Heretic-ManusDistill-v1) · [eightb/nostd-rust-coder-ternary-engram-v1](https://huggingface.co/eightb/nostd-rust-coder-ternary-engram-v1) · [PeetPedro/qwen2.5-coder-32b-heretic-swe-sft](https://huggingface.co/PeetPedro/qwen2.5-coder-32b-heretic-swe-sft) · [PeetPedro/Qwen3-30B-A3B-Agentic-ToolCaller](https://huggingface.co/PeetPedro/Qwen3-30B-A3B-Agentic-ToolCaller) · [PeetPedro/gpt-oss-120b-heretic](https://huggingface.co/PeetPedro/gpt-oss-120b-heretic) | `1.58b` / `MLX` / `MoE` / `GGUF` | `1.2–64 GB` | Bare-metal Rust, deep synthesis, agentic local tools |
 
 
32
 
33
  ---
34
 
35
+ ## Verified Zero-Float Bare-Metal Benchmarks (`FP_OPS = 0`)
36
 
37
+ - **Bonsai FASM→WASM (`omnispherepop v1.15.0`):** `1,655 B` hand-assembled WebAssembly 1.0 full autoregressive Transformer (`0` float opcodes, `2,857.2 tok/s` in V8, `0-diff` 32-token parity vs `#![no_std]` Rust).
38
+ - **Ultra-`p/q`-MoE + `CavemanKvCache` (`v1.13.0`):** `13.82×` smaller sparse MoE weights, `75%` sparse compute saved, `11.64×` KV-cache RAM savings (`FP_OPS = 0`, 4-backend `PHX-USP` parity).
39
+ - **8b-esmlx-quant Metal 3:** `82.2 GB/s` 27B `.8bq` GEMV on M1 Max with 5-way `0-ULP` bit-exact parity (`Metal == AArch64 sdot == Rust Oracle`).
40
+ - **MLX-QUANT-LORA-OmnispherePop (`eightb/qwen35-4b-ospop-phx-fieldscan-v1.4`):** `17.30×` smaller `.ospop.safetensors` delta patches; `1.60 bpw` beats BF16 QLoRA on val PPL (`3.420` vs `3.527`).
 
 
41
 
42
  ---
43
 
44
+ ## Support the 8b.is Lab (Lovetta Lane)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
 
46
+ - **GitHub Sponsors:** https://github.com/sponsors/8b-is
47
+ - **Lovetta Lane (Wise / Direct):** https://vaked.dev
48
+ - **Unified App & Membership:** https://kin.8b.is