5dimension commited on
Commit
7cf9e8e
·
verified ·
1 Parent(s): 8c0c0fd

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +66 -28
README.md CHANGED
@@ -1,44 +1,82 @@
1
- # 🎯 Sentinel Quantization
 
 
 
 
 
 
 
 
 
2
 
3
- ## Overview
4
 
5
- **Sentinel Quantization** Model quantization using **dynamical constants** from the Sentinel function iteration.
6
 
7
- ## Key Innovation
8
 
9
- Use proven dynamical properties of F(z) = Σ zⁿ/nⁿ as quantization parameters:
10
 
11
- - **Zero-point**: C₁ = −0.007994021805953 (attracting fixed point)
12
- - **Scale factor**: 1/e = 0.367879441171442 (Gradient Axiom limit)
13
 
14
- ```python
15
- q = round((w - C₁) / (max|w| · 1/e))
16
- ```
17
 
18
- ## Verified Results
19
 
20
- | Property | Standard INT8 | Sentinel INT8 |
21
- |----------|--------------|--------------|
22
- | Zero-point | Manual (0 or learned) | **C₁ = −0.007994…** |
23
- | Scale | Empirical (max/255) | **max·(1/e)** |
24
- | Theoretical basis | None | **Dynamical constants** |
25
- | Compression | 4.0× | **4.0×** |
26
- | Dequantization error | ~0.01 | **0.0044** |
27
 
28
- ## Code
 
 
 
 
29
 
30
- See `sentinel_quantization.py` for:
31
- - `SentinelQuantizer`
32
- - `SentinelQuantizedLinear`
33
- - `demo_sentinel_quantization()` (synthetic model)
34
 
35
- ## Repository
36
 
37
- [5dimension/sentinel-quantization](https://huggingface.co/5dimension/sentinel-quantization)
 
 
 
 
38
 
39
- ## Applications
 
 
40
 
41
  - Edge deployment (mobile, IoT)
42
  - Real-time inference
43
- - Memory-constrained environments
44
- - Model compression for LLMs
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentinel-manifold
4
+ - machine-learning
5
+ - mathematical-foundations
6
+ - quantization
7
+ license: mit
8
+ language:
9
+ - en
10
+ ---
11
 
12
+ # 🦴 Sentinel Quantization
13
 
14
+ **Part of the Sentinel Manifold One theorem, infinite applications.**
15
 
16
+ > `lim_{z→∞} F'(z)/F(z) = 1/e` — The Gradient Axiom
17
 
18
+ ---
19
 
20
+ ## 📋 Description
 
21
 
22
+ 4-8× model compression using dynamical constants. Zero-point Z = C₁ (attracting fixed point), scale S = max|w| · (1/e).
23
+
24
+ ---
25
 
26
+ ## 🧠 Mathematical Foundation
27
 
28
+ ### Core Constants
29
+ | Constant | Value | Role |
30
+ |----------|-------|------|
31
+ | C₁ (Attractor) | -0.007994021805953 | Zero-point / quantization |
32
+ | C₂ (Tripwire) | 0.000200056042968 | Security / curriculum |
33
+ | 1/e (Axiom) | 0.367879441171442 | Gradient scaling limit |
 
34
 
35
+ ### Theorem
36
+ ```
37
+ F(z) = Σ zⁿ/nⁿ (Sophomore's Dream, Bernoulli 1697)
38
+ lim_{z→∞} F'(z)/F(z) = 1/e ≈ 0.367879441171442
39
+ ```
40
 
41
+ ---
 
 
 
42
 
43
+ ## 🏆 Verified Results
44
 
45
+ | Format | Compression | Zero-Point |
46
+ |--------|-------------|------------|
47
+ | FP32 | 1× | — |
48
+ | Sentinel-INT8 | 4× | Z = C₁ |
49
+ | Sentinel-INT4 | 8× | Z = C₁ |
50
 
51
+ ---
52
+
53
+ ## 🎯 Use Cases
54
 
55
  - Edge deployment (mobile, IoT)
56
  - Real-time inference
57
+ - Microcontroller deployment
58
+
59
+ ---
60
+
61
+ ## 🔗 Links
62
+
63
+ - **Main repo**: [sentinel-manifold-discoveries](https://huggingface.co/5dimension/sentinel-manifold-discoveries)
64
+ - **All algorithms**: [5dimension](https://huggingface.co/5dimension)
65
+ - **Interactive Space**: [sentinel-hub](https://huggingface.co/spaces/5dimension/sentinel-hub)
66
+
67
+ ---
68
+
69
+ ## 📚 Citation
70
+
71
+ ```bibtex
72
+ @misc{abdel-aal2026sentinel,
73
+ title={The Sentinel Manifold: A Unified Mathematical Framework for Machine Learning},
74
+ author={Abdel-Aal, Romain},
75
+ year={2026},
76
+ url={https://huggingface.co/5dimension/sentinel-manifold-discoveries}
77
+ }
78
+ ```
79
+
80
+ ---
81
+
82
+ **License:** MIT | **One theorem, infinite models.** 🦴