Correzioni 7/11/2026: aggiornamento tecnico e metriche hardware A6 verificate
Browse files123456789101112131415161721 unmodified lines394041424344454647484950515 unmodified lines575859606162638 unmodified lines727374757677783 unmodified lines828384858687883 unmodified lines9293949596979826 unmodified lines1251261271281291301313 unmodified lines135136137138139140141---license: otherlicense_name: sentinel-r08-non-commercial-v2license_link: LICENSE.mdlanguage:- itpipeline_tag: text-generationlibrary_name: custom_codetags:- sentinel- r08- geodesic-neural-network- italian- edge-ai---<p align="center">21 unmodified lines---> ### 💼 Investment, Compute Grants & Enterprise Licensing (Investimenti & Partnership Industriali)> 🇬🇧 **Sentinel** is scaling the **Geodesic Pyramidal Sphere Architecture (`R-08`)** from 50M to **110M–1B+ parameters**, with **a patent application filed at the Italian Patent and Trademark Office (UIBM)**.> **Open to Seed / Deep-Tech Investment, GPU/TPU Compute Grants, and Enterprise R&D Partnerships.**> 🇮🇹 **Aperto a Investimenti Seed / Deep-Tech, Grant Computazionali GPU/TPU e Licenze Industriali Enterprise.**> 📩 **Contact Founder & Inventor Thomas Seri:** 🌐 **[www.sentinelhub.eu](https://www.sentinelhub.eu)** | 🐙 **[GitHub (@Thomasseri)](https://github.com/Thomasseri)** | 🤗 **[Hugging Face (@SentinelHub)](https://huggingface.co/SentinelHub)** | 💬 **[Open an Inquiry / Issue](https://github.com/Thomasseri/R-08/issues/new)**---## 🎯 Obiettivo Scientifico dello Studio A/B5 unmodified lines- **Transformer Baseline:** **14 strati di attenzione densa continua** token-to-token ($d_{\text{model}}=512$, 8 teste).- **Sentinel R-08 (v7 Pyramid):** **Soli 2 strati di attenzione densa** assistiti da 3 geosfere triangolari a 80 facce e centro piramidale a 1-hop.---## 📊 Benchmark Comparativi A/B (Risultati di Laboratorio)8 unmodified lines| **Throughput Training (MPS)** | **~10.150 tok/s** | **~7.200 tok/s** | **~7.694 tok/s** | ~8.650 tok/s | ~8.650 tok/s | Elevata efficienza computazionale || **Impronta Memoria KV-Cache (512 ctx)** | **0.8 MB** *(2.1 MB/seq)* | **0.8 MB** *(2.1 MB/seq)* | **0.8 MB** *(2.1 MB/seq)* | 5.6 MB *(14.7 MB/seq)* | 5.6 MB *(14.7 MB/seq)* | **-85.7% traffico RAM/Cache** 💾 |---## 📈 Grafici Lineari di Efficienza Hardware & Token3 unmodified lines### 2. Footprint Memoria RAM KV-Cache vs Lunghezza Contesto---## 🔬 Considerazioni e Riscontri Scientifici3 unmodified lines2. **Efficienza Geodetica di R-08:**- Sentinel R-08 raggiunge l'**80.95%** su BLiMP-IT eliminando l'85.7% dell'attenzione densa e sostituendola con il routing sferico triangolare a 80 facce, dimostrando un'efficienza ideale per Edge AI e dispositivi embedded a batteria.---## 🚀 Utilizzo Rapido (Inference Quickstart)26 unmodified linesprint(prompt + risposta)```---## 📦 Checkpoint & File Inclusi3 unmodified lines- **`model_pretrain_185k.safetensors` (174 MB):** Checkpoint dopo 185.000 step di pretraining Chinchilla puro (82.53% BLiMP-IT).- **`tokenizer.json` & `tokenizer_config.json`:** Compatibilità standard Hugging Face `AutoTokenizer`.---## 📜 Licenza, Etica e Citazione1234567891011121314151617181920212221 unmodified lines444546474849505152535455565758596061626364656667685 unmodified lines7475767778798 unmodified lines8889909192933 unmodified lines9798991001011023 unmodified lines10610710810911011126 unmodified lines1381391401411421433 unmodified lines147148149150151152---language:- itlicense: otherlicense_name: sentinel-r08-non-commercial-v2license_link: LICENSE.mdtags:- transformer- gpt2- baseline- benchmark- chinchilla- causal-lm- pytorchdatasets:- v22_chinchilla_mixpipeline_tag: text-generationwidget:- text: "La capitale d'Italia è "---<p align="center">21 unmodified lines---## ⚠️ Correzioni e Aggiornamento Tecnico (7 novembre 2026)Abbiamo ricontrollato il codice pubblicato e le misure hardware su Apple M1 Max (`float32`, benchmark A6 con lettura energetica PMU isolata). Qui sotto gli errori corretti, i dati dichiarati in precedenza e quelli misurati ora:| # | Voce | Prima (dichiarato / codice precedente) | Ora (misurato / corretto) | Stato ||---|---|---|---|---|| 1 | Avvio moduli Python (`modeling_geodesic.py`, `geodesic_stages*_model.py`, `modeling_transformer.py`) | Pronti all'uso | `SyntaxError` all'import perché `from __future__ import annotations` si trovava dopo l'intestazione di licenza | **Corretto** in questo aggiornamento (spostata la riga di import in cima al file; licenza invariata) || 2 | Caricamento `model.safetensors` con Faccia di Veglia (`watchman.*`) | `load_state_dict(strict=True)` e rotazione finale non accoppiata | Falliva per 8 buffer deterministici `watchman.*` non inclusi nel file `.safetensors`, e `inject_geodesic_nonlinear_entanglement` non applicava la pre-rotazione ortogonale `q_0^T` abbinata a `q_lic` | **Corretto** in `modeling_geodesic.py` e `watchman_keystone_r08.py`; corretto anche l'URL di fallback verso `SentinelHub/R-08-v7.2a` (pesi disponibili nelle **GitHub Releases**) || 3 | Memoria in inferenza (`float32`, Apple M1 Max) | Footprint RAM totale indicato come `~120–140 MB` (`~240 MB` Transformer) | **Memoria GPU MPS di picco**: `214,6 MB` (`Cristallo-50M`, `46,4M` param), `261,4 MB` (`Transformer`, `58,9M` param), `375,8 MB` (`R-08 3 sfere`, `57,1M` param). **RAM processo (RSS)** dopo caricamento `mmap=True`: `401–461 MB` | Aggiornato con le misure reali del benchmark A6 || 4 | Velocità ed energia per token generato (decodifica continua 64→192 token su M1 Max `float32`) | Indicati `~140 tok/s` in generazione singola | **Velocità media misurata**: `19,2 ± 1,5 tok/s` (`R-08 3 sfere`), `44,7 ± 2,5 tok/s` (`Cristallo-50M`), `83,2 ± 1,1 tok/s` (`Transformer`). **Energia netta per token**: `331 ± 28 mJ/tok` (`Cristallo`), `342 ± 50 mJ/tok` (`Transformer`), `521 ± 85 mJ/tok` (`R-08 3 sfere`, potenza istantanea `+9,8 W`) | Aggiornato con i dati misurati in utilizzo reale (inferenza) |---> ### 💼 Investment, Compute Grants & Enterprise Licensing (Investimenti & Partnership Industriali)> 🇬🇧 **Sentinel** is scaling the **Geodesic Pyramidal Sphere Architecture (`R-08`)** from 50M to **110M–1B+ parameters**, with **a patent application filed at the Italian Patent and Trademark Office (UIBM)**.> **Open to Seed / Deep-Tech Investment, GPU/TPU Compute Grants, and Enterprise R&D Partnerships.**> 🇮🇹 **Aperto a Investimenti Seed / Deep-Tech, Grant Computazionali GPU/TPU e Licenze Industriali Enterprise.**> 📩 **Contact Founder & Inventor Thomas Seri:** 🌐 **[www.sentinelhub.eu](https://www.sentinelhub.eu)** | 🐙 **[GitHub (@Thomasseri)](https://github.com/Thomasseri)** | 🤗 **[Hugging Face (@SentinelHub)](https://huggingface.co/SentinelHub)** | 💬 **[Open an Inquiry / Issue](https://github.com/Thomasseri/R-08/issues/new)**## 🎯 Obiettivo Scientifico dello Studio A/B5 unmodified lines- **Transformer Baseline:** **14 strati di attenzione densa continua** token-to-token ($d_{\text{model}}=512$, 8 teste).- **Sentinel R-08 (v7 Pyramid):** **Soli 2 strati di attenzione densa** assistiti da 3 geosfere triangolari a 80 facce e centro piramidale a 1-hop.## 📊 Benchmark Comparativi A/B (Risultati di Laboratorio)8 unmodified lines| **Throughput Training (MPS)** | **~10.150 tok/s** | **~7.200 tok/s** | **~7.694 tok/s** | ~8.650 tok/s | ~8.650 tok/s | Elevata efficienza computazionale || **Impronta Memoria KV-Cache (512 ctx)** | **0.8 MB** *(2.1 MB/seq)* | **0.8 MB** *(2.1 MB/seq)* | **0.8 MB** *(2.1 MB/seq)* | 5.6 MB *(14.7 MB/seq)* | 5.6 MB *(14.7 MB/seq)* | **-85.7% traffico RAM/Cache** 💾 |## 📈 Grafici Lineari di Efficienza Hardware & Token3 unmodified lines### 2. Footprint Memoria RAM KV-Cache vs Lunghezza Contesto## 🔬 Considerazioni e Riscontri Scientifici3 unmodified lines2. **Efficienza Geodetica di R-08:**- Sentinel R-08 raggiunge l'**80.95%** su BLiMP-IT eliminando l'85.7% dell'attenzione densa e sostituendola con il routing sferico triangolare a 80 facce, dimostrando un'efficienza ideale per Edge AI e dispositivi embedded a batteria.## 🚀 Utilizzo Rapido (Inference Quickstart)26 unmodified linesprint(prompt + risposta)```## 📦 Checkpoint & File Inclusi3 unmodified lines- **`model_pretrain_185k.safetensors` (174 MB):** Checkpoint dopo 185.000 step di pretraining Chinchilla puro (82.53% BLiMP-IT).- **`tokenizer.json` & `tokenizer_config.json`:** Compatibilità standard Hugging Face `AutoTokenizer`.## 📜 Licenza, Etica e Citazione
README.md+27-16