deeprcurs/MBG-N1.0-Hybrid
MBG-N1.0-Hybrid — Model Bahasa Garuda (rev-4 line)
deepRcurs Labs / `@deeprcurs` · author: Mzed Imamkh / `@mzedimamkh`
Status: UNDER CONSTRUCTION — validation milestone reached; no model weights published yet. This repository is the house of the rev-4 next-generation line of the MBG 1.0 project. The previous line (rev-3 validation prototype, GPT-MoE) remains archived, untouched, at `deeprcurs/MBG-1.0` (see the "Lineage" section below).
What this line is
MBG 1.0 ("Model Bahasa Garuda") rev-4 is trained from scratch as an Omni-Sparse Hybrid: an interleaved backbone of Mamba-2 / SSD (state space duality) and MLA (DeepSeek-style multi-head latent attention) blocks, fine-grained MoE with auxiliary-loss-free bias routing and a shared expert, ternary {−1,0,+1} weights (BitNet-style quantization-aware training) in the MoE FFN layers, Mixture-of-Depths dynamic compute, MTP multi-token prediction heads (future speculative-decoding draft), all under the Trinity-Mirror reasoning controller, optimized by the GUM (GaLore+Muon) memory-lean optimizer.
This is a research project for agentic / research / coding capability with an explicitly auditable design — not a general-purpose entertainment chatbot.
Lineage
G0 validation milestone (2026-09-02)
The rev-4 line passed its first milestone — G0: build + validate the hybrid primitives at 17M and compare against the rev-3 baseline under an identical recipe (same corpus, same BPE, same GUM, same 150 steps, seed 0):
Kernel CI (recurrent / semiseparable-matrix / chunked SSD agree to ~1e-5), gradient checks (finite-difference gradcheck + cross-kernel agreement), and an overfit test (loss → 0.10 on 16 sentences) are all green. Full details in the reports section of this repo as they are published.
Contents of this repo (evolving)
MBG-N1.0-Hybrid/ (external archive — clean flow)
├── README.md # this card
├── GOVERNANCE.md # public repository governance (append-only, integrity,
│ # versioning, license terms, evaluation transparency)
├── LICENSE.md # dual license (source-available; see file)
├── golden/ # complete training checkpoints (bf16 .pt) [planned]
├── model.safetensors # canonical weights [planned]
├── source/ # training/eval/data source code (reproducibility) [planned]
└── reports/ # milestone reports (markdown + JSON) [planned]Clean flow: the project workspace snapshot holds only the controller (code, scripts, docs, corpus, manifest); large artifacts live here and are downloaded on demand. Internal design and operations documents are never published to this repository.
Reproduction
# From the workspace snapshot (or any clone of the published source package):
bash ops/env_setup.sh # CPU-only venv (deps: torch, tokenizers, ...)
.venv/bin/python src_hybrid/ci_hybrid.py --suite kernels
.venv/bin/python src_hybrid/ci_hybrid.py --suite compare --steps 400
.venv/bin/python src_hybrid/ablate_hybrid.py --steps 150The published source package source/g0-code.tar.gz contains the src_hybrid modules; the corpus is in the dataset repo.
Milestone reports & artifacts (this repo)
Sync policy: this repo is re-synced at every milestone — analysis reports, the published source package, and job specs are added append-only. Internal operation documents are never published here. Note (2026-09-02, G1 v1 sync):source/g0-code.tar.gzwas rebuilt at this milestone (per the always-sync policy) so it ships the SSD passband fix (ssm.py) and the current leak-free headers; its file list is unchanged.source/g1-dataengine-v1.tar.gzis the new data-engine package.
Dataset
Training/evaluation corpora are published in the dataset repository: `deeprcurs/MBG-1.0-data`.
License
Dual License (custom, source-available) — see `LICENSE.md`. Personal / non-commercial research use is free with attribution (re-branding prohibited); commercial use, re-branding, or derivative redistribution requires prior written permission from the author (fee may apply). This is not an open-source license.
