nemo_automodel.components.models.ling_v2.config
nemo_automodel.components.models.ling_v2.config
Configuration for BailingMoeV2 (Ling 2.0 family: Ling-mini, Ling-flash, Ling-1T).
Mirrors the BailingMoeV2Config shipped in the official HuggingFace checkpoints’
configuration_bailing_moe_v2.py. Registered against AutoConfig so that
AutoConfig.from_pretrained(...) resolves without trust_remote_code.
Module Contents
Classes
API
Bases: PretrainedConfig
Configuration class for the BailingMoeV2 model (Ling 2.0).
The defaults reflect the Ling-mini-2.0 (16B-A1.4B) variant. Larger
variants (Ling-flash-2.0 100B-A6B and Ling-1T 1T-A50B) override
sizing knobs but share the same architecture: GQA attention with per-head
QK-RMSNorm, partial RoPE, sigmoid-routed grouped MoE with shared experts,
and first_k_dense_replace dense MLP layers at the start.