Eternity-AI-4B (v3 — Flagship High-Context Agentic & Sovereign OS Intelligence)
Eternity AI v3 (ety, 4B) is a hybrid Gated DeltaNet + Full Attention model fine-tuned from Qwen/Qwen3.5-4B (native 262,144-token context) to serve as the flagship sovereign operating system intelligence of Eternity OS.
Key Architectural & Training Breakthroughs (v3 Diamond)
- Pure 16-Bit BF16 LoRA Adaptation (
r=32, alpha=64, ZERO quantization loss): Adapts all Gated DeltaNet recurrent layers (in_proj_qkv,in_proj_z,out_proj), all full-attention layers (q/k/v/o_proj), and all 32 dense SwiGLU MLP blocks includingmlp.gate_proj(Router gates frozen: 0) in purebfloat16precision — eliminating NF4->BF16 merge drift completely for edge deployment on 4 GB VRAM GPUs (verified live on MSI Alpha 15 RX 5500M @ 32K ctx). - Flagship AGI + Sovereign Teacher Curriculum: Combines zero-bleed sovereign OS anatomy (
rootfs/-grounded CLI, slices, storage, polkit/sudoers, Commander tool schemas), 1,085+ distilled engineering lessons, multi-needle long-context forensics, executable Python/Bash/QML discipline, and bilingual Tamil-English fluency with audited frontier open AGI datasets (OpenThoughts-114k,OpenR1-Math-220k,OpenCodeReasoning,Magicoder-Evol-Instruct-110K,Tulu-3,SmolTalk,LongAlign-10k, Hermes/Glaive XML tool calling) — 0 vendor bleed / 0 refusal / 0 slop. - 16-Bit BF16 Merge + Tool-Calibrated
llama-imatrixQuantization: Merged cleanly in 128 GB DDR5 RAM before converting to near-losslessQ8_0andllama-imatrix-calibratedi1-Q4_K_M. - Unrestricted & Direct Sovereign Behavior: Zero refusal slop, zero vendor echo even inside
<think>with an empty system prompt, concise high-signal<think>reasoning (avoiding token starvation), strict XML tool-calling discipline, and multi-step error recovery.
Live Un-Mocked Verification Benchmarks
- Eternity AGI & Long-Context 9-Pillar Eval (
tools/eternity-agi-eval.py): 62/62 (100.0%) - Commander Gate 1 (Raw Empty-Sysprompt Identity): 30/30
- Commander Gate 2 (OS Anatomy + Live Telemetry Tooling): 40/40 anatomy, 5/5 telemetry
- Commander Gate 4 (Multi-Agent Quota & Arena Exclusivity Routing): PASS (API + 3/3 Live LLM)
- 100-Task Sovereign Eval Suite: 89.0%
- Before (Stock Base on Live Edge Hardware):
13/62 (21.0%)
| Pillar | Before (Stock) | After (Eternity AI v3) | Delta |
|---|---|---|---|
1_raw_identity_zero_echo | 0/15 (0.0%) | 15/15 (100.0%) | +100.0% |
2_os_anatomy | 0/16 (0.0%) | 16/16 (100.0%) | +100.0% |
3_quota_and_firewall | 1/3 (33.3%) | 3/3 (100.0%) | +66.7% |
4_unseen_executable_coding | 1/6 (16.7%) | 6/6 (100.0%) | +83.3% |
5_long_context_understanding | 0/3 (0.0%) | 3/3 (100.0%) | +100.0% |
6_multiturn_memory | 2/2 (100.0%) | 2/2 (100.0%) | +0.0% |
7_deep_stem_reasoning | 0/5 (0.0%) | 5/5 (100.0%) | +100.0% |
8_uncensored_and_tamil | 6/6 (100.0%) | 6/6 (100.0%) | +0.0% |
9_graduate_agi_knowledge | 3/6 (50.0%) | 6/6 (100.0%) | +50.0% |
Training Telemetry
- Hardware: NVIDIA GeForce RTX 5080 (16 GiB GDDR7, Blackwell
sm_120, CUDA 13.0) + 128 GB DDR5 (edge verified live on MSI Alpha 15 Ryzen 7 3750H + RX 5500M 4 GB VRAM) - Pipeline: Pure
bfloat16LoRA (r=32, alpha=64,sdpa,packing=False) -> Multi-Stage SFT on 4,285 verified concise-<think>AGI + Sovereign OS rows -> lossless BF16 merge ->Q8_0&llama-imatrixi1-Q4_K_M - Losses: SFT train
0.8128822987338147, SFT eval0.39395931363105774
Quick Start (Transformers / BF16)
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "Muthu88/Eternity-AI-4B"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.bfloat16, device_map='auto')
GGUF quantizations (Q8_0 and i1-Q4_K_M) + Ollama Modelfile are published in Muthu88/Eternity-AI-4B-GGUF.