cd /news/artificial-intelligence/reasoning-models-from-scratch-code-s… · home topics artificial-intelligence article
[ARTICLE · art-115848] src=sebastianraschka.com ↗ pub= topic=artificial-intelligence verified=true sentiment=· neutral

Reasoning Models From Scratch: Code Setup

Sebastian Raschka published a video and accompanying note explaining how to set up the Python and PyTorch environment for building a reasoning model from scratch, using the `uv` package manager. The video clarifies the relationship between conventional LLMs, reasoning models, and agents, and discusses the philosophy of 'from scratch' approaches. It is part of a series on building reasoning models from scratch.

read1 min views1 publishedAug 30, 2026
Reasoning Models From Scratch: Code Setup
Image: Sebastianraschka (auto-discovered)

A little video that

  • explains the relationship between conventional LLMs and reasoning models (and agents),
  • philosophizes about “from scratch” approaches,
  • and explains how to install the Python and PyTorch requirements with uv

.

The video is here: [Build A Reasoning Model From Scratch #1: Motivation & Code Setup](https://www.youtube.com/watch?v=Kh9mqTzjuEQ).

Source: website version of my [Substack note](https://substack.com/@rasbt/note/c-325854620).

Two Live Book Club Q&As on September 3 Two free live book club Q&A sessions on September 3 about Build a Reasoning Model From Scratch and related reader questions.

GLM-5.3-Flash Architecture Notes Architecture note on GLM-5.3-Flash, formerly Ox Alpha, covering its KDA and MLA/DSA hybrid attention, sparse MoE backbone, and four-stream mHC residual pat

How Claude's Text Watermarking Works Short illustration of how Claude's text watermarking is supposed to work based on Anthropic's released materials.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @sebastian raschka 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/reasoning-models-fro…] indexed:0 read:1min 2026-08-30 ·