shimmyshimmer commited on
Commit
9784122
·
verified ·
1 Parent(s): 181670a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +75 -3
README.md CHANGED
@@ -80,6 +80,54 @@ A huge thank you to the DeepSeek team for creating and releasing these models.
80
 
81
 
82
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  ## 1. Introduction
84
 
85
  We introduce our first-generation reasoning models, DeepSeek-R1-Zero and DeepSeek-R1.
@@ -90,6 +138,8 @@ we introduce DeepSeek-R1, which incorporates cold-start data before RL.
90
  DeepSeek-R1 achieves performance comparable to OpenAI-o1 across math, code, and reasoning tasks.
91
  To support the research community, we have open-sourced DeepSeek-R1-Zero, DeepSeek-R1, and six dense models distilled from DeepSeek-R1 based on Llama and Qwen. DeepSeek-R1-Distill-Qwen-32B outperforms OpenAI-o1-mini across various benchmarks, achieving new state-of-the-art results for dense models.
92
 
 
 
93
  <p align="center">
94
  <img width="80%" src="figures/benchmark.jpg">
95
  </p>
@@ -126,7 +176,7 @@ To support the research community, we have open-sourced DeepSeek-R1-Zero, DeepSe
126
  </div>
127
 
128
  DeepSeek-R1-Zero & DeepSeek-R1 are trained based on DeepSeek-V3-Base.
129
- For more details regrading the model architecture, please refer to [DeepSeek-V3](https://github.com/deepseek-ai/DeepSeek-V3) repository.
130
 
131
  ### DeepSeek-R1-Distill Models
132
 
@@ -225,7 +275,20 @@ For instance, you can easily start a service using [vLLM](https://github.com/vll
225
  vllm serve deepseek-ai/DeepSeek-R1-Distill-Qwen-32B --tensor-parallel-size 2 --max-model-len 32768 --enforce-eager
226
  ```
227
 
228
- **NOTE: We recommend setting an appropriate temperature (between 0.5 and 0.7) when running these models, otherwise you may encounter issues with endless repetition or incoherent output.**
 
 
 
 
 
 
 
 
 
 
 
 
 
229
 
230
  ## 7. License
231
  This code repository and the model weights are licensed under the [MIT License](https://github.com/deepseek-ai/DeepSeek-R1/blob/main/LICENSE).
@@ -236,8 +299,17 @@ DeepSeek-R1 series support commercial use, allow for any modifications and deriv
236
 
237
  ## 8. Citation
238
  ```
 
 
 
 
 
 
 
 
 
239
 
240
  ```
241
 
242
  ## 9. Contact
243
- If you have any questions, please raise an issue or contact us at [[email protected]]([email protected]).
 
80
 
81
 
82
 
83
+ # DeepSeek-R1
84
+ <!-- markdownlint-disable first-line-h1 -->
85
+ <!-- markdownlint-disable html -->
86
+ <!-- markdownlint-disable no-duplicate-header -->
87
+
88
+ <div align="center">
89
+ <img src="https://github.com/deepseek-ai/DeepSeek-V2/blob/main/figures/logo.svg?raw=true" width="60%" alt="DeepSeek-V3" />
90
+ </div>
91
+ <hr>
92
+ <div align="center" style="line-height: 1;">
93
+ <a href="https://www.deepseek.com/" target="_blank" style="margin: 2px;">
94
+ <img alt="Homepage" src="https://github.com/deepseek-ai/DeepSeek-V2/blob/main/figures/badge.svg?raw=true" style="display: inline-block; vertical-align: middle;"/>
95
+ </a>
96
+ <a href="https://chat.deepseek.com/" target="_blank" style="margin: 2px;">
97
+ <img alt="Chat" src="https://img.shields.io/badge/🤖%20Chat-DeepSeek%20R1-536af5?color=536af5&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
98
+ </a>
99
+ <a href="https://huggingface.co/deepseek-ai" target="_blank" style="margin: 2px;">
100
+ <img alt="Hugging Face" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-DeepSeek%20AI-ffc107?color=ffc107&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
101
+ </a>
102
+ </div>
103
+
104
+ <div align="center" style="line-height: 1;">
105
+ <a href="https://discord.gg/Tc7c45Zzu5" target="_blank" style="margin: 2px;">
106
+ <img alt="Discord" src="https://img.shields.io/badge/Discord-DeepSeek%20AI-7289da?logo=discord&logoColor=white&color=7289da" style="display: inline-block; vertical-align: middle;"/>
107
+ </a>
108
+ <a href="https://github.com/deepseek-ai/DeepSeek-V2/blob/main/figures/qr.jpeg?raw=true" target="_blank" style="margin: 2px;">
109
+ <img alt="Wechat" src="https://img.shields.io/badge/WeChat-DeepSeek%20AI-brightgreen?logo=wechat&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
110
+ </a>
111
+ <a href="https://twitter.com/deepseek_ai" target="_blank" style="margin: 2px;">
112
+ <img alt="Twitter Follow" src="https://img.shields.io/badge/Twitter-deepseek_ai-white?logo=x&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
113
+ </a>
114
+ </div>
115
+
116
+ <div align="center" style="line-height: 1;">
117
+ <a href="https://github.com/deepseek-ai/DeepSeek-R1/blob/main/LICENSE-CODE" style="margin: 2px;">
118
+ <img alt="Code License" src="https://img.shields.io/badge/Code_License-MIT-f5de53?&color=f5de53" style="display: inline-block; vertical-align: middle;"/>
119
+ </a>
120
+ <a href="https://github.com/deepseek-ai/DeepSeek-R1/blob/main/LICENSE-MODEL" style="margin: 2px;">
121
+ <img alt="Model License" src="https://img.shields.io/badge/Model_License-Model_Agreement-f5de53?&color=f5de53" style="display: inline-block; vertical-align: middle;"/>
122
+ </a>
123
+ </div>
124
+
125
+
126
+ <p align="center">
127
+ <a href="https://github.com/deepseek-ai/DeepSeek-R1/blob/main/DeepSeek_R1.pdf"><b>Paper Link</b>👁️</a>
128
+ </p>
129
+
130
+
131
  ## 1. Introduction
132
 
133
  We introduce our first-generation reasoning models, DeepSeek-R1-Zero and DeepSeek-R1.
 
138
  DeepSeek-R1 achieves performance comparable to OpenAI-o1 across math, code, and reasoning tasks.
139
  To support the research community, we have open-sourced DeepSeek-R1-Zero, DeepSeek-R1, and six dense models distilled from DeepSeek-R1 based on Llama and Qwen. DeepSeek-R1-Distill-Qwen-32B outperforms OpenAI-o1-mini across various benchmarks, achieving new state-of-the-art results for dense models.
140
 
141
+ **NOTE: Before running DeepSeek-R1 series models locally, we kindly recommend reviewing the [Usage Recommendation](#usage-recommendations) section.**
142
+
143
  <p align="center">
144
  <img width="80%" src="figures/benchmark.jpg">
145
  </p>
 
176
  </div>
177
 
178
  DeepSeek-R1-Zero & DeepSeek-R1 are trained based on DeepSeek-V3-Base.
179
+ For more details regarding the model architecture, please refer to [DeepSeek-V3](https://github.com/deepseek-ai/DeepSeek-V3) repository.
180
 
181
  ### DeepSeek-R1-Distill Models
182
 
 
275
  vllm serve deepseek-ai/DeepSeek-R1-Distill-Qwen-32B --tensor-parallel-size 2 --max-model-len 32768 --enforce-eager
276
  ```
277
 
278
+ You can also easily start a service using [SGLang](https://github.com/sgl-project/sglang)
279
+
280
+ ```bash
281
+ python3 -m sglang.launch_server --model deepseek-ai/DeepSeek-R1-Distill-Qwen-32B --trust-remote-code --tp 2
282
+ ```
283
+
284
+ ### Usage Recommendations
285
+
286
+ **We recommend adhering to the following configurations when utilizing the DeepSeek-R1 series models, including benchmarking, to achieve the expected performance:**
287
+
288
+ 1. Set the temperature within the range of 0.5-0.7 (0.6 is recommended) to prevent endless repetitions or incoherent outputs.
289
+ 2. **Avoid adding a system prompt; all instructions should be contained within the user prompt.**
290
+ 3. For mathematical problems, it is advisable to include a directive in your prompt such as: "Please reason step by step, and put your final answer within \boxed{}."
291
+ 4. When evaluating model performance, it is recommended to conduct multiple tests and average the results.
292
 
293
  ## 7. License
294
  This code repository and the model weights are licensed under the [MIT License](https://github.com/deepseek-ai/DeepSeek-R1/blob/main/LICENSE).
 
299
 
300
  ## 8. Citation
301
  ```
302
+ @misc{deepseekai2025deepseekr1incentivizingreasoningcapability,
303
+ title={DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning},
304
+ author={DeepSeek-AI and Daya Guo and Dejian Yang and Haowei Zhang and Junxiao Song and Ruoyu Zhang and Runxin Xu and Qihao Zhu and Shirong Ma and Peiyi Wang and Xiao Bi and Xiaokang Zhang and Xingkai Yu and Yu Wu and Z. F. Wu and Zhibin Gou and Zhihong Shao and Zhuoshu Li and Ziyi Gao and Aixin Liu and Bing Xue and Bingxuan Wang and Bochao Wu and Bei Feng and Chengda Lu and Chenggang Zhao and Chengqi Deng and Chenyu Zhang and Chong Ruan and Damai Dai and Deli Chen and Dongjie Ji and Erhang Li and Fangyun Lin and Fucong Dai and Fuli Luo and Guangbo Hao and Guanting Chen and Guowei Li and H. Zhang and Han Bao and Hanwei Xu and Haocheng Wang and Honghui Ding and Huajian Xin and Huazuo Gao and Hui Qu and Hui Li and Jianzhong Guo and Jiashi Li and Jiawei Wang and Jingchang Chen and Jingyang Yuan and Junjie Qiu and Junlong Li and J. L. Cai and Jiaqi Ni and Jian Liang and Jin Chen and Kai Dong and Kai Hu and Kaige Gao and Kang Guan and Kexin Huang and Kuai Yu and Lean Wang and Lecong Zhang and Liang Zhao and Litong Wang and Liyue Zhang and Lei Xu and Leyi Xia and Mingchuan Zhang and Minghua Zhang and Minghui Tang and Meng Li and Miaojun Wang and Mingming Li and Ning Tian and Panpan Huang and Peng Zhang and Qiancheng Wang and Qinyu Chen and Qiushi Du and Ruiqi Ge and Ruisong Zhang and Ruizhe Pan and Runji Wang and R. J. Chen and R. L. Jin and Ruyi Chen and Shanghao Lu and Shangyan Zhou and Shanhuang Chen and Shengfeng Ye and Shiyu Wang and Shuiping Yu and Shunfeng Zhou and Shuting Pan and S. S. Li and Shuang Zhou and Shaoqing Wu and Shengfeng Ye and Tao Yun and Tian Pei and Tianyu Sun and T. Wang and Wangding Zeng and Wanjia Zhao and Wen Liu and Wenfeng Liang and Wenjun Gao and Wenqin Yu and Wentao Zhang and W. L. Xiao and Wei An and Xiaodong Liu and Xiaohan Wang and Xiaokang Chen and Xiaotao Nie and Xin Cheng and Xin Liu and Xin Xie and Xingchao Liu and Xinyu Yang and Xinyuan Li and Xuecheng Su and Xuheng Lin and X. Q. Li and Xiangyue Jin and Xiaojin Shen and Xiaosha Chen and Xiaowen Sun and Xiaoxiang Wang and Xinnan Song and Xinyi Zhou and Xianzu Wang and Xinxia Shan and Y. K. Li and Y. Q. Wang and Y. X. Wei and Yang Zhang and Yanhong Xu and Yao Li and Yao Zhao and Yaofeng Sun and Yaohui Wang and Yi Yu and Yichao Zhang and Yifan Shi and Yiliang Xiong and Ying He and Yishi Piao and Yisong Wang and Yixuan Tan and Yiyang Ma and Yiyuan Liu and Yongqiang Guo and Yuan Ou and Yuduan Wang and Yue Gong and Yuheng Zou and Yujia He and Yunfan Xiong and Yuxiang Luo and Yuxiang You and Yuxuan Liu and Yuyang Zhou and Y. X. Zhu and Yanhong Xu and Yanping Huang and Yaohui Li and Yi Zheng and Yuchen Zhu and Yunxian Ma and Ying Tang and Yukun Zha and Yuting Yan and Z. Z. Ren and Zehui Ren and Zhangli Sha and Zhe Fu and Zhean Xu and Zhenda Xie and Zhengyan Zhang and Zhewen Hao and Zhicheng Ma and Zhigang Yan and Zhiyu Wu and Zihui Gu and Zijia Zhu and Zijun Liu and Zilin Li and Ziwei Xie and Ziyang Song and Zizheng Pan and Zhen Huang and Zhipeng Xu and Zhongyu Zhang and Zhen Zhang},
305
+ year={2025},
306
+ eprint={2501.12948},
307
+ archivePrefix={arXiv},
308
+ primaryClass={cs.CL},
309
+ url={https://arxiv.org/abs/2501.12948},
310
+ }
311
 
312
  ```
313
 
314
  ## 9. Contact
315
+ If you have any questions, please raise an issue or contact us at [[email protected]]([email protected]).