hf_mirrors/Ling-3.1-flash-base
Model Introduction
Files & versions
Analysis

inclusionAI

🤗 Hugging Face   |   🤖 ModelScope

Ling-3.1-flash-base

Introduction

We introduce Ling-3.1-flash-base, the base checkpoint of Ling-3.1-flash, released to support research and community-driven innovation. With 560B total parameters and 25B active parameters per token, the model provides a foundation for continued pretraining, domain adaptation, and post-training research.

Ling-3.1-flash-base shares the same hybrid-linear Mixture-of-Experts (MoE) architecture as Ling-3.1-flash, combining KDA with Gated MLA. As a base checkpoint, it is intended for further training and adaptation.

The model was trained using FP8. This release provides the BF16 base checkpoint produced after Warmup-Stable and Merge (WSM) checkpoint merging. BF16 refers to the precision of the released weights, while FP8 refers to the precision used during training.

Model Overview

Key Features

  • Sparse MoE architecture: 512 routed experts, with 8 routed experts and 1 shared expert activated per token, for a total of 25B active parameters per token.
  • Hybrid linear attention: 63 KDA layers and 9 Gated MLA layers combine linear attention with Gated MLA at a 7:1 ratio.

Model Specifications

SpecificationValue
Model TypeBase checkpoint
ArchitectureHybrid-linear MoE
Parameter ScaleTotal 560B, Activated 25B
Transformer Layers63 KDA + 9 Gated MLA (7:1)
Number of Dense Layers4
Number of Routed Experts512
Number of Shared Experts1
Number of Activated Routed Experts8
Attention Heads64
Hidden Size4096
Expert Intermediate Size1280
Dense Intermediate Size10240
Vocabulary Size157184

Architecture Diagram

Ling-3.1-flash architecture

Base Model Evaluation

We evaluate Ling-3.1-flash-base on 47 benchmarks across eight domains: language understanding, knowledge, code, mathematics, reasoning, multilingual capabilities, medical knowledge, and long-context understanding. The results below compare the model with DeepSeek-V4-Pro-Base and MiMo-V2.5-Pro-Base under the shot configurations shown.

Bold indicates the highest score in each row; underlining indicates the second-highest distinct score. Tied scores receive the same formatting. EM denotes exact match, and Acc denotes accuracy. Parameter scales are shown as total parameters and active parameters per token (A).

DomainBenchmarkShot ConfigLing-3.1-flash-baseDeepSeek-V4-Pro-BaseMiMo-V2.5-Pro-Base
560B A25B1.6T A49B1.02T A42B
Language UnderstandingRace-High(EM)0-shot93.8893.3793.60
SquadV2(Acc)1-shot92.7987.7088.93
Belebele(EM)0-shot94.6793.8392.72
C3(EM)0-shot83.3481.6481.53
CCPM(EM)0-shot91.8893.3190.18
KnowledgeARC-c(EM)0-shot97.9796.6196.95
AGIEval(Acc)few-shot(0~5)82.5981.2679.90
SimpleQA-Verified(Acc)5-shot52.4052.1032.60
C-SimpleQA(Acc)5-shot77.4377.6070.93
AA-Omniscience(Acc)3-shot37.6748.1636.45
MMLU-Pro(EM)5-shot76.7175.2871.26
CEval(EM)5-shot92.3693.7692.08
CMMLU(EM)5-shot91.6090.5288.33
GPQA-Diamond(EM)0-shot56.5752.0254.04
SuperGPQA(EM)5-shot55.8453.1948.65
CodeHumanEval-Plus(Pass@1)0-shot79.8857.9382.93
CruxEval(Pass@1)1-shot80.5069.0671.25
MultiPL-E(Pass@1)0-shot70.5555.9464.74
MBPP-Plus(Pass@1)3-shot76.1973.8177.51
BigCodeBench(Pass@1)0-shot53.6051.4966.75
LCBench1(Pass@1)3-shot68.4859.1467.58
LCBench-cn1(Pass@1)3-shot60.8357.3563.36
MathMATH500(Acc)4-shot79.4068.2057.20
CollegeMath(Acc)4-shot73.4163.1566.61
FinanceReasoning(Acc)3-shot81.7682.1680.89
OlympiadBench(Acc)3-shot60.2446.3948.04
TheoremQA(Acc)5-shot63.5661.9260.27
OmniMath(Acc)3-shot65.3134.8940.13
ReasoningCommonSenseQA(EM)5-shot92.2286.4988.53
BBH(EM)3-shot90.2589.9889.80
KorBench(Acc)3-shot54.9654.5653.20
AutoLogi(Acc)3-shot67.1364.8166.23
ZebraLogic(Acc)1-shot30.8020.3028.90
MultilingualmARC(EM)0-shot92.9889.1088.55
MMMLU(EM)0-shot77.5668.8167.15
MultiGSM(Acc)4-shot87.6685.8786.33
HumanEvalXL(Pass@1)0-shot83.2570.3187.34
MedDiagnosisArena(EM)0-shot62.2055.5052.70
medmcqa(EM)5-shot78.0880.3377.50
medqa(EM)5-shot87.8287.7585.55
Long-contextLongBench(Acc)0-shot51.9017.7015.66
LEval(Acc)0-shot85.0958.3461.49
ruler_16k(Acc)1-shot96.9097.0090.61
ruler_32k(Acc)1-shot95.8795.5789.10
ruler_64k(Acc)1-shot93.8195.5687.19
ruler_128k(Acc)1-shot88.6495.0685.79
ruler_256k(Acc)1-shot86.6494.3786.00
Note:
1 LCBench and LCBench-cn: January 2023–February 2025 (2301-2502).

Intended Use

Recommended use cases:

  • Continued pretraining.
  • Mid-training.
  • Supervised fine-tuning for domain adaptation.
  • Preference optimization and reinforcement-learning post-training.
  • Distillation research.
  • Long-context and MoE systems research.

Not recommended as-is for:

  • Direct end-user chat deployment.
  • Safety-critical applications without additional alignment and evaluation.
  • Production use without post-training and task-specific validation.

Usage

For fine-tuning examples, please refer to our ling-cookbook.

FAQ

For questions or feedback, please open a discussion in the model repository.

License

This model is released under the MIT License.