DeepSeekMath: Pushing the Limits of Mathematical Reasoning
DeepSeekMath is a groundbreaking model that aims to push the boundaries of mathematical reasoning in language models. Trained on a massive dataset of 500B tokens, including Common Crawl math-related tokens and natural language and code data, DeepSeekMath 7B outperforms other open-source models, achieving a score of 51.7% on the MATH benchmark without the aid of external toolkits or voting techniques. This remarkable performance is comparable to that of Gemini-Ultra and GPT-4.
To further explore the mathematical capabilities of DeepSeekMath, researchers have released separate checkpoints for the base, instruct, and RL models to the public. The base model, DeepSeekMath-Base 7B, demonstrates strong self-contained mathematical solution generation without relying on external tools. The instruct model, DeepSeekMath-Instruct 7B, builds upon the base model by incorporating a mathematically guided tuning process.
Meanwhile, the RL model, DeepSeekMath-RL 7B, leverages a novel Group Relative Policy Optimization (GRPO) algorithm.
The evaluation of DeepSeekMath's performance was conducted across four quantitative reasoning benchmarks in both English and Chinese, both with and without the use of tools. The results highlight the model's ability to produce step-by-step reasoning, with DeepSeekMath-Instruct 7B showcasing excellent performance. Moreover, DeepSeekMath-RL 7B achieves an impressive accuracy of 60% on the MATH benchmark with tool use, surpassing all existing open-source models.
To support a diverse range of research within the academic and commercial communities, DeepSeekMath 7B (including base, instruct, and RL models) is now available for public use. The model is licensed under the MIT License, permitting commercial use with the terms outlined in the License section. Huggingface's Transformers can be utilized for model inference, and users are encouraged to follow the provided sample template for interaction.
Messages should be replaced with user input, and the system prompt is not recommended for compatibility with the current model version.
For further information, users can refer to the Model License, which outlines permissions and restrictions, as well as the LICENSE-CODE and LICENSE-MODEL documents for additional details. Should any questions arise, users are encouraged to raise an issue or contact the DeepSeek team at service@deepseek.com.
Rewritten by urgent.news; may contain errors — check the original.
Source: github.com