Skip to content
llmmodels
Code modelOpen weightsHistorical

Yuan 2.0

by Inspur · Nov 27, 2023

Yuan 2.0 is an open-weight code model from Inspur, released Nov 27, 2023. It has 103B parameters.

Provider
Inspur
Released
Nov 27, 2023
Type
Code model
Parameters
103B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
Open (restricted)
Knowledge cutoff
—
Status
Historical
Training compute
1.8e+23 FLOP

About Yuan 2.0

In this work, the Localized Filtering-based Attention (LFA) is introduced to incorporate prior knowledge of local dependencies of natural language into Attention. Based on LFA, we develop and release Yuan 2.0, a large language model with parameters ranging from 2.1 billion to 102.6 billion. A data filtering and generation method is presented to build pretraining and fine-tuning dataset in high quality.

How to run Yuan 2.0

Yuan 2.0 is an open-weight model. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 103B parameters it needs roughly 62 GB of memory at 4-bit quantization.

Yuan 2.0 vs alternatives

Alternatives to Yuan 2.0
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
LLaMA-65BopenMetaFeb 202365B———101.5
DeepSeek Coder 33BopenDeepSeekNov 202333B———76.3
LLaMA-33BopenMetaFeb 202333B———96.5
MPT-30BopenMosaicMLJun 202330B———85.2
Mistral Large 2.1openMistral AINov 2024123B————
Llemma 34BopenEleutherAIOct 202334B————
NVLM-D 72BopenNVIDIAOct 202479B————
Poro 34BopenHigh-Performance Language Technologies (HPLT)Dec 202334B————

More models from Inspur

All Inspur models →
ModelReleasedParamsContextInput $/1MOutput $/1M
HaiYue (浪潮通用软件有限公司)Nov 2024102B———
HairuoAug 2024————
Yuan 1.0Oct 2021246B———

Frequently asked questions

Who made Yuan 2.0?

Yuan 2.0 was developed by Inspur (China). It was released on Nov 27, 2023.

Is Yuan 2.0 open source?

Yes. Yuan 2.0's weights are publicly available, so you can download and run it yourself.

How many parameters does Yuan 2.0 have?

Yuan 2.0 has 103B parameters.

Sources: epoch · paper. Last updated 2026-11-22.