Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,44 +1,82 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
-
#
|
| 4 |
|
| 5 |
-
**
|
| 6 |
|
| 7 |
-
|
| 8 |
|
| 9 |
-
|
| 10 |
|
| 11 |
-
|
| 12 |
-
- **Scale factor**: 1/e = 0.367879441171442 (Gradient Axiom limit)
|
| 13 |
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
|
| 18 |
-
##
|
| 19 |
|
| 20 |
-
|
| 21 |
-
|
|
| 22 |
-
|
|
| 23 |
-
|
|
| 24 |
-
|
|
| 25 |
-
|
|
| 26 |
-
| Dequantization error | ~0.01 | **0.0044** |
|
| 27 |
|
| 28 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
-
|
| 31 |
-
- `SentinelQuantizer`
|
| 32 |
-
- `SentinelQuantizedLinear`
|
| 33 |
-
- `demo_sentinel_quantization()` (synthetic model)
|
| 34 |
|
| 35 |
-
##
|
| 36 |
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
-
|
|
|
|
|
|
|
| 40 |
|
| 41 |
- Edge deployment (mobile, IoT)
|
| 42 |
- Real-time inference
|
| 43 |
-
-
|
| 44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.** 🦴
|