👑 DeepNarra Paham-Experimental: 3-Tier Awake-Sleep Continuum

License: Apache-2.0 DeepNarra: Ecosystem Quantization: 1.58--bit TQ1_0 Zero-Drift: Parity

The Experimental Continuous Lifelong Learning Engine for Sovereign Edge Models
Recurrent Fast-Weights • Sidecar-QLoRA • MoE Router Gating • 75/25 Replay Consolidation


       🌲 NARRA                                🦈 MAKO
 The Tree Anchored in the Sand           The Water Where the Shark Thrives
(Unyielding Strength & Deep Roots)           (Fluid Speed & Freedom)
                                    ⚡
                          👑 DEEPNARRA PAHAM (THE SAGE)
                    (Sovereign Reasoning & Omniversal Synthesis)
                                    🧪
                        DEEPNARRA PAHAM-EXPERIMENTAL
                 (3-Tier Awake-Sleep Continuum & Sovereign Omni)

🏛️ Executive Summary

Paham-Experimental is the active TPU/GPU frontier research track of DeepNarra/Paham, uniting decoupled 3-Tier Awake/Sleep continual learning with Zero-Dependency Sovereign Omni-Modal (Audio / Vision / Text) synthesis.

Instead of mutating discrete quantized integer weights during inference (which destroys sub-second generation throughput and causes catastrophic forgetting), Paham-Experimental strictly decouples active user interaction from consolidation training across two operational phases and three architectural tiers:

[ ☀️ AWAKE SESSION (Day / Edge Inference) ]
  • Base GGUF runs frozen at peak speed (1,000+ tok/s).
  • Tier 1: Recurrent fast-weights update in forward-pass buffers (S_t, <5 MB).
  • High-value interactions & user corrections queue into the Non-Blocking Buffer.
         │
         ▼ (When system goes idle / plugs into AC power overnight)
[ 🌙 SLEEP SESSION (Night / Background Consolidation) ]
  • Hippocampal Replay: 75% Golden Pre-Training Anchors : 25% Live Interactions.
  • Tier 2: Sidecar-QLoRA (r=8) trains low-rank adapters with Delta = 0.0e+00 init.
  • Tier 3: MoE Router Gating adapts expert routing priors across the 92 sub-experts.
  • Consolidation Merge: Low-rank deltas fold directly into primary representations.
  • Re-Quantization: Compiles a fresh native 1.58-bit Ternary GGUF (model-TQ1_0.gguf).
         │
         ▼
[ ☀️ NEXT AWAKE BOOT ]
  • Model boots directly into the new `model-TQ1_0.gguf` with fresh consolidated knowledge!

📊 The 3-Tier Continual Learning Stack

Tier Operational Phase Mathematical Mechanism Target Parameters Memory Cost
Tier 1 ☀️ Awake Recurrent Fast-Weights ($S_t$) Narra GLA recurrence forward-pass state ($S_{t+1} = \text{decay} \cdot S_t + k_t v_t$) with zero backprop overhead. < 5 MB
Tier 2 🌙 Sleep Sidecar-QLoRA ($r=8, \alpha=16$) Zero-drift floating-point low-rank adaptation ($y = W_{\text{base}}x + \frac{\alpha}{r}BAx$). Starts at $B = 0$. < 0.5% params
Tier 3 🌙 Sleep MoE Router Gating Updates gating softmax prior distributions ($W_{\text{gate}}$) across the 92 sub-experts without altering expert neural bodies. < 0.1% params
Consolidation 🌙 Sleep 75/25 Replay & Re-Quantization Replays 75% Golden Anchors : 25% Live Replay Buffer, folds QLoRA deltas, and re-quantizes to native TQ1_0 GGUF. Zero Drift

🚀 Active Training Pipelines & Verified Milestones (awake and sleep training/)

1. Stage-2.5 & Stage-3 Sovereign Omni v1.1 (Colab TPU v6e-1)

Active Sovereign Omni training lives in awake and sleep training/Paham_Experimental_Stage3_Omni.ipynb + awake and sleep training/paham_omni_stack.py and pushes artifacts directly to DeepNarra/Paham-Experimental:

  • Zero Bound External Encoders: Zero external Whisper, ViT, or SigLIP weights bundled or downloaded — pure native Slaney Mel + Conv2D Subsampler audio stem and Conv2D Spatial Patchifier vision stem fused into the 947M H-MoE (40,960 BPE vocab).
  • Verified Uploaded Artifacts: paham_stage25_base.pt (Stage-2.5 text/reasoning base), omni_overlay.safetensors (286.55 MB multimodal stem/projector/LoRA overlay), and paham_exp_omni-TQ1_0.gguf (436.28 MB native ternary GGUF with 278 FP16-protected tensors), plus Stage-2 SFT paham_exp_stage2_sft-TQ1_0.gguf.
  • Observed Stage-3 v1.1 Telemetry (TPU v6e-1):
    • Text Sanity (1 + 1 =): Clean completion 1 + 1 = 2. with clean <eos> termination.
    • Audio Alignment & Speech-to-Text: Converged to CE = 0.9206 and cosine feature distillation A_Distill = 0.1131, transcribing multi-clause continuous speech from audio_samples without Whisper weights.
    • Image Conditioning: Vision caption probe showed template drift (CE ~2.08), slated for the upcoming Apache-2.0 DiT v2.0 visual rebuild.

2. Autonomous Continual GGUF Trainer (Paham_Experimental_GGUF_Trainer.ipynb)

For autonomous edge continual training without human intervention or external rate limits, use the 3-cell pipeline located in awake and sleep training/Paham_Experimental_GGUF_Trainer.ipynb. Model weights and compiled ternary GGUFs commit directly to DeepNarra/Paham-Experimental.

📐 Streamlined 3-Cell Architecture:

  • Cell 1 (📖 Info & Blueprints): Architectural documentation of the 3-Tier Awake-Sleep Continual Learning engine, 7 cognitive pillars, and zero-degradation laws.
  • Cell 2 (⚡ All Code): The complete unified training loop containing setup, SoftRescueSentinel, 7-pillar self-play gym, continuous execution loop, post-task atomic checkpointing, and native ternary GGUF exporter.
  • Cell 3 (🚨 Emergency Save to Paham-Experimental): Standalone emergency rescue cell. Can be executed at any moment (mid-loop or manual stop) to safely snapshot weights, compile fresh GGUF, and auto-commit artifacts directly to DeepNarra/Paham-Experimental.

Key Systems in the GGUF Trainer:

  1. 7-Pillar Omniversal Cognitive Gym (PahamOmniversalSelfPlayGym):
    • AST Code Sandbox: Generates synthetic Python programs, parses AST grammar trees, executes sandboxed code, and validates runtime stdout.
    • SymPy Formal Math CAS: Solves nonlinear ODEs, multivariable calculus integrals, and linear systems with symbolic verification.
    • 768-D Symplectic Hamiltonian Phase Space: Verifies energy preservation ($\Delta E < 10^{-13}$) under Störmer-Verlet dynamics.
    • Cognitive Psychology & Empathetic De-escalation: Reframes CBT cognitive distortions (catastrophizing, mind-reading, black-and-white thinking) into balanced cognitive appraisals.
    • Epistemic Metacognition: Calibrates confidence thresholds to eliminate hallucinations and flag uncertain outputs.
    • Strategic Planning DAGs: Generates multi-step prerequisite graphs and validates topological execution orders.
  2. Zero-Rate-Limit Autonomous Loop:
    • Runs 100% offline and in-memory with native procedural generation.
    • 0 external commercial API dependencies (no OpenAI, no Anthropic, no Google rate limits, no HTTP 429 throttling).
  3. 🛟 Non-Destructive Soft Rescue Checkpointer (SoftRescueSentinel):
    • Atomic Two-Phase Commit: Writes state to an ephemeral .tmp file, verifies file integrity and non-zero byte size, and atomically moves (shutil.move) to target .pt.
    • Decoupled Detached CPU Tensors: .detach().cpu().clone().contiguous() avoids GPU memory exhaustion, locks, or partial-write model corruption.
    • Post-Task Auto-Rescue: Automatically snapshots progress after every Awake exploration and after every Sleep consolidation cycle.
  4. Zero-Degradation Sentinel (ZeroDegradationSentinel):
    • Pre-sleep baseline anchor loss is benchmarked against golden validation sets.
    • Post-sleep loss is re-evaluated. If any regression occurs, sidecar weights are instantly rolled back to baseline ($\Delta = 0.00\text{e}+00$).

⚖️ Open-Source Governance & Integrity

  • Zero Fake Scores Policy: Paham-Experimental adheres strictly to DeepNarra's governance forbidding synthetic or estimated benchmark percentages.
  • Non-Destructive Blending: Guaranteed $\Delta = 0.00\text{e}+00$ numerical drift on initialization.
  • License: Permissive Apache License 2.0.

DeepNarra AI Research Ecosystem • Built with Open-Source Integrity
Downloads last month
12,970
GGUF
Model size
1.0B params
Architecture
paham
Hardware compatibility
Log In to add your hardware

1-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Datasets used to train DeepNarra/Paham-Experimental