CMB Qwen3-Hybrid-Mamba2-8B

Introduction

Qwen3-Hybrid-Mamba2-8B is built on Qwen3-8B using Hybrid-Recast, a low-cost approach to converting pretrained models into hybrid architectures through weight transfer and four-stage training. The model combines grouped-query attention (GQA) and Mamba2 across 36 decoder layers, with 19 GQA layers and 17 Mamba2 layers.

Training proceeds through continual pretraining (CPT), offline knowledge distillation (GKD), multi-round supervised fine-tuning (SFT), and on-policy distillation (OPD). It uses approximately 15 billion tokens in total, about 0.04% of Qwen3โ€™s officially reported pretraining data scale. The project provides the open-source community with a low-cost, rapid path to converting existing pretrained models into hybrid architectures.

Model Performance

The model scores 93.48 on GSM8K and 90.70 on MMLU-Redux, reaching 97.5% and 97.7% of the original Qwen3-8B scores, respectively.

Based on BF16 cache tensor size estimates, including the fixed Mamba2 states, per-request inference cache usage is reduced by 35.0% and 45.7% compared with the original Qwen3-8B at cached sequence lengths of 1,024 and 8,192 tokens, respectively.

Files

  • configuration_qwen3_mamba2.py โ€” Model configuration definitions.
  • modeling_qwen3_mamba2.py โ€” Model architecture and forward computation.
  • config.json, model weight shards, and tokenizer files โ€” Model configuration, weights, and tokenization resources.

License

This project is licensed under the Apache License 2.0. See LICENSE for details.

Downloads last month
106
Safetensors
Model size
897k params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for CMBTech/CMB-Qwen3-Hybrid-Mamba2-8B

Finetuned
Qwen/Qwen3-8B
Finetuned
(2,383)
this model