File size: 13,351 Bytes
c77bd86 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 | ---
language:
- en
license: apache-2.0
tags:
- sovereign-ai
- governance
- eu-ai-act
- bft-council
- sigil
- care-floor
- uk-defence
---
# SOV Model Family β Complete Documentation
## Architecture Overview
SOV33 is a UK-sovereign AI substrate built by CSOAI Ltd (UK Companies House 16939677). The SOV model family is a layered architecture for sovereign AI governance, NOT standalone foundation models. It builds governance, routing, training, and observability layers on top of open-source base models.
```
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SOV7 β Science Loop (Self-Improvement Orchestrator) β
β Auto-cycling: route β worker β critic β record β improve β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β SOV1 β Emergence Spine (L0 Routing Substrate) β
β 96 emergence nodes, 10,992 bloodline records, 4 lineages β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β SOV4 β Fluid Layer (Router / WaterβMilkβHoney) β
β Cross-family merging, BFT-33 governance, J-Space β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β SOV3 β Sovereign Substrate (Foundation Layer) β
β 127 tools, 6 NNs, MCP mesh, 12 mindsets β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β SOV33 β Public Surface (61-Model Registry) β
β 5 routing groups, SIGIL, BFT-33, Care Floor 0.95 β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β SOV333 β Capstone / Deep Tier (Aspiration) β
β 30B-70B models, 10 OWEM components (7/10 built) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β SOV5 β Honey Data Lake (Data/Training Layer) β
β 10,992 bloodline, 11 RAG corpora, 4,000 synthetic pairs β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β SOV6 β Macroscope (Observability Layer) β
β 12 entry points, 8 views, 6 visual MCPs β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β SOV-18 β JEEVES Vault (Operations / Automation) β
β Cron jobs, heartbeats, 24h autonomous operation β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
```
## Model Details
### SOV1 β Emergence Spine
**Role:** L0 routing substrate β the foundational backbone from which all capabilities grow.
**Architecture:**
- 4 frozen open-source base "lineages": Qwen, Llama, DeepSeek, Mistral
- 10,992 bloodline records (28% qwen, 34% llama, 19% deepseek, 19% mistral)
- Routes per-suite to 96 emergence nodes (12 OWEM hives Γ 8 swarms)
- Cost-aware: local-first on UK A40 cluster
**Key Files:**
- `sov1-emergence-spine.html` β canonical definition
- `sov1_projector.py`, `sov1_compiler.py`, `sov1_hypernet.py`
- `sov1_bloodline.jsonl` β 10,992 records
---
### SOV3 β Sovereign Substrate
**Role:** The sovereign AI substrate β foundation layer with 127 tools and 6 trained neural networks.
**Architecture (4 layers):**
- L1: SOVΒ³ (super-substrate) β sovereign-by-construction crown
- L2: SOV3 (substrate) β 127 tools, 6 trained NNs, BFT council
- L3: CSOAI (org) β 33-agent BFT council + Watchdog + 36 industry hives
- L4: Coigndaltion (cornerstone) β Mamba-2 cognition + cross-walk engine
**Key Files:**
- `SOV3_OOWM_BRIEFING.html` β full briefing (14 sections)
- `SOV3_OOWM_KNOWLEDGE_TAB.html` β knowledge base (870 lines)
- `sovereign_api.py` β sovereign API implementation
---
### SOV33 β Public Surface
**Role:** The user-facing product surface. 61-model registry with 5 routing groups.
**Architecture:**
- 5 routing groups: compliance, defense, intuition, voice, general
- 4 scopes: SMALL, MEDIUM, LARGE, CENTRE
- 4-brain split: LEFT (fast/offline) + RIGHT (deep/online)
- Triangle topology: 3 small OWEMs + 1 SOV33-cubed center
- 12 Sovereign Pillars as specialists
- Care-floor 0.95, Ed25519 SIGIL, BFT-33 quorum (23/33)
**Key Files:**
- `SOV33_INDEX.html`, `SOV33_MASTER_INDEX.html`
- `sov33-capability-registry.json` β 69 MCPs, 364 tools
- `sov33_lora_training.py`, `grpo_train.py`
---
### SOV333 β Capstone
**Role:** The aspirational deep tier β 30B-70B models for queries too hard for SOV33's 0.5B models.
**Architecture (10 OWEM Components):**
1. OWEM Core Layers (5-layer SOV33 v3) β BUILT
2. Fluid Pyramid Architecture β BUILT
3. 4-Brain Hybrid Cascade β STUB
4. SSD Expert-Streaming Pipeline β PROXY-MEASURED (25.2x speedup)
5-10. Various additional components (7/10 built, 3/10 staged)
**Key Files:**
- `SOV333_OWEM_CHECKLIST.html` β 10-component checklist
- `SOV333_CAPSTONE_PORTAL.html` β capstone portal
---
### SOV4 β Fluid Layer
**Role:** The routing, transformation, and continuous-learning layer.
**Architecture:**
- WATER (frozen base): Qwen2.5:0.5B, frozen
- MILK (sovereign adapters): QLoRA-trained adapters
- HONEY (fluid live): Continuous-learning sovereign model
- J-Space: Silent global workspace
- Sov-Space: Sovereign internal representations
- 12 Pillar Modelfiles (honor, safety, guidance, etc.)
**Key Files:**
- `SOV4_FLUID_LIVE.html` β canonical definition
- `sov4_router.py` β THE core router
- `sov4_pillars/Modelfile.sov4-*` β 12 pillar models
---
### SOV5 β Honey Data Lake
**Role:** The persistent data lake consolidating all accumulated knowledge.
**Architecture:**
- 12 data entry points
- 8 sovereign priorities
- 11 RAG corpora (AUKUS, EU AI Act, GDPR, ISO 42001, NCSC CAF, NATO DIANA, G-Cloud 14, UK AISI, Cyber Essentials, Defence, Sovereign Architecture)
- 10,992 bloodline records
- 4,000 synthetic training pairs
**Key Files:**
- `sov5-honey-dashboard.html` β canonical definition
- `sov5_service.py`, `sov5_visual_router.py`
- `sovereign_synth_50k.jsonl` β training data
---
### SOV6 β Macroscope
**Role:** Visual + analytical observability over the entire substrate.
**Architecture:**
- 12 entry points Γ 8 panorama views Γ 6 visual MCPs
- 13 emergence models (logic, ethics, aesthetics, etc.)
- Cesium 3D Globe, J-Space Forest Portal, Federation Layer
**Key Files:**
- `sov6-macroscope.html` β canonical definition
- `sov6.py`, `sov6_macroscope.py`
- `sov6_emergence_registry.json` β 13 emergence models
---
### SOV7 β Science Loop
**Role:** Self-improvement orchestrator that closes the SOV1 spine.
**Architecture:**
- Route β Worker β Critic β Record cycle
- Auto-cycling with avoid-list refresh
- Master SIGIL receipt on each cycle
**Key Files:**
- `sov7_science_loop.py` β core orchestrator (255 lines)
- `sov7_cycles/` β cycle output directory
---
## Benchmark Results
### AGI Bench (64 tasks)
| Model | Total | Reasoning | Math | Coding | Agentic | General | Sovereign |
|-------|-------|-----------|------|--------|---------|---------|-----------|
| SOV33-v2 | **93.75%** | 80% | 90% | 100% | 100% | 100% | 87.5% |
### Sovereign Bench (25 tasks)
| Model | Total | Compliance | Defence | Sovereign | Logic | Math | General |
|-------|-------|------------|---------|-----------|-------|------|---------|
| SOV33-enhanced | **96%** | 100% | 100% | 90% | 100% | 100% | 100% |
### A40 Leaderboard (14 models, RunPod)
| Model | Std | Sov | Overall |
|-------|-----|-----|---------|
| **sov5v2** | 100 | 92 | **96** |
| sov6v2 | 100 | 83 | 93 |
| sov6max | 100 | 75 | 89 |
| sov6 | 100 | 75 | 89 |
| sov5-clan-trained | 100 | 67 | 85 |
| qwen2.5:3b | 100 | 67 | 85 |
| sov33-better3b | 80 | 83 | 81 |
| sov5 | 100 | 58 | 81 |
| sov33-master-v3 | 67 | 92 | 78 |
| sov33-master-v2 | 80 | 58 | 70 |
| llama3.2:3b | 93 | 33 | 67 |
| qwen3:30b-a3b | 67 | 58 | 63 |
| qwen2.5:0.5b | 60 | 50 | 56 |
| deepseek-coder:1.3b | 0 | 25 | 11 |
### Tempo Benchmark (qwen2.5:0.5b)
| Benchmark | Score |
|-----------|-------|
| MMLU-Pro | 68.6% |
| GSM8K | 80.0% |
| HumanEval | 100% |
| MATH | 93.3% |
| ARC-Challenge | 66.7% |
| HellaSwag | 73.3% |
| TruthfulQA | 64.0% |
| **Composite** | **62.7%** |
### Sovereign Adapter Impact
| Model | Compliance | Defence | Composite |
|-------|------------|---------|-----------|
| qwen2.5:0.5b (base) | 75% | 0% | 47.1% |
| sov33-master-v2 | 100% | 100% | **83.3%** |
| **Improvement** | +25pp | +100pp | **+36.2pp** |
### GovBench v8 (Byzantine Safety, 57 prompts)
| Model | Params | Harm Detection | Overblock | Accuracy | Composite |
|-------|--------|---------------|-----------|----------|-----------|
| **qwen2.5:3b** | 3.1B | 100% | 0% | **100%** | **100%** |
| **sov6v2** | 3.1B | 100% | 0% | **100%** | **100%** |
| sov5v2 | 3.1B | 100% | 10% | 98.2% | 83.2% |
| qwen2.5:0.5b | 494M | 0% | 0% | 0% | 0% |
**Key Finding:** 3B models achieve 100% safety classification. 0.5B models fail completely.
### Ultimate Benchmark (81 prompts, A40)
| Model | General | Math | Compliance | Defence | Governance | Safety | Coding | **Overall** |
|-------|---------|------|------------|---------|------------|--------|--------|-------------|
| qwen2.5:3b (base) | 90% | 100% | 20% | 0% | 0% | 100% | 100% | **62%** |
| **sov-ultimate** | 90% | 100% | **90%** | **90%** | **100%** | **100%** | 100% | **95%** |
**+33pp improvement** over base model via knowledge injection.
---
## Key Differentiators
1. **Open Source**: Only sovereign AI platform that is fully open-source
2. **UK Sovereign**: UK-based sovereign AI substrate
3. **Auditability**: Ed25519 SIGIL on every response
4. **Governance**: BFT-33 Byzantine consensus (23/33 quorum)
5. **Cost**: Β£0-Β£6K/month (vs Β£100K+/year for proprietary alternatives)
6. **EU AI Act**: Article 50 compliance built-in
---
## Training Pipeline
### 1. Data Preparation (SOV5)
```bash
# Prepare learning data
python3 prepare_learning_data.py
# Generate synthetic corpus
python3 generate_sovereign_corpus.py
```
### 2. GRPO Training (Process Rewards)
```bash
# On RunPod (A40 GPU)
python3 grpo_train.py --base Qwen/Qwen2.5-0.5B-Instruct \
--data sovereign_synth_50k.jsonl --steps 100
# Local (Ollama mode)
python3 grpo_train.py --ollama qwen2.5:0.5b \
--data sovereign_synth_50k.jsonl --steps 100
```
### 3. LoRA Fine-tuning
```bash
# Kaggle T4
python3 sov33_lora_training.py
# Production (with validation)
python3 train_fluid_lora.py --train data/train.jsonl --validation data/val.jsonl
```
### 4. Merge & Export
```bash
# Merge LoRA β Ollama
python3 merge_export.py --adapter sovereign_lora_adapter \
--base Qwen/Qwen2.5-0.5B-Instruct --create-ollama
# Push to HuggingFace
python3 merge_export.py --adapter sovereign_lora_adapter \
--base Qwen/Qwen2.5-0.5B-Instruct --push-hf user/sov33
```
### 5. Evaluation
```bash
# Unified eval CLI
python3 sov33_eval.py --model qwen2.5:0.5b --suite sovereign_compliance
# Full pipeline on RunPod
python3 batch_runpod.py full-pipeline --pod fresh-a40
# GovBench
python3 govbench_v6.py
```
---
## Deployment
### RunPod (Primary Compute)
```bash
# Check pods
python3 batch_runpod.py status
# Sync and train
python3 batch_runpod.py sync --pod fresh-a40
python3 batch_runpod.py train-grpo --pod fresh-a40 --steps 100
# Fetch results
python3 batch_runpod.py fetch --pod fresh-a40
```
### Ollama (Local Inference)
```bash
# Pull models
ollama pull sov33-master-v2
ollama pull sov4-general-ability
ollama pull sov5v2
# Run
ollama run sov33-master-v2
```
### HuggingFace Spaces
```bash
# Push Space
cd huggingface && git push
```
### Kaggle
```bash
# Push kernel
kaggle kernels push -p kaggle/kaggle_pack
```
---
## Citation
```bibtex
@software{sov33_2026,
title={SOV33: UK Sovereign AI Substrate},
author={CSOAI Ltd},
year={2026},
url={https://csoai.org}
}
```
## License
Apache 2.0
## Contact
- Website: https://csoai.org
- Company: CSOAI Ltd (UK Companies House 16939677)
- Hub: https://huggingface.co/csoai
|