Sitemap
Level Up Coding

Coding tutorials and news. The developer homepage gitconnected.com && skilled.dev && levelup.dev

Press enter or click to view image in full size
Inspired by Erin Hanson Quote

Member-only story

Building DeepSeek R1 from Scratch Using Python

Architecture and Training step by step

35 min readFeb 17, 2025

--

Read this story for free: Link

The entire training process of DeepSeek R1 is nothing but using different way of reinforcement learning on top of their base model (i.e. deepseek V3)

Starting with a tiny base model that runs locally, we’ll build everything from scratch using DeepSeek R1 tech report while covering theory alongside each step.

Whether you are new to DeepSeek R1 or want to train your own model, this blog has you covered! 🚀

This article visually explains how DeepSeek R1 works, from start to finish. Read it here:

I simplify complex topics, you can follow me on Medium!

GitHub Code Overview

All the code shown in this blog is available in my GitHub repository:

--

--