πŸš€ ViuAI-40M (UltraDeep 32-Layer Bilingual MoE)

An ultra-deep 39.29M (~40M class) parameter MoE language model built from scratch with DeepSeek-V4 MLA, Kimi Fine-Grained MoE, and mHC Hyper-Connections.

πŸ“Š Model Specifications

Hyperparameter Value Description
Layers (Depth) 32 32 Sequential Thinking Steps per Token
Total Model Parameters 39,294,208 (~39.29M) Full knowledge capacity across all 32 layers & experts
Active Parameters per Token 18,060,544 (~18.06M) 1 Shared + 2 Routed Experts executed per layer
Compute Sparsity 54.0% True sparse token routing per expert
Memory Footprint (FP32) ~149.90 MB ~75 MB in FP16/BF16
Hidden Size ($d_{\text{model}}$) 256 Backbone representation dimension
Attention Heads 8 (head_dim=32) Tensor-Core optimized head dimension
Attention Mechanism DeepSeek MLA Multi-Head Latent Attention (q_lora=96, kv_lora=64)
MoE Architecture 1 Shared + 8 Routed (Top-2) True sparse token dispatch + load-balancing aux loss (exp_dim=144)
Vocabulary 8,192 Case-preserving lossless BPE with Weight Tying
Context Length 512 tokens KV-cached generation supported
Residual Architecture mHC Learnable Hyper-Connection residual scaling
Training Optimizer Muon + AdamW Newton-Schulz on 2D hidden weights; AdamW on embeddings/1D

πŸš€ Quick Start

import torch
from viuai.model.config import ViuAIConfig
from viuai.model.viuai_model import ViuAIForCausalLM

config = ViuAIConfig()
model = ViuAIForCausalLM(config)

print(f"Total Parameters:  {model.count_parameters():,}")
# Output: 39,294,208 (~39.29M)

print(f"Active per Token:  {model.count_active_parameters():,}")
# Output: 18,060,544 (~18.06M)

Built with ❀️ by ViuAI

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support