caizhi1 commited on
Commit
577e6f0
·
1 Parent(s): 1e2bb30

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -8
README.md CHANGED
@@ -21,7 +21,7 @@ tags:
21
 
22
  We are excited to announce the official open-source release of Ring-mini-linear-2.0!
23
 
24
- Building on the success of our Ling 2.0 series, this model continues to leverage a powerful hybrid architecture of linear and standard attention, perfectly balancing high performance with superior efficiency. By integrating our proven MoE design with optimizations like a 1/32 expert activation ratio and MTP layers, Ring-mini-linear achieves the performance of a 8 B dense model while activating only 1.4 B parameters. This model was converted from Ling-mini-base-2.0, further trained on an additional 600 B tokens.
25
  When it comes to benchmarks, Ring-mini-linear-2.0 not only holds its own against standard attention models (like ring-mini-2) but also outperforms other open-source MoE and Dense models in its class on several demanding tasks. Plus, with native support for a 128k long context, it's faster and more precise than ever, especially when handling long-form inputs and outputs.
26
 
27
  <div style="display: flex; justify-content: center;">
@@ -32,18 +32,19 @@ When it comes to benchmarks, Ring-mini-linear-2.0 not only holds its own against
32
  </div>
33
 
34
  ## Evaluation
35
- <!-- <img src="https://cdn-uploads.huggingface.co/production/uploads/68d20104a6f8ea66da0cb447/_tjjgBEBlankfrWUY0N9i.png" width="1000"> -->
36
  <div style="display: flex; justify-content: center;">
37
  <div style="text-align: center;">
38
  <img src="https://cdn-uploads.huggingface.co/production/uploads/68d20104a6f8ea66da0cb447/_tjjgBEBlankfrWUY0N9i.png" width="800">
39
- <p style="margin-top: 8px; font-size: 14px;"><strong>Figure 3:</strong> demo </p>
40
  </div>
41
  </div>
42
 
 
43
  <div style="display: flex; justify-content: center;">
44
  <div style="text-align: center;">
45
- <img src="https://cdn-uploads.huggingface.co/production/uploads/68d20104a6f8ea66da0cb447/OyvwJdc0qRIJiHM1VJgwO.gif" width="800">
46
- <p style="margin-top: 8px; font-size: 14px;"><strong>Figure 3:</strong> demo </p>
47
  </div>
48
  </div>
49
 
@@ -81,8 +82,11 @@ The results are remarkable. In the prefill stage, Ring-mini-linear-2.0's perform
81
  ## Quickstart
82
 
83
  ### Requirements
84
- 1. pip install flash-linear-attention==0.3.2
85
- 2. pip install transformers==4.56.1
 
 
 
86
 
87
  ### 🤗 Hugging Face Transformers
88
 
@@ -147,4 +151,4 @@ python -m sglang.launch_server \
147
  ```
148
  ### vLLM
149
 
150
- ## Citation
 
21
 
22
  We are excited to announce the official open-source release of Ring-mini-linear-2.0!
23
 
24
+ Building on the success of our Ling 2.0 series, this model continues to leverage a powerful hybrid architecture of linear and standard attention, perfectly balancing high performance with superior efficiency. By integrating our proven MoE design with optimizations like a 1/32 expert activation ratio and MTP layers, Ring-mini-linear achieves the performance of a 8 B dense model while activating only 1.4 B parameters. This model was converted from [Ling-mini-base-2.0](https://huggingface.co/inclusionAI/Ling-mini-base-2.0-20T), further trained on an additional 600 B tokens.
25
  When it comes to benchmarks, Ring-mini-linear-2.0 not only holds its own against standard attention models (like ring-mini-2) but also outperforms other open-source MoE and Dense models in its class on several demanding tasks. Plus, with native support for a 128k long context, it's faster and more precise than ever, especially when handling long-form inputs and outputs.
26
 
27
  <div style="display: flex; justify-content: center;">
 
32
  </div>
33
 
34
  ## Evaluation
35
+ To properly evaluate the model's reasoning capabilities, we compared it against 3 other models—Ring-mini-2.0, Qwen3-8B-thinking, and GPT-OSS-20B-Medium—on 6 challenging reasoning benchmarks spanning mathematics, coding, and science. The results demonstrate that the performance of the hybrid linear architecture is by no means inferior to that of standard softmax attention; in fact, it even outperforms the other models on 3 of the benchmarks.
36
  <div style="display: flex; justify-content: center;">
37
  <div style="text-align: center;">
38
  <img src="https://cdn-uploads.huggingface.co/production/uploads/68d20104a6f8ea66da0cb447/_tjjgBEBlankfrWUY0N9i.png" width="800">
39
+ <p style="margin-top: 8px; font-size: 14px;"><strong>Figure 2:</strong> Model Performance Comparison </p>
40
  </div>
41
  </div>
42
 
43
+ Here is a demo of a small Snake game, with the code generated by our model.
44
  <div style="display: flex; justify-content: center;">
45
  <div style="text-align: center;">
46
+ <img src="https://mdn.alipayobjects.com/huamei_jcuiuk/afts/img/tqfCQoTqRdAAAAAAgZAAAAgADr6CAQFr/original" width="800">
47
+ <p style="margin-top: 8px; font-size: 14px;"><strong>Figure 3:</strong> Snake Game </p>
48
  </div>
49
  </div>
50
 
 
82
  ## Quickstart
83
 
84
  ### Requirements
85
+
86
+ ```bash
87
+ pip install flash-linear-attention==0.3.2
88
+ pip install transformers==4.56.1
89
+ ```
90
 
91
  ### 🤗 Hugging Face Transformers
92
 
 
151
  ```
152
  ### vLLM
153
 
154
+ ## Citation