Hugging Face researchers are working on creating a more transparent version of DeepSeek's AI 'reasoning' model

Just a week after DeepSeek unveiled its R1 'reasoning' AI model, causing quite a stir in the market, researchers at Hugging Face are embarking on a project to recreate the model from scratch with a focus on promoting open knowledge.

Leandro von Werra, head of research at Hugging Face, along with several company engineers, have initiated Open-R1, an endeavor aimed at replicating R1 and making all of its components open source, including the data used for training.

The decision to pursue this project was motivated by DeepSeek's approach of keeping its technology a 'black box.' While R1 is technically 'open' due to its permissive licensing, it lacks true openness as some of the tools used in its creation are not fully disclosed. This lack of transparency hinders replication and further research efforts. Therefore, the Open-R1 project seeks to unlock the full potential of the R1 model by making its architecture completely open source.

Challenges of Transparency

DeepSeek, a Chinese AI lab backed in part by a quantitative hedge fund, introduced R1 to the public last week. R1 has demonstrated impressive performance on various benchmarks, even surpassing OpenAI's o1 reasoning model in some aspects.

As a reasoning model, R1 incorporates self-fact-checking mechanisms that enhance its reliability in domains like physics, science, and math, albeit at the expense of a slightly longer processing time compared to non-reasoning models.

R1 gained significant attention after DeepSeek's chatbot app, powered by R1, surged to the top of the Apple App Store rankings. The rapid development and deployment of R1, shortly after OpenAI's release of o1, prompted debates among Wall Street analysts and technologists about the U.S.'s position in the AI competition.

Open-R1 is less concerned with national AI dominance and more focused on fully disclosing the methods behind model training. Without access to the training code or instructions, studying R1 in depth or influencing its behavior poses challenges. Control over the dataset and training process is crucial for deploying AI models responsibly, especially in sensitive areas, as it helps identify and address biases.

Steps toward Replication

The goal of the Open-R1 project is to replicate R1 within a few weeks, leveraging Hugging Face's Science Cluster, equipped with 768 Nvidia H100 GPUs.

Hugging Face's engineers plan to utilize the Science Cluster to generate datasets similar to those used by DeepSeek for training R1. They are seeking assistance from the AI and tech communities on Hugging Face and GitHub, where the Open-R1 project is hosted, to build a robust training pipeline.

Von Werra emphasized the importance of accurately implementing algorithms and recipes, highlighting that a collaborative community effort is key to tackling such challenges by bringing multiple perspectives to the table.

The Open-R1 project has already garnered significant interest, amassing 10,000 stars on GitHub within three days. These stars serve as indicators of community support and interest in a project.

If successful, the Open-R1 project could pave the way for the development of future open source reasoning models, building upon the replicated R1 training pipeline. Bakouch envisions not only a strong open source version of R1 but also a foundation for even more advanced models in the future.

Despite concerns about potential misuse of open source AI, Bakouch believes that the benefits outweigh the risks. He sees the replication of the R1 model as an opportunity for anyone with access to GPUs to create their own iterations, democratizing the technology. The push for openness in AI is seen as a positive shift in the field, breaking the notion that progress is limited to a few labs and that open source lags behind proprietary approaches.