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
- Yuan 2.0 vs LLaMA-65B
- Yuan 2.0 vs DeepSeek Coder 33B
- Yuan 2.0 vs LLaMA-33B
- Yuan 2.0 vs MPT-30B
- Yuan 2.0 vs Mistral Large 2.1
- Yuan 2.0 vs Llemma 34B
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| LLaMA-65Bopen | Meta | Feb 2023 | 65B | — | — | — | 101.5 |
| DeepSeek Coder 33Bopen | DeepSeek | Nov 2023 | 33B | — | — | — | 76.3 |
| LLaMA-33Bopen | Meta | Feb 2023 | 33B | — | — | — | 96.5 |
| MPT-30Bopen | MosaicML | Jun 2023 | 30B | — | — | — | 85.2 |
| Mistral Large 2.1open | Mistral AI | Nov 2024 | 123B | — | — | — | — |
| Llemma 34Bopen | EleutherAI | Oct 2023 | 34B | — | — | — | — |
| NVLM-D 72Bopen | NVIDIA | Oct 2024 | 79B | — | — | — | — |
| Poro 34Bopen | High-Performance Language Technologies (HPLT) | Dec 2023 | 34B | — | — | — | — |
More models from Inspur
All Inspur models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| HaiYue (浪潮通用软件有限公司) | Nov 2024 | 102B | — | — | — |
| Hairuo | Aug 2024 | — | — | — | — |
| Yuan 1.0 | Oct 2021 | 246B | — | — | — |
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.