Today,
Ling-flash-2.0
is officially open-sourced! 🚀
Following the release of the
language model
Ling-mini-2.0
and the
thinking model
Ring-mini-2.0
, we are now open-sourcing the third MoE LLM under the
Ling 2.0 architecture: Ling-flash-2.0
, a language model with
100B total parameters
and
6.1B activated parameters (4.8B non-embedding)
.
Trained on
20T+ tokens of high-quality data
, together with
supervised fine-tuning
and
multi-stage reinforcement learning
, Ling-flash-2.0 achieves
SOTA performance among dense models under 40B parameters
, despite activating only ~6B parameters. Compared to MoE models with larger activation/total parameters, it also demonstrates strong competitiveness. Notably, it delivers outstanding performance in
complex reasoning, code generation, and frontend development
.
Powerful Complex Reasoning Abilities
We conducted a comprehensive evaluation of Ling-flash-2.0’s reasoning capabilities, reporting strong results on representative benchmarks:
Compared with
dense models under 40B
(e.g., Qwen3-32B-Non-Thinking, Seed-OSS-36B-Instruct (think budget=0)) and
larger-activation/total-parameter MoE models
(e.g., Hunyuan-A13B-Instruct, GPT-OSS-120B/low),
Ling-flash-2.0
demonstrates stronger complex reasoning power. Moreover, it shows high competitiveness on
creative tasks
(Creative Writing v3).
Efficient Architecture, High-Speed Inference
Guided by
Ling Scaling Laws
, Ling 2.0 adopts a
1/32 activation-ratio MoE architecture
, optimized across multiple design choices: expert granularity, shared-expert ratio, attention balance,
aux-loss-free + sigmoid routing strategy
, MTP layers, QK-Norm, Partial-RoPE, and more. These refinements enable
small-activation MoE
models to achieve
7× efficiency gains
over equivalent dense architectures.
In other words, with just
6.1B activated parameters (4.8B non-embedding)
,
Ling-flash-2.0
can match the performance of ~40B dense models. Thanks to its small activation size, it also delivers major inference speed advantages:
On
H20 hardware
, Ling-flash-2.0 achieves
200+ tokens/s
, offering
3× speedups
compared to 36B dense models in everyday use.
With
YaRN extrapolation
, it supports
128K context length
, and as output length grows, its relative speedup can reach
7× or more
.
Model Downloads
You can download the following table to see the various stage of Ling-flash-2.0 models. If you are located in mainland China, we also provide the model on ModelScope.cn to speed up the download process.
from transformers import AutoTokenizer
from vllm import LLM, SamplingParams
tokenizer = AutoTokenizer.from_pretrained("inclusionAI/Ling-flash-2.0")
sampling_params = SamplingParams(temperature=0.7, top_p=0.8, repetition_penalty=1.05, max_tokens=16384)
llm = LLM(model="inclusionAI/Ling-flash-2.0", dtype='bfloat16')
prompt = "Give me a short introduction to large language models."
messages = [
{"role": "system", "content": "You are Ling, an assistant created by inclusionAI"},
{"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
outputs = llm.generate([text], sampling_params)
Then you should apply patch to sglang installation:
# patch command is needed, run `yum install -y patch` if needed
patch -d `python -c 'import sglang;import os; print(os.path.dirname(sglang.__file__))'` -p3 < inference/sglang/bailing_moe_v2.patch
Run Inference
BF16 and FP8 models are supported by SGLang now, it depends on the dtype of the model in ${MODEL_PATH}. They both share the same command in the following:
Ling-flash-2.0 huggingface.co is an AI model on huggingface.co that provides Ling-flash-2.0's model effect (), which can be used instantly with this inclusionAI Ling-flash-2.0 model. huggingface.co supports a free trial of the Ling-flash-2.0 model, and also provides paid use of the Ling-flash-2.0. Support call Ling-flash-2.0 model through api, including Node.js, Python, http.
Ling-flash-2.0 huggingface.co is an online trial and call api platform, which integrates Ling-flash-2.0's modeling effects, including api services, and provides a free online trial of Ling-flash-2.0, you can try Ling-flash-2.0 online for free by clicking the link below.
inclusionAI Ling-flash-2.0 online free url in huggingface.co:
Ling-flash-2.0 is an open source model from GitHub that offers a free installation service, and any user can find Ling-flash-2.0 on GitHub to install. At the same time, huggingface.co provides the effect of Ling-flash-2.0 install, users can directly use Ling-flash-2.0 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.