Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A amatasys
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 51
    • Issues 51
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Annabelle Hoskin
  • amatasys
  • Issues
  • #11

Closed
Open
Created Feb 14, 2025 by Annabelle Hoskin@annabellei4450Maintainer

DeepSeek Open-Sources DeepSeek-R1 LLM with Performance Comparable To OpenAI's O1 Model


DeepSeek-R1, an LLM fine-tuned with support learning (RL) to improve thinking capability. DeepSeek-R1 attains results on par with OpenAI's o1 design on numerous benchmarks, consisting of MATH-500 and SWE-bench.

DeepSeek-R1 is based on DeepSeek-V3, a mixture of professionals (MoE) design recently open-sourced by DeepSeek. This base design is fine-tuned utilizing Group Relative Policy Optimization (GRPO), a reasoning-oriented variant of RL. The research group likewise performed understanding distillation from DeepSeek-R1 to open-source Qwen and Llama models and launched numerous variations of each; these models outshine bigger designs, consisting of GPT-4, on math and coding benchmarks.

[DeepSeek-R1 is] the initial step toward enhancing language design reasoning abilities using pure reinforcement learning (RL). Our objective is to explore the capacity of LLMs to develop thinking capabilities without any monitored information, focusing on their self-evolution through a pure RL process...DeepSeek-R1 ... master a large variety of jobs, including innovative writing, general question answering, modifying, summarization, and more. Additionally, DeepSeek-R1 shows impressive performance on jobs requiring long-context understanding, significantly outshining DeepSeek-V3 on long-context standards.

To establish the design, DeepSeek started with DeepSeek-V3 as a base. They initially attempted fine-tuning it just with RL, and without any monitored fine-tuning (SFT), producing a design called DeepSeek-R1-Zero, which they have actually likewise released. This design shows strong reasoning performance, but" powerful reasoning behaviors, it faces numerous problems. For example, DeepSeek-R1-Zero has problem with difficulties like poor readability and language blending."

To resolve this, the team utilized a short stage of SFT to prevent the "cold start" problem of RL. They gathered numerous thousand examples of chain-of-thought thinking to utilize in SFT of DeepSeek-V3 before running RL. After the RL process converged, they then gathered more SFT information utilizing rejection sampling, pipewiki.org resulting in a dataset of 800k samples. This dataset was used for additional fine-tuning and to produce the distilled models from Llama and Qwen.

DeepSeek evaluated their model on a range of thinking, math, and coding benchmarks and compared it to other models, consisting of Claude-3.5- Sonnet, GPT-4o, and o1. DeepSeek-R1 surpassed all of them on numerous of the benchmarks, consisting of AIME 2024 and MATH-500.

DeepSeek-R1 Performance. Image Source: DeepSeek-R1 Technical Report

Within a couple of days of its release, the LMArena announced that DeepSeek-R1 was ranked # 3 overall in the arena and # 1 in coding and mathematics. It was likewise connected for # 1 with o1 in "Hard Prompt with Style Control" category.

Django framework co-creator Simon Willison discussed his experiments with among the DeepSeek distilled Llama models on his blog site:

Each action starts with a ... pseudo-XML tag containing the chain of idea used to assist produce the reaction. [Given the prompt] "a joke about a pelican and a walrus who run a tea room together" ... It then thought for 20 paragraphs before outputting the joke! ... [T] he joke is terrible. But the procedure of arriving was such a fascinating insight into how these new designs work.

Andrew Ng's newsletter The Batch blogged about DeepSeek-R1:

DeepSeek is rapidly emerging as a strong home builder of open models. Not just are these models great entertainers, but their license permits usage of their outputs for distillation, potentially pressing forward the cutting-edge for language models (and multimodal designs) of all sizes.

The DeepSeek-R1 models are available on HuggingFace.

About the Author

Anthony Alford

Rate this Article

This material remains in the AI, ML & Data Engineering subject

Related Topics:

- AI, ML & Data Engineering

  • Generative AI
  • Large language models

    - Related Editorial

    Related Sponsored Content

    - [eBook] Starting with Azure Kubernetes Service

    Related Sponsor

    Free services for AI apps. Are you prepared to try out cutting-edge innovations? You can start constructing smart apps with totally free Azure app, information, and AI services to minimize in advance costs. Learn More.

    How could we enhance? Take the InfoQ reader survey

    Each year, we seek feedback from our readers to assist us improve InfoQ. Would you mind spending 2 minutes to share your feedback in our short survey? Your feedback will straight assist us continuously evolve how we support you. The InfoQ Team Take the survey

    Related Content

    The InfoQ Newsletter

    A round-up of recently's content on InfoQ sent every Tuesday. Join a neighborhood of over 250,000 senior developers.
Assignee
Assign to
Time tracking